List of awk Resources


In my journey to make an examples-based user-friendly awk the series (as a pair of sed the series). It’s because finding user-friendly practical examples of awk is difficult. (my favorite so far) (Part 1-6) (Part 1-3, Daniel Robbins) (Folkstalk was my only inspiration to write sed the series; Folkstalk successfully convinced me that trying sed is easy) (my first time was sedoneliners but this one is very similar) (Part 1-3; I just found tonight and it’s very good) (this article inspired catonmat’s one)


awk Rearrange Horizontal Words to A Vertical List


4 April 2017

cat moka.txt | sed -n ‘/Install:/p’ | sed ‘s/([^)]*)//g’ | sed ‘s/:amd64[ ,]//g’ | awk ‘BEGIN{FS=” “}{for(i=1;i<=NF;i++)print $i}’
Warning, it’s still not perfect!