Re: ksh alias ignored in autoloaded function
- From: "blaz" <blazk@xxxxxxxxxx>
- Date: 17 Jun 2006 18:50:24 -0700
If I understand correct you want it for "cosmetical" reasons, to avoid
passing ${0##*/} and $LINENO explicitly as arguments to the function.
yes, exactly
this is funny - the same solution is used in ksh93 source test scripts,
for example
'err_exit' function and corresponding 'err_exit' alias in
src/cmd/ksh93/tests/alias.sh
(but autoloaded functions are not involved, so it works...)
blaz
.
- References:
- ksh alias ignored in autoloaded function
- From: blaz
- Re: ksh alias ignored in autoloaded function
- From: Janis Papanagnou
- Re: ksh alias ignored in autoloaded function
- From: blaz
- Re: ksh alias ignored in autoloaded function
- From: Janis Papanagnou
- ksh alias ignored in autoloaded function
- Prev by Date: running ssh in a background from a for loop
- Next by Date: Re: running ssh in a background from a for loop
- Previous by thread: Re: ksh alias ignored in autoloaded function
- Next by thread: Re: ksh alias ignored in autoloaded function
- Index(es):
Relevant Pages
|