.col Command

The .col command uses the column headings and spacing specified with the last .columns set or .variable columns command to determine the position of the specified column number. If the column number is less than the previous column number, the columns are printed and a new paragraph begins. A maximum of seven columns are available.

Syntax

.col number text {.col number+1 text} {...}

Example(s)

01 .columns set Name,10,5;Phone,10,1

02 .col1 Fred .col2 555-1212

03 .col1 Bart .col2 555-2121

Produces this output:

Name Phone

Fred 555-1212

Bart 555-2121

See Also

.xcolumns Command, Output Processor Commands, Output Processor Overview