Re:Useful Perl one-liners (2013)
by JadeNB on Tuesday November 29, 2016 @01:26PM
(#13065002)
As the URL (but not, sadly, the website itself) suggests, you're exhausting yourself with all that negativity; you can remove two '-'s (as well as two ' 's), and get a much tastier command line:
[ Parent
| on HN ]
Re:Useful Perl one-liners (2013)
by pre_action on Tuesday November 29, 2016 @06:38PM
(#13067194)
The 'e' character is seen as an argument to the '-i' switch, meaning this command line will yield `Can't open perl script "s/foo/bar/gi": No such file or directory`