On 10/27/10 19:38, Paul Eggert wrote:
Ah! Thanks. The light dawns. So my test was too strict. Can people please try the following test instead? This parenthesizes the ":", so that the shell need not preserve the stdin fd.if (ulimit -n 10&& (:)<&-) 2>/dev/null then echo OK else echo Houston we have a problem fi
FWIW running OpenSolaris snv134, it works with bash, zsh and /usr/has/bin/sh. /bin/sh, /usr/bin/sh (both aliased to ksh93),and /usr/bin/ksh, all fail. Not cc'd to tar-list since I'm not subscribed. HTH -- Frank
