Subject: bin/17870: /bin/sh bug on expanding $? in here-documents
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rse@engelschall.com>
List: netbsd-bugs
Date: 08/07/2002 07:38:09
>Number:         17870
>Category:       bin
>Synopsis:       /bin/sh bug on expanding $? in here-documents
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 07 07:39:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ralf S. Engelschall
>Release:        1.6 BETA 3
>Organization:
Cable & Wireless Germany
>Environment:
NetBSD dv3.dev.de.cw.net 1.6_BETA3 NetBSD 1.6_BETA3 (DV3) #0: Thu Jun 27 19:09:59 UTC 2002     root@dv3.dev.de.cw.net:/usr/src/sys/arch/sparc64/compile/DV3 sparc64
>Description:
There is a expansion problem in /bin/sh for occurences of $? in here-documents. I've already submitted a full report with details
to FreeBSD under PR 41410. Please see 
http://www.freebsd.org/cgi/query-pr.cgi?pr=41410
for details. The same information applies to NetBSD, too.
>How-To-Repeat:
Again, see http://www.freebsd.org/cgi/query-pr.cgi?pr=41410
>Fix:
None, but see http://www.freebsd.org/cgi/query-pr.cgi?pr=41410 for hints.
>Release-Note:
>Audit-Trail:
>Unformatted: