bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange interaction between 'nullglob' and 'unset'


From: Chet Ramey
Subject: Re: strange interaction between 'nullglob' and 'unset'
Date: Sun, 11 Jul 2004 18:48:33 -0400
User-agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.6) Gecko/20040113

Alexandre Gerussi wrote:

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H  -I.  -I../bash -I../bash/include 
-I../bash/lib  -g -O2
uname output: Linux Melville 2.4.26-1-k7 #1 Sat May 1 21:40:09 EST 2004 i686 
GNU/Linux
Machine Type: i386-pc-linux-gnu

Bash Version: 2.05b
Patch Level: 0
Release Status: release

Description:
Setting or unsetting the 'nullglob' option seems to interfere with the 'unset' 
command when
used to unset an array's element.

It does indeed.  If you want `unset' to see what you intend, disable
whatever processing occurs before unset is invoked by quoting its
arguments.

Chet




reply via email to

[Prev in Thread] Current Thread [Next in Thread]