3 ms·
My most common use of Perl: $ someCommandChain | perl -pe 's/because sed regex sucks/' Maybe I could spend some time learning a new regex dialect to avoi
by trezor 17y ago
My most common use of Perl:
$ someCommandChain | perl -pe 's/because sed regex sucks/'
Maybe I could spend some time learning a new regex dialect to avoid perl entirely, but for the time being this works for me.
- jrockway 17y agoMaybe I could spend some time learning a new regex dialect to avoid perl entirely You should also cut off your nose. It would totally spite your face!
- jsrn 17y ago> $ someCommandChain | perl -pe 's/because sed regex sucks/' > > Maybe I could spend some time learning a new regex dialect Maybe you should first learn the Perl regex dialect (the above regex doesn't parse in Perl).
- trezor 17y agoIf it wasn't obvious I just intended to write something informative in there, and couldn't come up with a clever substitution expression that would fit the sentence.