Calling out to sed from perl is pretty carrying-coal-to-Newcastle. Just open the old file, open the output, loop over the old lines using the same substitution, and print to the output file.
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: sed deleting file
by Fletch
in thread sed deleting file
by ddrew78
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |