columns filename numcols
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.
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 outrootn is produced for each column in the input table.
Make 3 files named datacol.1, datacol.2 and datacol.3 from the 3 column table dtable:
cl> columns dtable 3 outroot=datacol.