Stage 7: add chained token support to input parser.
[m4/ericb.git] / examples / esyscmd.m4
blobb839148c11bddd66daff8f438ddbea810f0caefd
1 define(`hostname', esyscmd(`hostname'))dnl
2 `hostname = >>'hostname`<<'
3 define(`hostname', 
4 pushdef(`_tmp', `$1')_tmp(translit(esyscmd(`hostname'), `.', `,'))`'popdef(`_tmp'))dnl
5 `hostname = >>'hostname`<<'