On 1/9/16 2:21 PM, Eric Cook wrote: > In mksh, ksh93, zsh and maybe others, you can use quotes to suppress alias > expansions during definition just like you would a simple command; > unfortunately bash deems it a invalid identifier.
This is how Posix specifies it, and how the `base implementations' (ksh-88 and the SVR4 sh) behaved. The function name has to be an identifier, and at this point in the lexical analysis, the quotes have not been removed. The ksh93/mksh/zsh quote removal behavior appears to be undocumented. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/