HackerTrans
TopNewTrendsCommentsPastAskShowJobs

joepvd

no profile record

comments

joepvd
·3 anni fa·discuss
awk is amazing. One pattern I often use is:

$ query_something | awk 'generate commands' | sh

For larger programs, I wrote and use ngetopt.awk: https://github.com/joepvd/ngetopt.awk. This is a loadable library for gawk that lets you add option parsing for programs.