by IceWreck · 4y ago · 0 comments
The amount of time I spent on getting all that working is probably a lot less than waiting a few extra seconds on a python script I run every few days so…
Maybe a nice middle ground would be for more language runtimes to have an equivalent to perl's `-p` flag. https://perldoc.perl.org/perlrun#-p
This flag is so convenient that I mostly use `perl -pe` instead of `sed` for regex search-and-replace.