Hi,

>> for file in /etc/*; do
>>   perl -pi -e "s/12.34.56.78/23.34.45.56/ $file;"
>> done
>   ^^^ wouldn't be *QUITE* right ;)
> 
> the $file should be in a seperate set of "", so perl -pi -e
> "s/12.34.56.78/23.34.45.56/sg;" "$file"

sure. untested, as I said :-)

Mike


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to