The configFile

Using the -c option, you can specify that ahab use a configuration file instead of the command line arguments to figure out what files to act on. The default configuration file is "ahab.cfg", but you can specify your own file on the command line.

An ahab configFile is basically a collection of "pretend command lines". Each line of a configFile will be used by ahab as if it was a separate execution of the program. For example:

test.html test.template
.html template
-s test.htm template.txt
-emyhtml test template
-o test.html test.template
-h
If the above were the contents of a configuration file, and ahab was instructed to look at it, it would basically run as if every example command line in the "command line" section of this manual had been run one right after the other. The only limitation is that the -c option cannot be used in a configFile itself.

By using a configFile, you can set up a bunch of different templates, and different files that use each other, and still be able to update all of the pages for a specific template with one command line.

Back to main ahab page

Pinback's Web Central
This page and the contents therein (except where otherwise attributed) are copyright (c) 1997, 1998, by Ben Parrish.
That was in case any of you devious types were thinking of stealing all my cool stuff. So there.
[ Lynx Now! ] This page is Lynx Enhanced, and here's why.
[ OWL Approved! ] This webpage adheres to the specifications set forth by the Optimal Web Layout (OWL) Committee.