[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
- 'official function declaration format' doesn't work if alias defined, Linda Walsh, 2016/01/06
- Re: 'official function declaration format' doesn't work if alias defined, Greg Wooledge, 2016/01/07
- Re: 'official function declaration format' doesn't work if alias defined, Reuti, 2016/01/07
- Re: aliases v. functions; command extension? (-f & -F)?, Linda Walsh, 2016/01/08
- doesn't bash do variable subst. or quote removal on function statement, Linda Walsh, 2016/01/09
- Re: doesn't bash do variable subst. or quote removal on function statement, Andreas Schwab, 2016/01/10
- Re: differences in Q.-removal, var-expansion and allowed characters in fn & var names, Linda Walsh, 2016/01/10
- Re: differences in Q.-removal, var-expansion and allowed characters in fn & var names, Chet Ramey, 2016/01/11
- Re: doesn't bash do variable subst. or quote removal on function statement, Chet Ramey, 2016/01/11
- Re: doesn't bash do variable subst. or quote removal on function statement, Linda Walsh, 2016/01/12
- Re: doesn't bash do variable subst. or quote removal on function statement, Greg Wooledge, 2016/01/12