minimum-width columnation of input lines, row- or column-major order, toy awk implementation