---
name: "tree2dot"
section: "1"
platform: "linux"
package: "xt-sdf2"
version: "2.0.1-3"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/tree2dot"
---

# tree2dot(1)

Pt-support tool

## NAME

tree2dot - Pt-support tool

## SYNOPSIS

**tree2dot** \[ **-c** \] \[ **-h** \] \[ **-i** *filename* \] \[ **-l** \] \[ **-m** \] \[ **-o** *filename* \] \[ **-V** \] \[ **-x** \] \[ **-p** \] \[ **-s** \]

## DESCRIPTION

This manual page briefly describes the **tree2dot** commands.

## OPTIONS

- **-h**

  print a description of all arguments(usage) and exit

- **-V**

  print version information

- **-i** *filename*

  Read input from file filename (default stdin)

- **-o** *filename*

  Write output to file filename (default stdout)

- **-c**

  enable sharing of characters(default: off)

- **-l**

  show layout(default: off)

- **-m**

  show literals(default: on)

- **-x**

  show characters(default: off)

- **-p**

  show productions as node(default: off)

- **-s**

  enable maximal sharing of nodes(default: off)

## SEE ALSO

[ambtracker(1)](/ambtracker/1.md), [apply-function(1)](/apply-function/1.md), [flattenPT(1)](/flattenPT/1.md), [implodePT(1)](/implodePT/1.md), [addPosInfo(1)](/addPosInfo/1.md), [unparsePT(1)](/unparsePT/1.md), [unparseProd(1)](/unparseProd/1.md)

## AUTHOR

This manual page was written by Julien LEMOINE \<speedblue@debian.org\>. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
