- cross-posted to:
- linux@lemmy.ml
- cross-posted to:
- linux@lemmy.ml
You must log in or # to comment.
awk is in a strange position between simple grep commands and full-featured Python programs. It’s powerful but too domain-specific, and if you learned how to write multiline sed scripts you don’t need awk anymore.
And yes, you can do
python -e “…”
for (really long) Python one-liners.