POSIX requires defn(`a',`b') to concatenate definitions.
[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`<<'