[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why is srcdir passed as .
From: |
Thomas E. Dickey |
Subject: |
Re: Why is srcdir passed as . |
Date: |
Thu, 26 Oct 2000 11:03:10 -0400 (EDT) |
On 26 Oct 2000, Akim Demaille wrote:
> >>>>> "Thomas" == Thomas E Dickey <address@hidden> writes:
>
> Thomas> Is it true (for a shell) that $0 is always a full pathname?
> Thomas> (it could be a relative one, which complicates things a
> Thomas> little).
>
> I've never met any counterexample. A brand lot scripts out there use it.
$0 is a full pathname if that's the way the script was invoked (I assume
that's what you are saying - if it was not invoked with a full pathname,
it really depends on the shell that was used to look up the name of
the script).
--
T.E.Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com
- Why is srcdir passed as ., Ben Woodard, 2000/10/25
- RE: Why is srcdir passed as ., Bernard Dautrevaux, 2000/10/26
- Re: Why is srcdir passed as ., Lars J. Aas, 2000/10/26
- Re: Why is srcdir passed as ., Thomas E. Dickey, 2000/10/26
- Re: Why is srcdir passed as ., Akim Demaille, 2000/10/26
- Re: Why is srcdir passed as .,
Thomas E. Dickey <=
- Re: Why is srcdir passed as ., Akim Demaille, 2000/10/26
- Re: Why is srcdir passed as ., Thomas E. Dickey, 2000/10/26
- Re: Why is srcdir passed as ., Akim Demaille, 2000/10/26
Re: Why is srcdir passed as ., Ben Woodard, 2000/10/26
RE: Why is srcdir passed as ., Bernard Dautrevaux, 2000/10/26
RE: Why is srcdir passed as ., Bernard Dautrevaux, 2000/10/27
RE: Why is srcdir passed as ., Bernard Dautrevaux, 2000/10/27
RE: Why is srcdir passed as ., Bernard Dautrevaux, 2000/10/27