Article View: gnu.bash.bug
Article #711"for i" broken?
From: David Elliott
Date: Tue, 14 Nov 1989 16:02
Date: Tue, 14 Nov 1989 16:02
31 lines
1170 bytes
1170 bytes
It appears that the "for" construct in which no "in {list}" is
given does not appear to work. (For those of you unfamiliar
with this construct, it imples "in {list of arguments}".)
Script started on Tue Nov 14 07:58:30 1989
icky 1>cat ft
#!/mnt/dce/Src/bash-1.04/bash
PATH=/bin:/usr/bin
for i
{
echo "$i"
}
icky 2>./ft
syntax error near `{'
./ft:6: `{'
syntax error near `}'
./ft:8: `}'
icky 3>
script done on Tue Nov 14 07:58:41 1989
As a side question, Brian, are you collecting shell scripts to be
used as a regression/porting test suite with bash, like those which
come with gawk and perl?
--
David Elliott
dce@sony.com | ...!{uunet,mips}!sonyusa!dce
(408)944-4073
"You can lead a robot to water, but you can not make him compute."
Technical Details
Message-ID:
<1989Nov14.160253.15975@sony.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!snorkelwacker!apple!mips!sony.com!dceShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!mit-eddie!snorkelwacker!apple!mips!sony.com!dce From: dce@sony.com (David Elliott) Newsgroups: gnu.bash.bug Subject: "for i" broken? Message-ID: <1989Nov14.160253.15975@sony.com> Date: 14 Nov 89 16:02:53 GMT Reply-To: dce@icky.sony.com (David Elliott) Distribution: gnu Organization: Sony Microsystems Corp. Lines: 31