I'm trying to open a file from the filesystem with css-validator.jar. I tried:
java -jar css-validator.jar C:\\filename
and
java -jar css-validator.jar file:\\\\\\filename
but neither worked.
What am I doing wrong?
Figured it out on my own: command used in directory of jar is like this:
java -jar css-validator.jar -output gnu file:///"Directory of file"\"name of css file".css
You can then add > or >> and a text type file extension (.txt, .html, .xml, .doc[but not .docx]) to output to file. the gnu can also be text, xml, or a couple other formats.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.