At Wednesday 02 June 2010, Eric Blake <[email protected]> wrote:
> On 06/02/2010 03:25 PM, Stefano Lattarini wrote:
> > Souldn't the printf("%s", $1) already taking care of the newline
> > removal?
>
> Yes, but sed adds it back in.
>
I wasn't aware of this sed "feature". Thanks for pointing it out.
> Not to mention that you used a non-portable extension of sed by
> passing it a non-text file (Solaris sed chokes if the input does
> not end in newline).
Well, at this point it would probably be better to use esyscmd just to
fetch the output of svnversion, and then process it with the m4sugar
magic (m4_bmatch, m4_bpatsubsts, etc.)
Regards,
Stefano
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf