201 lines
3.3 KiB
HTML
201 lines
3.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of COLUMN</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>COLUMN</H1>
|
|
Section: User Commands (1)<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
<BR>BSD mandoc<BR>
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
|
|
|
|
<B>column</B>
|
|
|
|
- columnate lists
|
|
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B></B>
|
|
|
|
|
|
[-<B>entx</B>
|
|
|
|
]
|
|
|
|
[-<B>c </B><I>columns</I>
|
|
|
|
|
|
|
|
]
|
|
|
|
[-<B>s </B><I>sep</I>
|
|
|
|
|
|
|
|
]
|
|
|
|
[<I>file ...</I>
|
|
|
|
]
|
|
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
The
|
|
<B></B>
|
|
|
|
|
|
utility formats its input into multiple columns.
|
|
Rows are filled before columns.
|
|
Input is taken from
|
|
<I>file</I>
|
|
|
|
operands, or, by default, from the standard input.
|
|
Empty lines are ignored unless the
|
|
-<B>e</B>
|
|
|
|
option is used.
|
|
<P>
|
|
|
|
The options are as follows:
|
|
<DL COMPACT>
|
|
<P>
|
|
|
|
<DT id="1"><B>-c</B>
|
|
|
|
|
|
<DD>
|
|
Output is formatted for a display
|
|
<I>columns</I>
|
|
|
|
wide.
|
|
<DT id="2"><B>-s</B>
|
|
|
|
|
|
<DD>
|
|
Specify a set of characters to be used to delimit columns for the
|
|
-<B>t</B>
|
|
|
|
option.
|
|
<DT id="3"><B>-t</B>
|
|
|
|
|
|
<DD>
|
|
Determine the number of columns the input contains and create a table.
|
|
Columns are delimited with whitespace, by default, or with the characters
|
|
supplied using the
|
|
-<B>s</B>
|
|
|
|
option.
|
|
Useful for pretty-printing displays.
|
|
<DT id="4"><B>-x</B>
|
|
|
|
|
|
<DD>
|
|
Fill columns before filling rows.
|
|
<DT id="5"><B>-n</B>
|
|
|
|
|
|
<DD>
|
|
By default, the column command will merge multiple adjacent delimiters into a
|
|
single delimiter when using the
|
|
-<B>t</B>
|
|
|
|
option; this option disables that behavior. This option is a Debian GNU/Linux extension.
|
|
<DT id="6"><B>-e</B>
|
|
|
|
|
|
<DD>
|
|
Do not ignore empty lines.
|
|
</DL>
|
|
<P>
|
|
|
|
<A NAME="lbAE"> </A>
|
|
<H2>ENVIRONMENT</H2>
|
|
|
|
The
|
|
<B>COLUMNS , LANG , LC_ALL</B>
|
|
|
|
and
|
|
<B>LC_CTYPE</B>
|
|
|
|
environment variables affect the execution of
|
|
<B></B>
|
|
|
|
|
|
as described in
|
|
<A HREF="/cgi-bin/man/man2html?7+environ">environ</A>(7).
|
|
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>EXIT STATUS</H2>
|
|
|
|
Ex -std
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>EXAMPLES</H2>
|
|
|
|
|
|
<BLOCKQUOTE><TT>(printf "PERM LINKS OWNER GROUP SIZE MONTH DAY " ; \</TT></BLOCKQUOTE>
|
|
|
|
<BLOCKQUOTE><TT>printf "HH:MM/YEAR NAME\n" ; \</TT></BLOCKQUOTE>
|
|
|
|
<BLOCKQUOTE><TT>ls -l | sed 1d) | column -t</TT></BLOCKQUOTE>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<A HREF="/cgi-bin/man/man2html?1+colrm">colrm</A>(1),
|
|
|
|
|
|
<A HREF="/cgi-bin/man/man2html?1+ls">ls</A>(1),
|
|
|
|
|
|
<A HREF="/cgi-bin/man/man2html?1+paste">paste</A>(1),
|
|
|
|
|
|
<A HREF="/cgi-bin/man/man2html?1+sort">sort</A>(1)
|
|
|
|
|
|
<A NAME="lbAI"> </A>
|
|
<H2>HISTORY</H2>
|
|
|
|
The
|
|
<B></B>
|
|
|
|
|
|
command appeared in
|
|
BSD 4.3 Reno
|
|
|
|
<A NAME="lbAJ"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
Input lines are limited to 512 times
|
|
<B>LINE_MAX</B>
|
|
|
|
(1M) wide characters in length.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="7"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="8"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="9"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="10"><A HREF="#lbAE">ENVIRONMENT</A><DD>
|
|
<DT id="11"><A HREF="#lbAF">EXIT STATUS</A><DD>
|
|
<DT id="12"><A HREF="#lbAG">EXAMPLES</A><DD>
|
|
<DT id="13"><A HREF="#lbAH">SEE ALSO</A><DD>
|
|
<DT id="14"><A HREF="#lbAI">HISTORY</A><DD>
|
|
<DT id="15"><A HREF="#lbAJ">BUGS</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:09 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|