in reply to Problem with deleting the first n characters on a line
The quick 'n' easy way: open up a second file for output. Loop through the entire input file, changing lines as necessary before printing them to the output file. At the end, remove the original and rename your output file to the original's filename.
|
|---|