---
name: "tc2null"
section: "1"
platform: "linux"
package: "troffcvt"
version: "1.04+repack1-1"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/tc2null"
---

# tc2null(1)

diagnostic tool for troffcvt output

## NAME

tc2null - diagnostic tool for *troffcvt* output

## SYNTAX

**tc2null** \[ *options* \] *file* ... \]

## DESCRIPTION

*tc2null* is a postprocessor for *troffcvt* which tests the correctness of  *troffcvt* output. *tc2null* also serves as a basis on which other *troffcvt* postprocessors can be built. It's usually invoked by running the *troffcvt* front end *troff2null .*

*tc2null* understands the following options:

- **-D**

  Enable debugging output.

- **-E**

  Cause *tc2null* to echo token information to *stderr* as tokens are read from *troffcvt*.

- **-T** *title*

  Specify a title for the document. This can be used for documents that do not contain any recognizable title. If the document does contain a title, it is overridden.

## SEE ALSO

[troffcvt(1)](/troffcvt/1.md), [troff2null(1)](/troff2null/1.md)

## WHO-TO-BLAME

Paul DuBois, *dubois@primate.wisc.edu* .

## BUGS

*tc2null* uses a set of special macros that tell *troffcvt* how to generate *tc2null*-specific output that indicates null structural elements. These macros do not work in compatibility mode.
