[prev in list] [next in list] [prev in thread] [next in thread] 

List:       info-cyrus
Subject:    Re: SASL/LDAP re-entrancy problem(?) on Debian 3.0
From:       Michael Fair <michael () daclubhouse ! net>
Date:       2002-08-30 18:34:30
[Download RAW message or body]

> 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 --

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic