Sweeping Directories
dattaway at attaway.net
dattaway at attaway.net
Thu Jul 18 21:19:25 CDT 2002
On Thu, 18 Jul 2002, Jonathan Hutchins wrote:
> I need to sweep a sed command through a directory tree (web site) and change
> the original files. Any suggestions on a script approach?
Here's sed with his friend find:
To print lines 10 and 15 in all files in a tree
find . -exec sed -n '10,15p' {} ;
Why drive a car when you can ride a bike?
http://attaway.net http://counter.li.org user #142150
More information about the Kclug
mailing list