Muli Ben-Yehuda wrote:
untested, but should work, modulu error handling:

APP=`which app`
DIR=`dirname $APP`
cd $DIR && echo $DIR && $APP

etc

I thoough the standard way to get APP in the context of the snippet above is to use $0, which as far as I remember is what Sun's java startup scripts use (no immediate access to verify).

Look it up in sh(1).

Cheers,

--Amos



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to