3 ms·
Another option is `pr` command: $ seq 15 | pr -3ts 1 6 11 2 7 12 3 8 13 4 9 14 5
by asicsp 4y ago
Another option is `pr` command:
$ seq 15 | pr -3ts
1 6 11
2 7 12
3 8 13
4 9 14
5 10 15
$ seq 15 | pr -3ats
1 2 3
4 5 6
7 8 9
10 11 12
13 14 15
One difference is that you'll need `6` instead of `14` for the example in the article. The `-j` option of `rs` is cool.