On Wednesday 08 November 2006 10:37, Arkadiusz Miskiewicz wrote:

> Well, there is only bash left as a option for /bin/sh it seems ;-)

Interesting test suite: 
http://www.feyrer.de/NetBSD/blog.html/nb_20050320_1408.html

[EMAIL PROTECTED] ~]$ /bin/bash ifs.sh
# tests 6856 passed 6856 failed 0

/bin/sh == bash
[EMAIL PROTECTED] ~]$ /bin/sh ifs.sh
# tests 6856 passed 6856 failed 0

[EMAIL PROTECTED] ~]$ /bin/ksh ifs.sh | grep '^#'
# tests 6856 passed 2584 failed 4272

/bin/sh == pdksh
[EMAIL PROTECTED] ~]$ /bin/sh ifs.sh | grep '^#'
# tests 6856 passed 2584 failed 4272

[EMAIL PROTECTED] ~]$ /bin/zsh ifs.sh | grep '^#'
# tests 664 passed 72 failed 592 -- fundamental IFS error -- 6856 tests 
expected

/bin/sh == zsh
[EMAIL PROTECTED] ~]$ /bin/sh ifs.sh | grep '^#'
# tests 6856 passed 3560 failed 3296

heirloom-sh
[EMAIL PROTECTED] ~]$ /bin/jsh ifs.sh | grep '^#'
ifs.sh: bad substitution

dash
[EMAIL PROTECTED] ~]$ /bin/dash ifs.sh 2>&1 | grep '^#'
# tests 6856 passed 3944 failed 2912 ordered 1336

posh
[EMAIL PROTECTED] ~]$ /bin/posh ifs.sh 2>&1 | grep '^#'
# tests 6856 passed 2584 failed 4272


Welcome back bash as /bin/sh?

-- 
Arkadiusz Miƛkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/
_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to