[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
13 Macros for running shell commands
There are a few builtin macros in m4
that allow you to run shell
commands from within m4
.
Note that the definition of a valid shell command is system dependent.
On UNIX systems, this is the typical /bin/sh
. But on other
systems, such as native Windows, the shell has a different syntax of
commands that it understands. Some examples in this chapter assume
/bin/sh
, and also demonstrate how to quit early with a known
exit value if this is not the case.
13.1 Determining the platform | ||
13.2 Executing simple commands | ||
13.3 Reading the output of commands | ||
13.4 Exit status | ||
13.5 Making temporary files |
This document was generated on September 29, 2013 using texi2html 5.0.