---
name: "tv_count"
section: "1p"
platform: "linux"
package: "xmltv-util"
version: "1.4.0-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/tv_count"
---

# tv\_count(1p)

Count (and print) the number of channels and programmes in an XMLTV file.

## NAME

tv\_count - Count (and print) the number of channels and programmes in an XMLTV file.

## SYNOPSIS

tv\_count -i FILE

## DESCRIPTION

Read XMLTV listings and print a count of the number of channels and number of programmes in the file.

## EXAMPLE

To print counts of all channels and programmes in the file called *listings.xml*:

```
  tv_count -i listings.xml
```

## SEE ALSO

**XMLTV**(3)

## AUTHOR

Copyright Geoff Westcott, February 2013.

This code is distributed under the GNU General Public License v2 (GPLv2) .
