Date: Sat, 25 Feb 2006 12:50:14 -0500 From: Parv <parv@pair.com> To: y@unlit.org Cc: ports@FreeBSD.org, obrien@FreeBSD.org Subject: Re: FreeBSD Port: bash-3.1.10 Message-ID: <20060225175014.GA1102@holestein.holy.cow> In-Reply-To: <E1FCyQd-00008G-SU@ygrex> References: <E1FCyQd-00008G-SU@ygrex>
next in thread | previous in thread | raw e-mail | index | archive | help
in message <E1FCyQd-00008G-SU@ygrex>, wrote y@unlit.org thusly... > > Hello, > > I have this bash: > > $ bash --version > GNU bash, version 3.1.10(0)-release (i386-portbld-freebsd4.11) > Copyright (C) 2005 Free Software Foundation, Inc. Here ... GNU bash, version 3.00.16(1)-release (i386-portbld-freebsd6.0) Copyright (C) 2004 Free Software Foundation, Inc. > This is from manpage: > > for name [ in word ] ; do list ; done > ... If the in word is omitted, the for command executes list > once for each positional parameter that is set (see PARAMETERS > below). > > The case, when [ in word ] is absent does not work. > > a simple script 'test': > > #!/usr/local/bin/bash > for i > do > echo $i > done > > With couple parameters should list all these parameters each on its dictinct > line. ... > But in this very bash the test produces a blank line only. It is > highly provoking, for libtool cannot work because of it! I get the expected behaviour ... # cat p ; ./p q r st #!/usr/local/bin/bash for f ; do echo $f ; done q r st - Parv --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060225175014.GA1102>