-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
For what it's worth, this little tidbit made it's way around our regional linux lug's mailing list a month or two ago: ~ scriptdir=$(cd $(dirname $0); pwd) ~ echo $scriptdir It seems to work for all combinations of: ~ OS: solaris 10, redhat 4.6, Suse 10.1, AIX 5.3 ~ Shell: #!/bin/bash, #!/bin/sh and #!/bin/ksh, ~ Invocation:a full path command, invoked by $PATH. excepting Solaris and /bin/sh. Luck! - -- Pat -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIP2FYNObCqA8uBswRArteAJ9JCdDN2WKB/JfvDIppLua1oPJLVwCaAm2V 3h9hJo5/KZqaaNga5OFQc0Q= =hNE9 -----END PGP SIGNATURE----- ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
