1man(1) General Commands Manual man(1)
2
3
4
6 count - count elements and attributes in HTML or XML files files
7
9 count [ file ]
10
12 The count command counts the number of elements and attributes of each
13 type that appears in the input and prints a report on stdout.
14
16 The following operand is supported:
17
18 file The name of an HTML or XML file. If absent, standard input is
19 read instead.
20
22 The following exit values are returned:
23
24 0 Successful completion.
25
26 >0 An error occurred in the parsing of the HTML or XML file.
27 count will try to recover from the error and produce output
28 anyway.
29
31 None known. Don't trust the output if there were errors in the input.
32
33
34
35 2 Dec 1998 man(1)