next up previous contents index
Next: sus2text Up: The Current Tools Previous: text2sus   Contents   Index

table2sus

Purpose:

Part of the Sus Filter Tools: Converts a (Gnuplot-)ASCII table to sus format.

Usage:

table2sus [<option> ... ] [<label> ...]

If no <label>s are given, they are searched in the ASCII table. The number of columns is deduced from the number of space-separated words in the last un-commented line in the file. The first line with this number of words that could be labels (alphanumeric words beginning with a letter) is considered to contain the labels. If labels are not found in this way, "col1","col2"... are used. By default, the command acts as a filter (reads from stdin and writes to stdout).

Options:

-i, --input=<FILENAME>
read from <FILENAME> (default: '-' for stdin)
-o, --output=<FILENAME>
write to <FILENAME> (default: '-' for stdout)
-s, --separator=<SEPARATOR>
use <SEPARATOR> as separator (default: ' ')
-b, --binary
store sus file in binary format (default: plain ascii format)

-h, --help
prints this help

--nolabrc
do not read ~/.labrc and ./labrc
With @FILE or @ FILE (some) command-line options are read from FILE (see section [*]).
Result:

A sus file containing data from the ASCII table.

Examples:

See Section [*].


next up previous contents index
Next: sus2text Up: The Current Tools Previous: text2sus   Contents   Index
Tobias Polzin 2003-05-30