This is not so much grep's area of application, as it does the finding, but not the (pretty much inseparable) replacing.

One example is my "rep" script, which does just this using Perl:

http://rrt.sc3d.org/Software/Miscellaneous%20utilities

(I'm just copying this to the list so others can see I've replied; probably better keep replies to this post off-list unless they actually involve grep!)


Reply via email to