macOS / binaries /

rs

/usr/bin/rs
Reshape a data array

The rs utility reads the standard input, interpreting each line as a row of blank-separated entries in an array, transforms the array according to the options, and writes it on the standard output.

source: man