Comment Comment by jiehong The reasons outlined for not using Perl actually all apply to purl as well, except maybe "not just for one-liners".But perl allows one-liners to emulate grep (filter and exclude) and sed (replace): perl -p -e 's/FROM/HELLO/' # replace perl -n -e 'print if /FROM/' # filter perl -n -e 'print if not /FROM/' # exclude parent jiehong 2 years ago
But perl allows one-liners to emulate grep (filter and exclude) and sed (replace):