News for hackers. Stuff that matters.
Re:Fascination of Awk by mturmon on Friday March 24, 2023 @11:21AM (#35290225)
This can be a very powerful idiom (basically, code generation at the shell prompt).

It’s well suited to iterative composition of the commands: I’ll write the query/find part, and (with ctrl P) add the awk manipulations, and then pipe to sh.

If it doesn’t have side effects you can pass through “head” before “sh” to check syntax on a subset.

There are no comments on this comment yet.