macOS / binaries /

col

/usr/bin/col
Filter reverse line feeds from input

The col utility filters out reverse (and half reverse) line feeds so that the output is in the correct order with only forward and half forward line feeds, and replaces white-space characters with tabs where possible.

source: man