On Mon, Aug 01, 2005 at 08:45:10AM -0500, Steve Greenland wrote: > [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 Umm.. Ick.... it woudl be better as if [ -x /usr/xpg4/bin/sh ] ; then