Subject: Re: libtools patch for Linux/dash
To: None <tech-pkg@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-pkg
Date: 09/01/2006 16:17:58
On Fri, Sep 01, 2006 at 04:35:09PM +0300, Aleksey Cheusov wrote:
> > On Fri, Sep 01, 2006 at 02:47:39PM +0300, Aleksey Cheusov wrote:
>  >> If you really prefer to support pkgsrc on "coherent" platforms only,
>  >> modify pkgsrc guide section 3.3.5 and mention that DASH is NOT compatible
>  >> with pkgsrc version of libtool.
> 
> > It is nothing specific to libtool. The shown behaviour simply indicates
> > that dash is not a POSIX compatible shell. 
> 
> > To quote SUS v3:
> 
> > 2.2.3 Double-Quotes
> 
> The problem is not with "-quoting but with builtin echo, I think.

Well, continue reading. Either the shell or the echo builtin is
expanding \1 incorrectly. echo is not supposed to expand anything, so it
has to be the shell. In either case, it is a major violation of SUS.

Joerg