pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/51142: pdksh has occasional issues with empty 'for' loops
Date: Sun, 15 May 2016 19:28:04 +0200
From: Joerg Sonnenberger <joerg%bec.de@localhost>
Message-ID: <20160515172804.GA11874%britannica.bec.de@localhost>
| On Sun, May 15, 2016 at 05:05:00PM +0000, richard%NetBSD.org@localhost wrote:
| > >Synopsis: pdksh has occasional issues with empty 'for' loops
|
| That's not a shell bug, but a "feature" of the standard.
I believe you're thinking of "for i; do" rather than "for i in; do"
It certainly looks like a bug in pdksh to me (it isn't as if it does not
have many) - certainly if that were reported against /bin/sh I would be
fixing it.
I notice the PR says that bash and ksh93 work (as they should) but says
nothing about /bin/sh. Is there a reason for that? (In general, unless you
want it for interactive use reasons, I'd always suggest /bin/sh on NetBSD
over /bin/ksh)
kre
Home |
Main Index |
Thread Index |
Old Index