Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] An ickle bit of shell scripting

On Mon, Nov 13, 2000 at 11:59:33AM +0000, Thom May wrote:
> Hi folks
> I'm putting together a swift shell proggy, but it's going tobe
> symlinked to by about 4 aliases. I know that there is a way of
> working out what name the script has been called by, but I can't
> for the life of me remember what it is...


In particular :

CalledAs=`basename $0`