unix pipes are multidimensional via fifo.
I have done like follows when I want a poor mans &quot;GROUP BY&quot;<p>mkfifo p1
cat data |
tee p1 |
awk &#x27;{print $5}&#x27; |
sort |
uniq -c |
join -1 5 -2 1 -o 1.1,2,2.1,1.2,2.2,2.3 - p1