SPUG: finding full path to itself

Satish Gupta globetrotcom at yahoo.com
Tue May 30 14:36:20 PDT 2006

When I a stand-alone script is running, how can this script determine it's own absolute path in a portable manner?
  I notice that $0 works differently on different OS's. On some it gives full path and not on others.

Be a chatter box. Enjoy free PC-to-PC calls  with Yahoo! Messenger with Voice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/spug-list/attachments/20060530/feaa855a/attachment.html 

More information about the spug-list mailing list