News for hackers. Stuff that matters.
Re:Perl, the first postmodern computer language (1999) by throwaway2037 on Wednesday May 04, 2022 @10:49PM (#31268797)
I don't write any Perl scripts these days, but I still use Perl one-liners frequently at a Bash command prompt and in Bash shell scripts.

Example: Convert Windows newlines to UNIX newlines: $ ... | perl -p -e 's/\r\n/\n/g' | ...

My brain is too full to remember how to do similar regexy transformations using sed, but I know it can be done.

There are no comments on this comment yet.