count

Langue: en

Autres versions - même langue

Version: 150229 (fedora - 04/07/09)

Section: 1 (Commandes utilisateur)

NAME

count - count elements and attributes in HTML or XML files files

SYNOPSIS

count [ file ]

DESCRIPTION

The count command counts the number of elements and attributes of each type that appears in the input and prints a report on stdout.

OPERANDS

The following operand is supported:
file
The name of an HTML or XML file. If absent, standard input is read instead.

EXIT STATUS

The following exit values are returned:
0
Successful completion.
>0
An error occurred in the parsing of the HTML or XML file. count will try to recover from the error and produce output anyway.

BUGS

None known. Don't trust the output if there were errors in the input.