To prevent unwanted disaster I suggest the first step should be to rename the file file.txt -> file.txt.bak. Then read this .bak file and write out the new file, that way you retain the original in case you accidentally destroy the data, which is easy enough to do.
In reply to Re^3: output can be displayed in screen, but not in output file
by tachyon-II
in thread output can be displayed in screen, but not in output file
by happyrainb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |