column flags & options

-t, --table

Create a table from whitespace-delimited input.

mount | column -t
cat data.txt | column -t

-s, --separator

Set the input delimiter.

column -t -s: /etc/passwd
column -t -s, data.csv

-o, --output-separator

Set the output column separator.

column -t -s: -o '  |  ' /etc/passwd

-N, --table-columns

Set column names (header row).

column -t -s, -N "Name,Age,City" data.csv

-J, --json

Output as JSON.

column -t -s, -N "name,age" -J data.csv

-R, --table-right

Right-align specific columns.

column -t -s, -N "Item,Price" -R Price data.csv

-H, --table-hide

Hide specific columns from output.

column -t -s: -N "user,pass,uid,gid,info,home,shell" -H pass /etc/passwd

Fill columns

Format a list into multiple columns (default behavior without -t).

ls /usr/bin | column