diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /pkg/lists/doc/table.hlp | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'pkg/lists/doc/table.hlp')
-rw-r--r-- | pkg/lists/doc/table.hlp | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/pkg/lists/doc/table.hlp b/pkg/lists/doc/table.hlp new file mode 100644 index 00000000..54cc0e0a --- /dev/null +++ b/pkg/lists/doc/table.hlp @@ -0,0 +1,43 @@ +.help table Jan86 lists +.ih +NAME +table -- format single column input into a table +.ih +USAGE +table input_files +.ih +PARAMETERS +.ls input_files +List of files to be formatted, may be STDIN. +.le +.ls first_col = 7 +Offset to first column of table +.le +.ls last_col = 0 +Offset to last column of table. The value \fBlast_col\fR = 0 indicates +right margin. +.le +.ls ncols = 0 +Number of columns. The value \fBncols\fR = 0 indicates maximum that will fit. +.le +.ls maxstrlen = 0 +Maximum string length for table entry. The value \fBmaxstrlen\fR = 0 +indicates no limit. +.le +.ih +DESCRIPTION +Task \fBtable\fR 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. +.ih +EXAMPLES +1. Format a file containing names into a two column table. The table is +sorted alphabetically first. + + cl> sort names | table ncols=2 +.ih +SEE ALSO +words, tokens +.endhelp |