print $line;prints $line to STDOUT, not to the file. You need to specify the filehandle name in the print statement, for example,
print FIL $line;.
In reply to Re: substitution in files
by hilitai
in thread substitution
by Kelicula
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |