Am 08.01.2016 um 21:36 schrieb Piotr Grzybowski:
> hello Linda,
>
> On Fri, Jan 8, 2016 at 9:14 PM, Linda Walsh <[email protected]> wrote:
>>
>> For what it's worth, It might be useful to have something like
>> 'command' [..]
>
> that would be useful, a keyword like:
>
> function p params;
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
> that always calls function no matter what. maybe best would be to have
> something like:
>
> run -f fname params # if (f=find_function("fname"))!=null executes f else
> error
> run -c cname params # same as command cname params
> same with alias?
>
> maybe together with some general "whatis" mechanism, that would give
> information about a symbol, its definitions, and the order in which
> they are to be resolved.
Does:
type - a P
list them in order? It seems always to be in the order alias - function -
command.
-- Reuti