fork download
  1. echo '11 12 13 14
  2. 21 22 23 24
  3. 31 32 33 34' |
  4. awk '{ for (i=1; i<=NF; i++) print i, NR, $i}' |
  5. sort -n |
  6. awk ' NR>1 && $2==1 { print "" }; { printf "%s ", $3 }; END { print "" }'
Success #stdin #stdout 0s 5832KB
stdin
Standard input is empty
stdout
11 21 31 
12 22 32 
13 23 33 
14 24 34