[PATCH build 02/10] Provide a visual break between components.

Gaetan Nadon memsize at videotron.ca
Sat Sep 18 19:34:21 PDT 2010


On Sat, 2010-09-18 at 22:00 -0400, Trevor Woerner wrote:

> It's a substring operation.
> 
> echo "${_line:7}"
> 
> is supposed to print the variable $_line starting from the 7th
> character. That way all the titles are supposed to line up. But I
> guess substring notation is not portable... :-)
> 

Ok, I figured it out. 

The first line of build.sh is:

        #!/bin/sh

So it's a portability issue. The echo -e command prints -e as part of
the text to print.
Type "man sh". 

Everything works if I type them from a terminal command line (which is
GNU bash).

All the configure scripts created by Autoconf are bin/sh. This is what
Adrian was saying.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100918/2869e617/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100918/2869e617/attachment.pgp>


More information about the xorg-devel mailing list