in reply to Editing text file
Open the file and a new file. Read the original file line by line. If the line starts with '+', remove the plus and the newline and accumulate it. If the line doesn't start with '+', print any accumulated lines and the current line to the new file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Editing text file
by choroba (Cardinal) on Jun 18, 2013 at 12:24 UTC |