[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: m4 and autoconf problem on mac os x
From: |
Stefano Lattarini |
Subject: |
Re: m4 and autoconf problem on mac os x |
Date: |
Wed, 2 Jun 2010 23:25:03 +0200 |
User-agent: |
KMail/1.12.1 (Linux/2.6.30-2-686; KDE/4.3.4; i686; ; ) |
Hello Raphael.
At Wednesday 02 June 2010, "Raphael 'kena' Poss" wrote:
> > m4_define([v_rev], m4_esyscmd([(svnversion . | grep -v exported || echo 0)
> > | awk -F : '{printf("%s", $1);}' | tr 'A-z' ' ' | sed 's/ //g']))
>
> you probably want to add
>
> | tr -d '\n'
>
> to that command line, to remove the trailing newline.
Souldn't the printf("%s", $1) already taking care of the newline removal?
Regards,
Stefano