Re: new line added to a variable passed to a macro

2007-03-26 Thread Thomas Dickey
On Mon, 26 Mar 2007, Andreas Schwab wrote: Vincent Torri <[EMAIL PROTECTED]> writes: off topic : is it better to use ${have_ecore_con} or $have_ecore_con ? It does not really matter, but the former is more robust. That's contradictory (you should be able to explain it better). For instanc

Re: new line added to a variable passed to a macro

2007-03-26 Thread Keith MARSHALL
Andreas Schwab wrote, quoting Vincent Torri: >> off topic : is it better to use ${have_ecore_con} >> or $have_ecore_con ? > > It does not really matter, but ... Depending on context, it might: $foobar is the same as ${foobar}, but not ${foo}bar. In any context, where you need to append text to th

Re: new line added to a variable passed to a macro

2007-03-26 Thread Andreas Schwab
Vincent Torri <[EMAIL PROTECTED]> writes: > off topic : is it better to use ${have_ecore_con} or $have_ecore_con ? It does not really matter, but the former is more robust. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germa

Re: new line added to a variable passed to a macro

2007-03-25 Thread Vincent Torri
On Sun, 25 Mar 2007, Andreas Schwab wrote: Vincent Torri <[EMAIL PROTECTED]> writes: That is, a new line is added. I don't know why. It is annoying as I am doing the test on $3 (note that the third parameter is optional). What is also strange is that I use that macro several times, and that

Re: new line added to a variable passed to a macro

2007-03-25 Thread Andreas Schwab
Vincent Torri <[EMAIL PROTECTED]> writes: > That is, a new line is added. I don't know why. It is annoying as I am > doing the test on $3 (note that the third parameter is optional). What is > also strange is that I use that macro several times, and that new line is > only added when I call: > > A