Date: Fri, 27 Sep 2002 11:37:30 GMT From: Abc Xyz <abc@anchorageinternet.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/43413: sh parameter expansion bug Message-ID: <200209271137.g8RBbUk76243@groggy.anc.acsalaska.net>
next in thread | raw e-mail | index | archive | help
>Number: 43413
>Category: bin
>Synopsis: sh parameter expansion bug
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 27 03:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>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]
set [-/+abCEefIimnpTuVvx] [-/+o longname] [-c string] [-- arg ...]
The set command performs three different functions:
With no arguments, it lists the values of all shell variables.
it appears that if x is set in the current shell,
it should also appear in "set" output.
>Fix:
dunno.
>Release-Note:
>Audit-Trail:
>Unformatted:
>System: FreeBSD 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #3: Sun Sep 22 04:11:34 AKDT 2002 /usr/src/sys/compile/MYKERN i386
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?200209271137.g8RBbUk76243>
