Man Linux: Main Page and Category List

NAME

       hxcount - count elements and attributes in HTML or XML files

SYNOPSIS

       hxcount [ file ]

DESCRIPTION

       The  hxcount  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.

DIAGNOSTICS

       The following exit values are returned:

       0         Successful completion.

       > 0       An  error  occurred  in  the parsing of the HTML or XML file.
                 hxcount will try to recover from the error and produce output
                 anyway.

BUGS

       Don’t trust the output if there were errors in the input.