[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Howto search and replace...



> Howto search and replace for a pattern over all system files ?
> 
try a perl-expression. 
find / '!' -type d -exec perl -e "s/foo/bar/baz" '{}' ';'
this is definitely not ready-to-run, but it's a good point to start 
from. look at the perl man page.


-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Linux - the last service pack you'll ever need.



Reply to: