SASL/LDAP re-entrancy problem(?) on Debian 3.0

Michael Fair michael at daclubhouse.net
Fri Aug 30 14:34:30 EDT 2002


> This is what I do:
> perl -i.bk -pe
's/\/etc\/(imapd|cyrus)\.conf/\/usr\/local\/etc\/$1\.conf/g' `egrep -il
'\/etc\/(imapd|cyrus)\.conf' */* */*/*`

Just as a reminder, the / separator character is optional
in perl and can be replaced with any other character.

Equivalent, but a just more readable is something like:
perl -i.bk -pe 's#/etc/(imapd|cyrus)\.conf#/usr/local/etc/$1\.conf#g'
`egrep -il '/etc/(imapd|cyrus)\.conf' */* */*/*`

-- Michael --





More information about the Info-cyrus mailing list