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 14:40:10
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

Enclosing characters in double-quotes ( "" ) shall preserve the literal
value of all characters within the double-quotes, with the exception of
the characters dollar sign, backquote, and backslash, as follows:
..
\
The backslash shall retain its special meaning as an escape
character (see Escape Character (Backslash)) only when followed by one
of the following characters when considered special:

        $   `   "   \   <newline>

This is obviously not done by the implementation.

Joerg