Re: ksh alias ignored in autoloaded function




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

.



Relevant Pages

  • Re: New car tax
    ... I can see lots of reasons for not being a bit more precise if only in ... certain professional protocols of my own community. ... What is funny is when people purporting to be academics merely spout the ... Sewer Rat ...
    (uk.transport)
  • Re: Are 2 + 2rs playing together at WSOP?
    ... The bitterness stems from being invited back as a host/announcer.  ... a prominent position within the organization and had several reasons to turn ... up there and you talk funny and they're gonna think you're stupid". ...
    (rec.gambling.poker)
  • Re: Need help changing code....
    ... Instead of just passing by the posting, I thought I would give you ... I am passing on this opportunity for the following reasons: ... There are always more message in various newsgroups ... that I may also want to get to, in the limited time that I have for ...
    (microsoft.public.vb.general.discussion)
  • Re: Obama and Not Exactly ($1 to Hertz)
    ... swing at Charlie Chaplin only to wind up hitting himself. ... Are you a liar for passing off ... I'd hoped you'd meant it to be funny. ...
    (rec.sport.football.college)
  • Re: OT-HEATH LEDGER IS DEAD
    ... When my wife watched it I simply went upstairs to the other ... Funny people these Americans... ... No its not funny - but since you apparently know all the reasons why a man ... which would cause a man to take his own life, ...
    (rec.music.classical.recordings)

Quantcast