GNU Info

Info Node: (m4.info)Sysval

(m4.info)Sysval


Next: Maketemp Prev: Esyscmd Up: UNIX commands
Enter node , (file) or (file)node

Exit codes
==========

   To see whether a shell command succeeded, use `sysval':

     sysval

which expands to the exit status of the last shell command run with
`syscmd' or `esyscmd'.

     syscmd(`false')
     =>
     ifelse(sysval, 0, zero, non-zero)
     =>non-zero
     syscmd(`true')
     =>
     sysval
     =>0


automatically generated by info2www version 1.2.2.9