Next: , Up: preprocessor   [Contents][Index]

2.1 Invoking the preprocessor

The basic synopsis is: [options] <INFILE >OUTFILE [options] --outfile=OUTFILE [--] INFILE1 INFILE2 ...

all the INFILE pathnames are interpreted as files to concatenate in the specified order.

All the MBFL built in command line options are available, additionally the following options are supported.


Do not filter out comments.


Add #!$BASH at the beginning of the output, where BASH is the built–in variable of Bash, (bash)BASH.


Select the absolute file pathname of the Bash executable to use when the --add-bash is used. It defaults to the Bash used to run the preprocessor script itself.


Define a new symbol (m4 syntax). This is equivalent to the --define option of m4.


Add a search path for files. VALUE must be a directory pathname and it is handed to m4 to search for macro files. We can use this option multiple times.


Include an m4 library. VALUE must be the name of an m4 macro file which is evaluated before the input files.


Select an output file, - for stdout.


Send the result of preprocessing to bash, rather than print it.


Do not load the installed preprocessor’s macros library. If we use this option: we are meant to use the option --library to load a replacement macros library from a known location.

Next: , Up: preprocessor   [Contents][Index]

This document describes version 3.0.0-devel.0 of Marcos Bash Functions Library.