> [1] Useful fragment for cross platform shell scripts: > > #!/bin/sh > # Do the Solaris Dance: > if [ ! -d ~root ] ; then > exec /usr/xpg4/bin/sh $0 "$@" > fi >
sigh.. okay, my "correction" had bugs, too :-) better as if [ ! -d ~root -a -x /usr/xpg4/bin/sh ] ; then -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]