T2t

[text to table]

text to table translator

t2t is a Perl script that converts standard ASCII text to HTML 4.0 tables. Any text with the delimiter embedded in it is converted to a table. The user can specify any regular Perl expression as a delimiter; the default delimiter is the tab. As a result, t2t can easily transform any spreadsheet saved as tab delimited text to a HTML table. The table ends with either the end of the file or the first line of non-delimited text. All other text is just written to the output file.

Version 6.0 is now available. Here are the changes:
  • Reads Excel, OpenOffice, and CSV files natively. See ReadMe for instructions.
  • Fixed bug with limit option
  • Fixed bug with nbsp option
  • Fixed bug with xhml RC option
  • Fixed warnings
Features
  • Works on Unix, Windows, and MacOSX.
  • Completely customizable
  • Process a whole directory (and all of its subdirectories) with one command
  • Convert any delimited file to a HTML source file with a table
  • Handle multiple input "tables" in one text file
  • Read from stdin and write to stdout
  • Skip a field (do not translate the field to the resulting table)
  • Produce a complete HTML source file or only the table portion
  • Color the cells (separate colors for the header and the data cells)
  • Produce a table displayed as a ledger.

Number of people to visit since March 21,1996 : [1,000,000,000]

 
Steven Scholnick

Last Updated January 28, 2008