Paul M Foster wrote:
> Folks:
>
> Anyone know of a nifty tool which will do a global search and replace
> of text inside a bunch of files, all at once?
find / -type f -exec perl -pi -e 's/somestring/someotherstring/g' {} \;
or something more complex?
- Ian C. Blenke <ian@blenke.com> <icblenke@nks.net> http://ian.blenke.com/
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:27:55 EDT