As mentioned in the title I want to invoke the preprocessor from a shell.
Let me clarify: Suppose I have to invoke Preprocessor for command patch in Linux say:
patch -p1 -D `"{what and how should i write here }"` < patch.patch
Patch command has an option -D
where I can define a preprocessor (to my understanding). I tried searching on Google I got only one link I couldn't understand it properly.
Please guide me with an example (or proper reference).
- What all can be written in -D option of any command?
- Are constructs same for all command are different for different commands?
- What can be the input variables?