Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Perl, the first postmodern computer language (1999). Parent comment
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.
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.