Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2002 13:09:15 +0100
From:      "Ralf S. Engelschall" <rse@engelschall.com>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org
Subject:   Re: bin/41410: /bin/sh bug on expanding $? in here-documents
Message-ID:  <20021204120915.GA44232@engelschall.com>
In-Reply-To: <200208071430.g77EU28U097519@freefall.freebsd.org>
References:  <20020807142252.6F12B28693@en1.engelschall.com> <200208071430.g77EU28U097519@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
The companion PR in NetBSD was fixed a few days ago now with the
following commit:

http://cvsweb.netbsd.org/bsdweb.cgi/basesrc/bin/sh/eval.c.diff?r1=1.67&r2=1.68

| Fixes from David Laight:
| - ansification
| - format of output of jobs command (etc)
| - job identiers %+, %- etc
| - $? and $(...)
| - correct quoting of output of set, export -p and readonly -p
| - differentiation between nornal and 'posix special' builtins
| - correct behaviour (posix) for errors on builtins and special builtins
| - builtin printf and kill
| - set -o debug (if compiled with DEBUG)
| - cd src obj (as ksh - too useful to do without)
| - unset -e name, remove non-readonly variable from export list.
|   (so I could unset -e PS1 before running the test shell...)

Unfortunately this fix contains also other changes, so someone first has
to extract out the parts which apply only to this problem here. Or do we
want all those fixes?
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021204120915.GA44232>