From owner-freebsd-bugs Fri Sep 27 4:10:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 279CD37B401 for ; Fri, 27 Sep 2002 04:10:07 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD18343E3B for ; Fri, 27 Sep 2002 04:10:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8RBA6Co017480 for ; Fri, 27 Sep 2002 04:10:06 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8RBA6wm017479; Fri, 27 Sep 2002 04:10:06 -0700 (PDT) Date: Fri, 27 Sep 2002 04:10:06 -0700 (PDT) Message-Id: <200209271110.g8RBA6wm017479@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: bin/43413: sh parameter expansion bug Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/43413; it has been noted by GNATS. From: Peter Pentchev To: Abc Xyz Cc: bug-followup@FreeBSD.org Subject: Re: bin/43413: sh parameter expansion bug Date: Fri, 27 Sep 2002 14:09:44 +0300 On Fri, Sep 27, 2002 at 11:37:30AM +0000, Abc Xyz wrote: > > >Number: 43413 > >Category: bin > >Synopsis: sh parameter expansion bug > >Originator: Abc Xyz > >Release: FreeBSD 4.6.2-RELEASE i386 > >Organization: > none > >Environment: > sh > >Description: > sh "set" doesn't show all shell variables. > >How-To-Repeat: > > $ x=123 > $ echo $x > 123 > $ set > [won't show x] Can you provide the complete output of this 'set' command? It seems to work here, on a 4.7-PRERELEASE: [roam@straylight:p2 ~]$ sh [\u@\h:p2 \w]\$ x=123 [\u@\h:p2 \w]\$ echo $x 123 [\u@\h:p2 \w]\$ set | grep ^x x=123 [\u@\h:p2 \w]\$ exit [roam@straylight:p2 ~]$ Can you try one of the FreeBSD 4.7 release candidates, available on the FreeBSD FTP and WWW mirrors, and see if you can reproduce the problem there? G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This would easier understand fewer had omitted. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message