Name

column

Synopsis

column [options] [files]

Formats input from one or more files into columns, filling rows first. Reads from standard input if no files are specified. Checks the COLUMNS environment variable for the current terminal width if necessary.

Options

-c num

Format output into num columns.

-s char

Delimit table columns with char. Meaningful only with -t.

-t

Format input into a table. Delimit with whitespace, unless an alternate delimiter has been provided with -s.

-x

Fill columns before filling rows.

Get Mac OS X Tiger in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.