Hacker News new | ask | show | jobs
by anthk 2702 days ago
awk can do all of that except sed. And I am not sure about the last. No need to wc ($NF in AWK, if I can recall), no need for grep, you have the /match/ statement, with regex too.
1 comments

> except sed

Doesn't gsub(/a/, "b") do the same thing as s/a/b/g?

Yes, I recall it hours ago.