Sponsored Links

Maxabout.com > Tips

Substituting Strings In Many Files

Added on:8/22/2008 12:33:22 AM
In Linux Tips
 Rated by 1 users


  1. Substituting strings in many files
    perl -pi.bak -e 's/OLDSTING/NEWSTRING/g' FILELIST

  2. # attention: to match words only, use s/\bOLDSTRING\b/NEWSTRING/g


Sponsored Links
Tools
Bookmark/Discuss