Hi,

In a bash script I can look at $0 to find the name of the current script
file, but if it's started with a full path, I will find the full path
and filename in $0. 

How can I find only the name of the script file even if it's started
with the full path?

Regards
Gustav

-- 
pgp = Pretty Good Privacy.

To get my public pgp key, send an e-mail to: [EMAIL PROTECTED]

Visit my web site at http://www.schaffter.com


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to