This one time, at band camp, Voytek wrote:
>
>Jamie Wilkinson said:
>> echo "$0 executed on date/time in $exectime sec" >> /var/logs/$0.log
>
>
>Jamie, thanks
>
>how to parse on last '/' or strip the FQpath from $0 ?

echo `basename $0`

-- 
[EMAIL PROTECTED]                           http://spacepants.org/jaq.gpg
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to