suggestion to run Macros with a large number of html files
I have hundred of pages in a server. Html pages for sure, want to execute some Macros to find and replace all the headers, includes with another block of code.
What do you suggest? i have read some people recommends python.
I can run the script 开发者_如何学运维in localhost with php or python.
Thanks !
Use find and replace(-all) in your HTML editor.
You can do this with Perl. Search and replace across many files with a perl one-liner.
perl -pi -e 's/about news\.$/about selling advertising space\./' file*
精彩评论