in reply to Replace and substitur in same file
Hi,
Open the source file, checking for success.
Open a destination file, checking for success.
Read source file line by line, make substitutions, write to destination file.
Close files for neatness ( OCD, I can't help myself ).
Check for success everywhere you can.
Start EVERY program with strictures. For at least the next 5 years.
J.C.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Replace and substitur in same file
by GrandFather (Saint) on Jun 21, 2017 at 09:44 UTC | |
by tobyink (Canon) on Jun 21, 2017 at 11:44 UTC |