---
name: "nop"
section: "1"
platform: "linux"
package: "graphviz"
version: "16.1.0-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nop"
---

# nop(1)

pretty-print graph file

## NAME

nop - pretty-print graph file

## SYNOPSIS

**nop** \[ **-p?** \] \[  *files* \]

## DESCRIPTION

**nop** reads a stream of graphs and prints each in pretty-printed (canonical) format on stdout. If no *files* are given, it reads from stdin.

## OPTIONS

The following options are supported:

- **-p**

  Produce no output - just check the input for valid DOT.

- **-?**

  Print usage information.

## EXIT STATUS

If any errors occurred while processing any input, such as a file not found or a file containing illegal DOT, **EXIT\_FAILURE** is returned. Otherwise **EXIT\_SUCCESS** is returned.

## SEE ALSO

[wc(1)](/wc/1.md), [acyclic(1)](/acyclic/1.md), [gvpr(1)](/gvpr/1.md), [gvcolor(1)](/gvcolor/1.md), [ccomps(1)](/ccomps/1.md), [sccmap(1)](/sccmap/1.md), [tred(1)](/tred/1.md), libgraph(3)
