Anonymous user
Globally replace text in several files: Difference between revisions
Globally replace text in several files (view source)
Revision as of 21:20, 16 January 2013
, 11 years ago→version 1: added a comment in the section header about filename specification. -- ~~~~
m (→Version 1: changed comments and indentation, added whitespace, simplified the program, made the (hdr) eyecatcher better. -- ~~~~) |
m (→version 1: added a comment in the section header about filename specification. -- ~~~~) |
||
Line 651:
===version 1===
This example works under "DOS" and/or "DOS" under Microsoft Windows.
<br><br>Filenames that contain blanks should have their blanks replaced with commas.
<lang rexx>/*REXX program to read the files specified and globally replace a string*/
old = 'Goodbye London!' /*old text to be replaced. */
|