tldr/pages/common/tbl.md

25 lines
444 B
Markdown
Raw Normal View History

2021-10-07 18:33:23 +01:00
# tbl
> Format tables for `troff`.
> More information: <https://manned.org/tbl>.
- Format tables for `troff` and print it to stdout:
`cat {{path/to/file.troff}} | tbl`
- Format tables for `troff` in "compatibility mode":
`cat {{path/to/file.troff}} | tbl -C`
- Format tables for `troff` from a file:
`tbl {{path/to/file.troff}}`
- Mark the beginning of a table ("Table Start"):
`.TS`
- Mark the end of the table ("Table End"):
`.TE`