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



The following reply was made to PR pkg/51142; it has been noted by GNATS.

From: Richard PALO <richard%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/51142: pdksh has occasional issues with empty 'for' loops
Date: Mon, 16 May 2016 07:00:47 +0200

 Le 16/05/16 03:05, Robert Elz a écrit :
 >  I believe you're thinking of "for i; do" rather than "for i in; do"
 >  
 Guess I should have refreshed first, after coming to the same conclusion...
 
 >  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
 
 I'm running on SunOS 5.11 where native /bin/sh is the same ksh93, but my ksh93
 test was with pkgsrc ksh93... 
 (PM: bootstrap --full gives pdksh as the default pkgsrc shell; which I use)
 
 cheers
 -- 
 Richard PALO
 


Home | Main Index | Thread Index | Old Index