This article needs additional citations for verification. (May 2016) (Learn how and when to remove this template message)
|Original author(s)||Mike Lesk|
|Developer(s)||AT&T Bell Laboratories|
|Initial release||May 1975|
|Operating system||Unix and Unix-like|
Mike Lesk is the original author of tbl. Like the main troff program, it uses command lines interspersed with data to be printed. Because of the nature of tabular data having rows and columns, tbl commands also intraline delimiters for fields and to indicate where to draw lines.
First a line starting with
.TS, followed by full table options such as
center to center the table on a line or
box to draw a box around it (boxes in tbl are drawn with overlapping hyphens and underscores; there were no line drawing commands at the time of creation. Disjoint edges can be observed upon close inspection).
Succeeding lines set up the formatting of each cell in the table with one character flags, such as
c to center data in its cell, hyphens to draw horizontal rules, vertical bars to draw vertical rules, and carets to span cells vertically.
- Dougherty, Dale. "8 Formatting with tbl [Book]". www.safaribooksonline.com. O'Reilly. Retrieved 20 November 2016.
- McIlroy, M. D. (1987). A Research Unix reader: annotated excerpts from the Programmer's Manual, 1971–1986 (PDF) (Technical report). CSTR. Bell Labs. 139.