home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff304.lzh
/
Multic
/
multic.doc
< prev
next >
Wrap
Text File
|
1990-01-10
|
1KB
|
37 lines
Multic : multi-column text formatter
by Joel Swank
1/3/89
FUNCTION:
Format a single column of input into multiple side by side columns.
USAGE: multic: [[-cn] [-ln] [-pn] [-sn] [-gn] file ...] ...
OPTIONS:
-cn Format into n column output. Default is 2. Maximum is 9.
Minimum is 1.
-ln Output line is n chatacters. Default is 80. Maximum is 999.
Minimum is 20.
-pn Output page is n lines long. Default is 60. Maximum is 500.
Minimum is 20.
-sn Skip n lines between pages. Default is 0. Maximum is 100.
Minimum is 0.
-gn Skip n spaces between columns. Default is 0. Maximum is 100.
Minimum is 0.
OPERATION:
Multiple occurences of flags and filenames can be specified. Each
file is formatted according to the most recently set values. All output
is to stdout. If -s is left at zero, a formfeed will be output between
pages. Input lines are padded to fill the output column. The size of
an output column is calculated by the following formula:
colsize = (linesize - (gap * (columns -1))/columns
where columns is the -c value, gap is the -g value, and linesize is the
-l value. Input lines longer than the calculated column size are wraped
to the next line in that column.