No good. Those replace the trailing newline with a "/". If that was desirable, the following would suffice:
perl -pl57e"s/^line\d+=//" infile > outfile
In reply to Re^3: how to delete part of the line?
by ikegami
in thread how to delete part of the line?
by yskmonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |