this post was submitted on 18 Feb 2025
16 points (100.0% liked)
Linux
6174 readers
288 users here now
A community for everything relating to the GNU/Linux operating system
Also check out:
Original icon base courtesy of [email protected] and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.