On Thursday, December 18, 2003, at 02:50 PM, Chris Cox wrote:
> find / -type f -exec perl -pi -e 's/Linux/GNU Linux/g' {} \;
For that many files, using xargs would probably be faster:
find / -type f -print0 |
xargs -0 perl -pi -e 's/(?<!GNU\/)linux\b/GNU\/$&/ig
Regards,
- Robert