from small one page howto to huge articles all in one place
 

search text in:





Poll
Which filesystem do you use?






poll results



Last additions:
Disable Anti-Aliasing fonts

Disable Anti-Aliasing fonts

words:

186

views:

8278

userrating:

no votes yet


May 25th. 2007:
Words

491

Views

9614

why adblockers are bad


handy one-liners for sed (Unix stream editor)
Tutorial:

handy one-liners for sed (Unix stream editor)

words:

4078

views:

25040

userrating:

no votes yet


rotating apache logfiles with cronolog

rotating apache logfiles with cronolog

words:

294

views:

9746

userrating:

no votes yet


Druckversion
You are here: manpages

GC

Section: User Commands (1)
Updated: 21 March 2001
Index Return to Main Contents
 

NAME

gc - count graph components  

SYNOPSIS

gc [ -necCaDUrs? ] [ files ]  

DESCRIPTION

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.  

OPTIONS

The following options are supported:
-n
Count nodes.
-e
Count edges.
-c
Count connected components.
-C
Count clusters. By definition, a cluster is a graph or subgraph whose name begins with "cluster".
-a
Count all. Equivalent to -encC
-r
Recursively analyze subgraphs.
-s
Print no output. Only exit value is important.
-D
Only analyze directed graphs.
-U
Only analyze undirected graphs.
-?
Print usage information.

By default, gc returns the number of nodes and edges.  

OPERANDS

The following operand is supported:
files
Names of files containing 1 or more graphs in dot format. If no files operand is specified, the standard input will be used.
 

EXIT STATUS

The following exit values are returned:
0
Successful completion.
1
The -U or -E option was used, and a graph of the wrong type was encountered.
 

AUTHOR

Emden R. Gansner <erg@research.att.com>  

SEE ALSO

wc(1), acyclic(1), gvpr(1), gvcolor(1), ccomps(1), sccmap(1), tred(1), libgraph(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
OPERANDS
EXIT STATUS
AUTHOR
SEE ALSO

Please read "Why adblockers are bad". Ärger mit Freenet.de



to the forum.
:
:
other Ads
Stellenangebote
Stellenangebote
für Fach- und
Führungskräfte
www.nachoben.com
Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
FeedCollector
Combine various newsfeeds to one customized webpage
www.feedcollector.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004 S&P Softwaredesign
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 105.0 ms
system status display