Re: Having an alias and a function with the same name leads to some sort
From:
Dale R. Worley
Subject:
Re: Having an alias and a function with the same name leads to some sort of recursion
Date:
Tue, 14 Feb 2023 14:58:05 -0500
>> Looking at the manual page, it says
>>
>> ALIASES
>> Aliases allow a string to be substituted for a word when it is used
>> as
>> the first word of a simple command.
Martin suggested (but IIUC didn't sent to this list):
> "Beginning of a simple command" should probably be replaced by something
> more along the lines of "beginning of any command that does not start with
> a keyword (such as "while", "if", "case", etc) or assignment.
Though I think by "keyword" he means "reserved word".
Dale