* from 9fans: Bug in rc
@ 1995-03-02 14:13 Paul Haahr
0 siblings, 0 replies; only message in thread
From: Paul Haahr @ 1995-03-02 14:13 UTC (permalink / raw)
To: rc
> From: Amos Shapir <amos@CS.HUJI.AC.IL>
> To: 9fans@cse.psu.edu
> Subject: Bug in rc
> Date: Wed, 1 Mar 1995 08:16:34 -0500
> Message-Id: <199503011316.AA06775@hazard.cs.huji.ac.il>
>
> Try the following:
>
> #!/bin/rc
> for (iter in 1 2 3 4 5) {
> echo $iter
> sleep 5 &
> wait
> }
>
> Somehow, the "wait" botches the "for"'s argument list.
When I first read this, I was a little surprised to see that such a bug
existed in so reliable a piece of code as rc. So surprised that I tried
it and couldn't reproduce the problem. I was in the middle of replying
when I saw that my reply was going to 9fans and not the rc list.
Kudos to Byron for building a more robust clone than the original.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-03-02 14:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-03-02 14:13 from 9fans: Bug in rc Paul Haahr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).