Re: aliases v. functions; command extension? (-f & -F)?
From:
Chet Ramey
Subject:
Re: aliases v. functions; command extension? (-f & -F)?
Date:
Mon, 11 Jan 2016 10:19:29 -0500
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
On 1/9/16 5:06 PM, Piotr Grzybowski wrote:
> On Sat, Jan 9, 2016 at 8:12 PM, Reuti <reuti@staff.uni-marburg.de> wrote:
>>
>> AFAICS putting the name in quotes (single or double) will prefer the
>> function over the alias, but it will fall back to a command if there is no
>> function.
>>
>> 'P' params
>
> if Linda is ok with it, I will not argue, I would prefer an explicit
> way to call what I want.
You already know the invocation order, and there are several ways to alter
it. The whole reason `command' exists, for instance, is to skip the shell
function part of the command search.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/