Subject: Re: sh & IFS [was: Re: CVS commit: src/bin/sh]
To: Hubert Feyrer <hubert@feyrer.de>
From: Valentin Nechayev <netch@lucky.net>
List: source-changes
Date: 03/20/2005 18:18:56
 Sun, Mar 20, 2005 at 14:15:48, hubert wrote about "sh & IFS [was: Re: CVS commit: src/bin/sh]": 

> >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]:

Some time ago I had got only zsh passed tests (not this set but with show
trial mix of space and non-space chars). It's interesting to include it
in this compatison.

> 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?


-netch-