News for hackers. Stuff that matters.
Re:The Awk Programming Language (1988) [pdf] by asicsp on Thursday May 24, 2018 @12:35AM (#17141125)
one-liners are fun though, especially if you like code golfing..

if you're interested, you could give my tutorial(https://github.com/learnbyexample/Command-line-text-processi...) a try

it has over 300 examples..

Re:The Awk Programming Language (1988) [pdf] by natecavanaugh on Thursday May 24, 2018 @01:47AM (#17141395)
I gotta say, I really enjoyed skimming through this, and saving it for future reference. I can already tell there are some basic things that I should've memorized with all the one liners I've used, but because most were cobbled together for the immediate task (and many online forum searches assume a lot of prior knowledge), so t this presentation, and cookbook style references really help me hold the practical benefits in memory alot longer, so thanks again!
Re:The Awk Programming Language (1988) [pdf] by asicsp on Thursday May 24, 2018 @02:42AM (#17141583)
thanks, that means a lot to me :)

if you are interested in text processing in general, do check the other chapters for grep/sed/perl/sort/paste/pr/etc

I learned a lot writing them up and marvel at the speed and functionality provided by these tools.. for many cases, it is lot easier to write a bash script combining these tools than to write a Perl/Python/Ruby script..

Re:The Awk Programming Language (1988) [pdf] by xpil on Thursday May 24, 2018 @06:47AM (#17142749)
Ahh, what a useful link! Bookmarking immediately. I use AWK like once a year but when I do, I usually struggle a lot. Your examples are really helpful!
Re:The Awk Programming Language (1988) [pdf] by asicsp on Thursday May 24, 2018 @07:43AM (#17143021)
thanks, it's a reference for me as well - not easy to remember all the features and tricks
Re:The Awk Programming Language (1988) [pdf] by ageofwant on Thursday May 24, 2018 @01:45AM (#17141389)
Thanks for that mate. I'm a regular customer your work is greatly appreciated.
Re:The Awk Programming Language (1988) [pdf] by asicsp on Thursday May 24, 2018 @02:44AM (#17141587)
thanks for the feedback :) happy learning