A darned dumb parser for batch files. This has a basic grammar of
- Any line that starts with a # is a comment
- A statement may span multiple lines and terminates with a ;
- Each statement is rendered as a single line with single blanks where the line feeds were
- Statements are then ready to be fed one after another to the CLI and interpreted.
This reads a stream and spits out a list of lines that are fed to a CLI.
It is
very stupid. The reason it exists is that sometimes really simple
batch files are needed, e.g., when someone is installing OA4MP and some webkeys need to be
created. They do not have a full set of utilities (such as QDL), might not have
bash or other standard tools availble and really there is not
much more than running through a set of simple commands with a few environment variables.
Bottom line...
*****************************************
* For anything other than very specific *
* systems programming, *
* >> Use QDL << *
*****************************************