| 7 |
|
[ |
| 8 |
|
.B \-h |
| 9 |
|
][ |
| 10 |
+ |
.B \-w |
| 11 |
+ |
][ |
| 12 |
|
.B \-f[afdb][N]] |
| 13 |
|
][ |
| 14 |
|
.B \-t |
| 34 |
|
is copied to the standard output along with the command name, but the |
| 35 |
|
.I \-h |
| 36 |
|
option may be used to turn this behavior off. |
| 37 |
+ |
The |
| 38 |
+ |
.I \-w |
| 39 |
+ |
option turns off non-fatal warning messages, such as unexpected EOD. |
| 40 |
|
.PP |
| 41 |
|
The input format is assumed to be ASCII, with three white-space separated words |
| 42 |
|
(typically numbers) in each record. |
| 64 |
|
and |
| 65 |
|
.I \-fb24 |
| 66 |
|
would all be equivalent. |
| 67 |
< |
Note also that the lack of row separators in binary files means that |
| 67 |
> |
Note that the lack of row separators in binary files means that |
| 68 |
|
.I rcollate |
| 69 |
|
does not actually do anything for binary files unless the transpose |
| 65 |
– |
.I \(\-t\) |
| 70 |
|
option is given, also. |
| 71 |
|
.PP |
| 72 |
|
The transpose option, |
| 78 |
|
.I rcollate |
| 79 |
|
will automatically determine the number of columns based on the |
| 80 |
|
position of the first EOL (end-of-line) character, and the number |
| 81 |
< |
of rows based on the count of records in the file. |
| 81 |
> |
of rows based on the total count of records in the file. |
| 82 |
|
The user may override these determinations, allowing the matrix to |
| 83 |
|
be resized as well as transposed. |
| 84 |
|
If input and output dimensions are given, the number of input rows |
| 85 |
|
must equal the number of output columns, |
| 86 |
< |
and the number of input columns must equal the number of output rows |
| 87 |
< |
with the |
| 84 |
< |
.I \-t |
| 85 |
< |
option. |
| 86 |
< |
For large transpose operations on Unix systems, it is much more efficient |
| 86 |
> |
and the number of input columns must equal the number of output rows. |
| 87 |
> |
For large transpose operations on Unix systems, it is most efficient |
| 88 |
|
to specify the input file on the command line, rather than reading |
| 89 |
|
from the standard input, since |
| 90 |
|
.I rcollate |
| 104 |
|
.I rcollate |
| 105 |
|
command is rather inflexible when it comes to output field and record |
| 106 |
|
separators for ASCII data. |
| 107 |
< |
It accepts any number or type of white space between input fields |
| 107 |
> |
It accepts any amount of white space between fields |
| 108 |
|
on input, but only produces spaces as field separators |
| 109 |
< |
between words and tabs as record separators. |
| 109 |
> |
between words and tabs as record separators on output. |
| 110 |
|
Output row separtors will always be an EOL, which may differ between systems. |
| 111 |
|
.PP |
| 112 |
|
If no options are given on the command line, or a binary file is specified |
| 113 |
|
without a transpose, |
| 114 |
|
.I rcollate |
| 115 |
< |
issues a warning and simply copies its input to the standard output. |
| 115 |
> |
issues a warning and simply copies its input to its standard output. |
| 116 |
|
.SH "SEE ALSO" |
| 117 |
|
cnt(1), histo(1), neaten(1), rcalc(1), rlam(1), tabfunc(1), total(1) |