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

# troff2null(1)

convert troff documents to troffcvt internal format

## NAME

troff2null - convert *troff* documents to *troffcvt* internal format

## SYNTAX

**troff2null** \[ *options* \] *file* ... \]

## DESCRIPTION

*troff2null* converts files written in the *troff* input language and converts them to the *troffcvt* internal representation. It works by running the input files through *troffcvt* and then through *tc2null .*

*troff2null* understands the usual *troffcvt* options. It also understands the additional options listed below:

- **-D**

  Enable debugging output.

- **-E**

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

- **-n**

  No execution. Just show the commands that *troff2null* would execute to process the document.

- **-p**

  Don't run the postprocessor (*tc2null*).

- **-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), [tc2null(1)](/tc2null/1.md)

## WHO-TO-BLAME

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

## BUGS

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