NAME

gffstats - print statistics of gff structure


SYNOPSIS

gffstats [--help|-h] [--version|-V] [--verbose|-v] [--config config-file] [--print-filename|-f] [--print-basename|-b] [--total|-t] [--exclude|-e exclude-regexp] [--include|-i include-regexp] filename ...

gffstats --help


DESCRIPTION

gffstats prints number of items in each of the toplevel gff structure. If -t option is given then print only total sum of objects on arrays on the toplevel.


OPTIONS

--help -h
Prints out the usage information.

--version -V
Prints out the version information.

--verbose -v
Enables the verbose prints. This option can be given multiple times, and each time it enables more verbose prints.

--config config-file
All options given by the command line can also be given in the configuration file. This option is used to read another configuration file in addition to the default configuration file.

--print-filename -f
Prefix the output with the full file name.

--print-basename -b
Prefix the output with the base filename, i.e. the file name where the path component is removed.

--total -t
Only print total number of objects.

--exclude -e exclude-regexp
Exclude the given regexp when reading the data in. This will skip the whole structure behind the given structure, meaning that --include cannot be used to get parts of that back. This can be used to speed up the processing if only specific parts of the tree is required. Normally this should be something like ^/Creature List meaning that all creature list information is skipped when reading gff.

--include -i include-regexp
Only include the given regexp when reading the data in. This will skip all other structures which do not match the regexp. This can be used to speed up the processing if only specific parts of the tree is required. Normally this should be something like ^/Creature List meaning that only creature list information is read in.


EXAMPLES

    gffstats.pl *.git
    gffstats.pl -t *.git


FILES

~/.gffmatchrc
Default configuration file.


SEE ALSO

gffprint(1), gffmatch(1), Gff(3), and GffRead(3).


AUTHOR

Tero Kivinen <kivinen@iki.fi>.


HISTORY

This program was created when someone on nwn2cr channel wanted to know how many objects area files have.