column

Format standard input or file into multiple columns. Rows are…

column

Format standard input or file into multiple columns. Rows are filled before columns; default separator is whitespace.

printf "header1 header2\nbar foo\n" | column -c {{30}}

printf "header1,header2\nbar,foo\n" | column -s{{,}}

printf "header1 header2\nbar foo\n" | column -t

printf "header1\nbar\nfoobar\n" | column -c {{30}} -x

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← colorpicker comby →