DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(m4.info.gz) Shell commands

Info Catalog (m4.info.gz) Arithmetic (m4.info.gz) Top (m4.info.gz) Miscellaneous
 
 12 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.
 

Menu

 
* Platform macros             Determining the platform
* Syscmd                      Executing simple commands
* Esyscmd                     Reading the output of commands
* Sysval                      Exit status
* Maketemp                    Making temporary files
 
Info Catalog (m4.info.gz) Arithmetic (m4.info.gz) Top (m4.info.gz) Miscellaneous
automatically generated byinfo2html