bug-bash
[Top][All Lists]
Advanced

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

'for' builtin without 'in' doesn't use the positional parameter


From: djedi
Subject: 'for' builtin without 'in' doesn't use the positional parameter
Date: Mon, 04 Nov 2002 21:13:41 +0100

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/home/packages/bash/bash-2.05b -I/home/packages/bash/bash-2.05b/include 
-I/home/packages/bash/bash-2.05b/lib  -g -O2
uname output: Linux abeille 2.2.15 #6 Wed Oct 23 13:10:57 CEST 2002 i686 
unknown unknown GNU/Linux
Machine Type: i386-pc-linux-gnu

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

Description

The 'for' builtin used without 'in' seems not to use the parameters
"$*".

I found this bug trying to install a new software. 
The 'configure --help' script ignore my arguments.


Repeat-By:

$ cat > foo.sh <<EOF
> for i
> do
> echo ">>>$i<<<"
> done
> EOF
$ bash --norc foo.sh bar or not
>>><<<
$ bashbug 




reply via email to

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