Skip Navigation
76 comments
  • Hey I throw a /^regexp.*/ {print $NF} in there sometimes!

    ...but yes, it's mostly print $1—but only because I mix up the parameters whenever I try to use cut!

  • I think the most I've done with awk is write a battery monitor applet with it, it involved parsing data from /sys and making choices based on it so I decided it was a decent choice

76 comments