fixtotable - convert a fixed column ASCII table into an ASCII tab table.

SYNOPSYS

	fixtotable column:start-end  ...

DESCRIPTION

fixtotable copies a fixed width ASCII table from its standard input, converts the columns given on the command line and outputs an ASCII tab table with header on its standard output.

ARGUMENTS

Command line arguments are in the form on column name followed by a column selection specification. Output columns are produced in the order of the arguments from the input file character column specifications given.

EXAMPLE


	fixtotable RA:1-10 DEC:12-23

Produces a table with two columns, RA and DEC. The RA column contains character columns 1-10 from the input file. The Dec column contains character columns 12-23 from the input file.

NOTES

Some "fixed with" tables actually have their columns aligned with the tab character. Since fixtotable operates with strict character column counts these table must have their tab characters filtered out. This can be done with the unix utility expand.

SEE ALSO

starbase.1
ASCII tab tables introduction.