Get best price on Unlocked Moto G Stylus | ||||||||||||
|
||||||||||||
|
Perl : Search and Replacemksr November 2000 mksr.pl is a script which allows you to search for and replace a string in multiple files. I am pretty sure there is probably already a UNIX tool to do this, but it was easier for me to roll my own then look up how to do it every time. Usage:
mksr [find] [replace] [file]
File can be any filename or to use wildcards leave off the * and use just the ".ext" For example to search and replace all NAME with NEWNAME in
all html files in current directory. (recurse not implemented yet)
mksr NAME NEWNAME .html
Download Script: mksr_pl.txt Related Links: web blazonry Regular Expressions Article
|
privacy policy || © 1997-2016. astonishinc.com All Rights Reserved. |