Subject: Re: sh & IFS
To: Hubert Feyrer <hubert@feyrer.de>
From: Perry E. Metzger <perry@piermont.com>
List: tech-userlevel
Date: 03/20/2005 11:10:36
Hubert Feyrer <hubert@feyrer.de> writes:
> 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]:
How does our ksh do?
> 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?
Yes!
Perry