I've been scouring the 'net looking for how to use "whitespace" in the m4 macro processor... with no luck. So my question is, how do I insert white space into output??? Example:
format("This is a line\nThis is another line")
=>This is a line\nThis is another line
This, as you can see, doesn't work, I want the output to be:
=>This is a line
=>This is another line
But it isn't.
I CAN NOT
find anywhere how to insert a newline, tab, carrige return, etc...
The reason I started looking is because I want to be able to make a macro that will grab the rest of the line for me, as an argument, example:
define(`getline', `Got line: $1 changequote(``', `'')')
getline("This is a line
=>Got line: This is a line
This wont work however, because I can't find anything about the newline character itself! (It isn't <newline>)