GC(1) | General Commands Manual | GC(1) |
gc - count graph components
gc [ -necCaDUrsv? ] [ files ]
gc is a graph analogue to wc in that it prints to standard output the number of nodes, edges, connected components or clusters contained in the input files. It also prints a total count for all graphs if more than one graph is given.
The following options are supported:
By default, gc returns the number of nodes and edges.
The following operand is supported:
The following exit values are returned:
Emden R. Gansner <erg@research.att.com>
wc(1), acyclic(1), gvpr(1), gvcolor(1), ccomps(1), sccmap(1), tred(1), libgraph(3)
21 March 2001 |