allywilson, 1 year ago I don’t tend to use awk in scripts as I do tend to do them in Python, but I do use awk on almost daily basis in one-liners. Probably the most common thing for me is so I can read a config file without annoying comments and big line spaces. grep -v “^#” krb5.conf | awk NF
I don’t tend to use awk in scripts as I do tend to do them in Python, but I do use awk on almost daily basis in one-liners.
Probably the most common thing for me is so I can read a config file without annoying comments and big line spaces.
grep -v “^#” krb5.conf | awk NF