Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Sep 2002 04:10:06 -0700 (PDT)
From:      Peter Pentchev <roam@ringlet.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/43413: sh parameter expansion bug
Message-ID:  <200209271110.g8RBA6wm017479@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/43413; it has been noted by GNATS.

From: Peter Pentchev <roam@ringlet.net>
To: Abc Xyz <abc@anchorageinternet.org>
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




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