Checking The Install

You can use the following set of commands to verify that the package has been installed and your environment is setup such that you can find the xml-keyval commands within your path:

[pkb@salsa pkb]$ mkdir $HOME/bogus
[pkb@salsa pkb]$ cd $HOME/bogus
[pkb@salsa bogus]$ keyval2sh --name spellcheck --doc-type none
creating template file: spellcheck_config.xml
Generating: spellcheck_config.sh
Generating: spellcheck_config.docbook_synopsis
Generating: spellcheck_config.docbook_options
Creating Template: spellcheck.sh
Creating Template: spellcheck.mk
Creating Template: spellcheck.docbook
Finished - finally!
STEP 1: Try invoking:
  make -f spellcheck.mk; ./spellcheck --help
STEP 2: Then edit files:
  spellcheck.sh, spellcheck_config.xml and spellcheck.docbook
STEP 3: Repeat steps 1 and 2 until life is good.
[pkb@salsa bogus]$ make -f spellcheck.mk
cat "spellcheck_config.sh" "spellcheck.sh" > "spellcheck"
chmod +x "spellcheck"
[pkb@salsa bogus]$ ./spellcheck.sh
 
Usage:
  spellcheck [-h|--help] [-i|--in FILENAME] [-o|--out FILENAME]
         [-v|--verbose true|false] [-l|--log-file FILENAME]
 
Where:
  -i|--in FILENAME  Currently:[-]
    The name of the input file to process.
  -o|--out FILENAME  Currently:[-]
    The name of the output file to produce.
  -v|--verbose true|false  Currently:[false]
    Produce verbose output.
  -l|--log-file FILENAME  Currently:[/dev/null]
    Used to log diagnositic output to a file.
  -h|--help
    Displays this usage information.
 
[pkb@salsa bogus]$ cd $HOME
[pkb@salsa bogus]$ rm -fr $HOME/bogus
[pkb@salsa bogus]$ 

If you don't see output similar to the above, you'd better go through the Installation Guide chapter from top to bottom (getting your Java environment set properly can be a bit tricky).