Subject: Re: toolchain/30842: build.sh fails with mksh
To: Alan Barrett <apb@cequrux.com>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 07/27/2005 00:42:46
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