
Chapter 6. Tools in the Toolbox 245
The following is the content of our sample OSS_SUPPORT file:
# This is the description of the support procedure for this software...
Now all we have to do is execute the m4 command, specifying the template Korn
shell file and redirecting the output from the m4 command to the Korn shell script
to be distributed (amazing_loop.ksh):
m4 kornshelltemplate > amazing_loop.ksh
The resulting Korn shell script, the amazing_loop.ksh, will then look like
inExample 6-40.
Example 6-40 Output Korn shell script from the m4 macro processing
#!/bin/ksh
# This is the LICENSE description for this software...
# This is the description ...