Re: m4 and autoconf problem on mac os x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux