On Wed, Aug 4, 2010 at 7:03 PM, Marc Herbert <marc.herb...@gmail.com> wrote:

> Le 04/08/2010 11:39, Clark J. Wang a écrit :
>
> > Seems like I must explicitly use the `function' keyword to define foo()
> for
> > this scenario. Is that the correct behavior?
>
> The correct behaviour is simply not to use aliases, since they bring
> nothing
> to the table compared to functions. Have a look at this:
> http://thread.gmane.org/gmane.comp.shells.bash.bugs/13865/focus=13901
>
> I do not agree. Aliases are much simpler to use than functions. I use
almost all (51 out of 52) the single letters ([:alpha:]) to define aliases.
I would not like a shell which has no aliases support.

>
> About the "function" keyword have a look at the discussion two days ago.
>

Reply via email to