Subject: Re: toolchain/30842: build.sh fails with mksh
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 07/26/2005 22:43:01
The following reply was made to PR toolchain/30842; it has been noted by GNATS.

From: Martin Husemann <martin@duskware.de>
To: Alan Barrett <apb@cequrux.com>
Cc: gnats-bugs@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: toolchain/30842: build.sh fails with mksh
Date: Wed, 27 Jul 2005 00:42:46 +0200

 On Tue, Jul 26, 2005 at 10:13:31PM +0200, Alan Barrett wrote:
 > Can we solve this problem without adding more special cases to build.sh
 > by just adding backslashes in appropriate places, so it doesn't matter
 > whether or not the shell does brace expansion?
 
 Doesn't this mean this shell is broken from a posix point of view and
 with your change build.sh should fail on a strictly confirming shell?
 
 IIUC in this case the rules for double quotes apply:
 
   The backslash shall retain its special meaning as an escape character [..]
   only when followed by one of the following characters when considered
   special:
 
        $   `   "   \   <newline>
 
 
 Martin