Publisher Description
Measures the "chaos" of each of a set of files. It tells you
1. the average line length.
2. the average deviation from the average line length.
3. the maximum line length.
4. total lines in file.
5. totaL words in file.
6. total characters in file.
You might use it to decide which text files need to be tidied to have
consistent line lengths, or which are so big they should be split.
To calculate a single file, type:
java.exe -jar C:commindprodchaoschaos.jar myfile.html
You can also list several files on the command line:
java.exe -jar C:commindprodchaoschaos.jar myfile.html C:mydiranother.html
To compute all the files in the current directory of html files:
java.exe -jar C:commindprodchaoschaos.jar .
Sorry no wildcards, just . , and ..
DON'T USE WILDCARDS unless you deeply understand how they work. Windows expands them, not chaos, and feeds them to chaos (or any other program) as a giant list of all the directories and files in the
current directory. Chaos will thus tend process all the files in your directories, when you just meant to process the files in the current directory.
The -s switch makes all subsequent directories searched recursively to include all their subdirectories.
e.g.
java.exe -jar C:commindprodchaoschaos.jar -s E:mindprod
will process all *.html files in the mindprod directory tree, ignoring non-text files.
If you have the jar extension set up as executable, you can abbreviate:
C:commindprodchaoschaos.jar .