SYNOPSIShxcount [ file-or-URL ]
The hxcount command counts the number of elements and attributes of each type that appears in the input and prints a report on stdout.
OPERANDSThe following operand is supported:
- The name or URL of an HTML or XML file. If absent, standard input is read instead.
EXIT STATUSThe following exit values are returned:
- 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.