in reply to Re^2: how to delete part of the line?in thread how to delete part of the line?
No good. Those replace the trailing newline with a "/". If that was desirable, the following would suffice:
perl -pl57e"s/^line\d+=//" infile > outfile [download]