An unfortunate problem with using awk: there are three different versions of awk, and it is frighteningly easy to use a feature that exists on one but not other.
(source: I have written unit tests against different versions of awk. That was... unpleasant.)
(source: I have written unit tests against different versions of awk. That was... unpleasant.)