Subject: sh & IFS [was: Re: CVS commit: src/bin/sh]
To: David Laight <david@l8s.co.uk>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-userlevel
Date: 03/20/2005 14:15:48
On Sat, 19 Mar 2005, David Laight wrote:
> NetBSD's /bin/sh now passes all the IFS tests in:
>    http://www.research.att.com/~gsf/public/ifs.sh

Pretty cool. I've put a few numbers for comparison in my weblog[1]:

sh NetBSD-current:       # tests 6856 passed 6856 failed 0
bash 2.05b.0(1):         # tests 6856 passed 5408 failed 1448
bash 3.00.16(1):         # tests 6856 passed 5408 failed 1448
ksh Solaris 9/x86:       # tests 6856 passed 4456 failed 2400
ksh NetBSD 2.0_STABLE:   # tests 6856 passed 2584 failed 4272
sh NetBSD 2.0_STABLE:    # tests 6856 passed 1176 failed 5680 ordered 1336
sh Solaris 9/x86:        aborts with "bad substitution"

BTW, maybe import that test script into src/regress?


  - Hubert

[1] http://www.feyrer.de/NetBSD/blog.html#20050320_1408

-- 
NetBSD - Free AND Open!      (And of course secure, portable, yadda yadda)