The trick to understanding awk in all its terse glory is to understand its defaults. I made a screencast explaining how awk works by deconstructing a script I’d previously written for this blog 1. In this post we’ll look at deconstructing awk’s defaults so we can understand all those one-liner scripts stack overflow solutions throw your way. The example I have a file that contains the version info for my apps and I’d like to extract the first version number in there: // appVersion.gra...