
COLEX(1)               UNIX User's Manual"               COLEX(1)

NAME
     colex - column/field extraction

SYNOPSIS
     colex [-fqi] column numbers

DESCRIPTION
     _C_o_l_e_x extracts the named columns from the standard input and
     prints them with tabs between.  Column number begin with 1.
     Ranges of column numbers can be abbreviated with arguments
     of the form #-# (e.g., 12-24).  Column ranges can be in
     reverse order (e.g., 5-1 to reverse the first five columns).

OPTIONS
     -f   Force filling of missing columns with the string
          "?colex?".

     -q   Place quotes around the printed strings.

     -i   Ignore missing columns.  Otherwise, a missing column,
          not filled by the -f option, is an error.  Combined
          with the -q option, this causes blank fields (doubled
          quotes) to be printed.

LIMITATIONS
     The number of columns is limited to 100.

SEE ALSO
     unixstat(1), dm(1), abut(1)

AUTHOR
     Gary Perlman

BUGS
     _C_o_l_e_x duplicates some functionality in _d_m but is included
     for systems that cannot compile _d_m.

KEYWORDS
     statistics, data analysis, data manipulation

Printed 5/30/85           March 5, 1985                         1

