tagcount(1)

tagcount1

Count things in a tag file

Usage

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

Overview

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

Releases

Unchanged in 4 releases since Debian 2.1 (Slink).

  1. 2.1–3.1

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

From tag-types 0.0.9-4 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.