From: pere.noel@... (=?ISO-8859-1?Q?Une_b=E9vue?=) Date: 2006-10-01T04:00:14+09:00 Subject: Re: getting the name of the script in use David Vallner wrote: > In the executed script, __FILE__ will contain the same as $0. Cf the "if > $0 == __FILE__ main() end" idiom. ok, thanks. > What's wrong with using basename again? nothing at all, i was dreaming of a direct way to gzt thz script name alone (for the usage message).... -- une b�vue