STScI Logo

columns lists


NAME · USAGE · PARAMETERS · DESCRIPTION · EXAMPLES · SEE_ALSO

NAME

columns -- break a multicolumn list into multiple single column lists

USAGE

columns filename numcols

PARAMETERS

filename
Name of the input table file.
numcols
The number of columns in the input file.
outroot = "col."
Root name of the output column files.

DESCRIPTION

Task columns is used to reformat a multicolumn list file into separate files, such that one output file is created for each column in the input file. It is used to break multicolumn tables into simple CL lists. Comment lines beginning with the character "#" are ignored. All data is transferred as text. One file outroot n is produced for each column in the input table.

EXAMPLES

Make 3 files named datacol.1, datacol.2 and datacol.3 from the 3 column table dtable:


    cl> columns dtable 3 outroot=datacol.

SEE ALSO

fields


Source Code · Search Form · STSDAS