News for hackers. Stuff that matters.
Re:How to Clean Text Data at the Command Line by mellow-lake-day on Sunday October 18, 2020 @05:17AM (#24816512)
Speaking of AWK, is there a more succinct version of the AWK programming language book that I can use for learning?

https://ia802309.us.archive.org/25/items/pdfy-MgN0H1joIoDVoI...

Re:How to Clean Text Data at the Command Line by asicsp on Sunday October 18, 2020 @05:49AM (#24816656)
I wrote a book on GNU awk one-liners: https://learnbyexample.github.io/learn_gnuawk/

There's plenty of examples and exercises, plus an entire chapter dedicated to regular expressions.

Re:How to Clean Text Data at the Command Line by boneitis on Sunday October 18, 2020 @11:58AM (#24818787)
On mobile; pardon the link format.

https://m.youtube.com/watch?v=43BNFcOdBlY

In an afternoon, you can learn enough to be more than dangerous.

The presenter drafted up a set of (easy, yet practical) companion exercises and a pt2 video with his own answers. I cannot recommend this talk enough.

Although I hadn't the opportunity to put the knowledge to use and have since forgotten it (i don't work in tech), i find comfort in knowing i can reacquire the power of awk even sooner than the already-short first time around.

Re:How to Clean Text Data at the Command Line by dredmorbius on Sunday October 18, 2020 @07:11AM (#24816989)
GNU AWK User's Guide is reasonably succinct, while being fairly comprehensive.

https://www.gnu.org/software/gawk/manual/gawk.html

The manpage alone is quite useful, though lacks some useful details.

The awk FAQ provides general background, including diffeerences between implementations:

http://www.faqs.org/faqs/computer-lang/awk/faq/

Re:How to Clean Text Data at the Command Line by sn41 on Sunday October 18, 2020 @05:28AM (#24816579)
You can use the notes of Bruce Barnett for quick lookups:

https://www.grymoire.com/Unix/Awk.html