Syntax
tagcount [-h][-r][-f fieldname][-v fieldname value][-a][tagfile][outputfile]
Description
tagcount counts the number of records, or fields in a tag file.
Modifier flags
- -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
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