Solaris 8 Intel edition differs from NetBSD-current: $ uname -a; ./testcount.sh SunOS pro720 5.8 Generic_108529-17 i86pc i386 i86pc do_none 0 1 2 3 do_pipe 0 1 2 3 do_redir 0 1 2 3 $