Reference

tagcount(1)

count things in a tag file

NAME

tagcount - count things in a tag file

SYNOPSIS

tagcount [-h] [-r] [-f fieldname] [-x] [-v fieldname value] [-a] [tagfile] [outputfile]

DESCRIPTION

tagcount counts the number of records, or fields in a tag file.

OPTIONS

-h

Disables normal header processing. If this is not present then the first record is assumed to be a header, and will not be output

-r

Count records

-f fieldname

How often does the given field occur

-x

Modifier for -f, how often does the field NOT occur

-v fieldname value

How often does the field occur with a given value

-a

All - show all the fields which occur in the file, together with how often they occur.

If more than one modifier is specified then the results are output in the order
number of records
number of fields
field display

SEE ALSO

tagprogs(1), tag(5)

AUTHOR

John Lines ([email protected])

BUGS

The -f flag can only be specified once (or more accurately only the last occurance is used)

-x and -a are not yet implemented