in reply to Re: sed in perl: syntax error at script.pl line 19, near “;$'”
in thread sed in perl: syntax error at script.pl line 19, near “;$'”

The “shell-script one-liner,” in all its various forms, is not only highly-overrated but virtually unmaintainable over time.

I disagree with this, although I broadly agree with the rest of what you said. I am using very commonly "one-liners", Perl or sed or awk or grep or cut or other (mostly Perl), to pre-process big files and get the right input format for my real programs. One-liners can be a bless of God.

  • Comment on Re^2: sed in perl: syntax error at script.pl line 19, near “;$'”