| table | lists | table |
table -- format single column input into a table
table input_files
Task table reads a list of strings from the standard input or a list of files and assembles a nicely formatted table. If reading from multiple input files, make a separate table for each. There is no fixed limit to the size of the table which can be formatted. The table is not sorted; this should be done as a separate operation if desired.
1. Format a file containing names into a two column table. The table is sorted alphabetically first.
cl> sort names | table ncols=2
words, tokens