On a GNU system, I would just use readlink -f $SOME_PATH , but Solaris does not have readlink.
I would prefer something that works well in bash, but if necessary, other programs are fine.
Edit: The best I've used so far is using cd and pwd, but requires a few more hackers to work with files, not just directories.
cd -P "$*" REAL_PATH=`pwd`
source share