NOP(1) General Commands Manual NOP(1)

# [NAME](#NAME)

nop - pretty-print graph file

# [SYNOPSIS](#SYNOPSIS)

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

# [DESCRIPTION](#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](#OPTIONS)

The following options are supported:

[**-p**](#p)

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

**-?**

Print usage information.

# [EXIT STATUS](#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](#SEE_ALSO)

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

21 March 2001

---

Document: nop(1) from graphviz 15.1.1-r2 (Chainguard OS)
Source: https://gitlab.com/graphviz/graphviz
