This is a bit of a dark corner of awk. This beast is string concatenation. There is a classical example in the awk FAQ number 28: $ awk 'BEGIN { print 6 " " -22 }' 6-22 Where did the space go? First, " " -22 is evaluated, in numeric context, yielding 0-22 = -22. […]
Archive of posts filed under the shell category.
On pipes, subshells and descriptors
When small differences in implementation bite you.
Smart ranges in awk, part two
Another variation on the theme
Removing newlines in text files
A task that comes up every so often, for some reason
CentOS network install behind a proxy
Some messing about and voila'.