bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: aliases v. functions; command extension? (-f & -F)?


From: Piotr Grzybowski
Subject: Re: aliases v. functions; command extension? (-f & -F)?
Date: Fri, 8 Jan 2016 21:36:49 +0100

hello Linda,

On Fri, Jan 8, 2016 at 9:14 PM, Linda Walsh <bash@tlinx.org> 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;

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.

sincerely,
pg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]