Skip to content
Archive of entries posted in the year 2010

Print lines in reverse order

Some silly ways to print lines in reverse order

Joining files with awk

Join lines from files based on keys

DNSSEC verification with dig

Perform DNSSEC verification from the command line.

Awk pitfall: string concatenation

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. […]

On pipes, subshells and descriptors

When small differences in implementation bite you.