John Polstra wrote:
>
> In article <[EMAIL PROTECTED]>,
> Doug Barton <[EMAIL PROTECTED]> wrote:
> >
> > Given that Bash in both standard and POSIX mode complains about 'for i
> > in ; do echo $i; done', I would say that it's not POSIX compatible. What
> > could/does depend on this behavior "working?"
>
> It works for the realistic cases that might actually be useful. E.g.,:
>
> x=
> for i in $x; do
> echo $i
> done
>
> works fine. I don't think it matters very much that the pathological
> case "for i in ; ..." doesn't work.
Agreed on all counts. By "this behavior" I was referring to the
example.
Doug
--
"Welcome to the desert of the real."
- Laurence Fishburne as Morpheus, "The Matrix"
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message