From info-cyrus Fri Aug 30 18:34:30 2002 From: Michael Fair Date: Fri, 30 Aug 2002 18:34:30 +0000 To: info-cyrus Subject: Re: SASL/LDAP re-entrancy problem(?) on Debian 3.0 X-MARC-Message: https://marc.info/?l=info-cyrus&m=103073295403129 > 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 --