4 ms·
Consider adding zsh and Perl to your toolbelt. Many scripting languages are just as powerful as Perl, but I don't know of anything that has equivalent capabil
by daotoad 6y ago
Consider adding zsh and Perl to your toolbelt. Many scripting languages are just as powerful as Perl, but I don't know of anything that has equivalent capability for quick work on the CLI. Check out how the `-pi -E` switches work, for an example: https://perldoc.perl.org/perlrun#-i%5Bextension%5D https://perldoc.perl.org/perlrun#-i%5Bextension%5D
Also, jq is amazing and is basically sed for json data.
- minxomat 6y agojq can be used even for a lot more advanced analytics (e.g. https://gist.github.com/turbo/36e87947a56cfaacec9d0356b3e521ba https://gist.github.com/turbo/36e87947a56cfaacec9d0356b3e521...) Also xidel is a tool everyone should know.