@@ -20,41 +20,44 @@ <h1>How to use the vnu.jar validator</h1>
2020
2121< p class =links >
2222< a href ="#command-line-usage "> Usage</ a > ·
23- < a href ="#command-line-options "> Pptions </ a >
23+ < a href ="#command-line-options "> Options </ a >
2424
2525 < div class =set >
2626 < section id =command-line-usage >
2727 < h2 > Command-line usage</ h2 >
2828
29- < p > You can use the < code > vnu.jar</ code > validator as an executable for
30- command-line validation of HTML documents by invoking it like this:
31-
29+ < p > You can use the < code > vnu.jar</ code > validator as an executable for
30+ command-line validation of HTML documents by invoking it like this:
3231< pre >
3332 java -jar ~/vnu.jar [--help] [--html] [--entities] [--schema URL]
3433 [--format gnu|xml|json|text] [--verbose] [--version] FILES
3534</ pre >
3635
37- < p > To validate one or more documents from the command line:
38-
36+ < p > To validate one or more documents from the command line:
3937< pre >
4038 java -jar ~/vnu.jar FILE.html FILE2.html FILE3.HTML FILE4.html...
4139</ pre >
4240
43- < p > To validate all HTML documents in a particular directory:
44-
41+ < p > To validate all HTML documents in a particular directory:
4542< pre >
4643 java -jar ~/vnu.jar some-directory-name/
4744</ pre >
4845
49- < p > To validate a Web document:
50-
46+ < p > To validate a Web document:
5147< pre >
5248 java -jar ~/vnu.jar http://example.com/foo
5349</ pre >
5450
55- < h3 id ="command-line-options "> Command-line options</ h3 >
56- < p > When used from the command line as described in this section, the
57- < code > vnu.jar</ code > executable provides the following options:
51+ < p > To validate from standard input:
52+ < pre >
53+ java -jar ~/vnu.jar -
54+
55+ echo '<!doctype html> < title > test< title > ...' | java -jar ~/vnu.jar -
56+ </ pre >
57+
58+ < h3 id ="command-line-options "> Command-line options</ h3 >
59+ < p > When used from the command line as described in this section, the
60+ < code > vnu.jar</ code > executable provides the following options:
5861
5962< h4 id ="html "> --entities</ h4 >
6063< pre >
0 commit comments