[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
m4 and newlines?
From: |
Mike |
Subject: |
m4 and newlines? |
Date: |
Fri, 29 Oct 2004 15:08:14 -0000 |
User-agent: |
slrn/0.9.7.4 (Linux) |
I have a macro working:
define(`domain', `ifelse($#, 0, , $#, 1, ``domain $1'', ``domain' $1
domain(shift($@))')')
domain(`a', `b', `c')
that returns:
domain a domain b domain c
I want it to return:
domain a
domain b
domain c
How do I cause a newline? I tried define(`newline', `esyscmd(echo)'), but
that didn't seem to do right.
Mike
- m4 and newlines?,
Mike <=