On 3/19/21 4:12 AM, Alex fxmbsw7 Ratchev wrote:
eval $'alias n=bla\nn() { type $FUNCNAME ; }\nn'
bla is a function
bla ()
{
     type $FUNCNAME
}

it was supposed to be n() ..

`n' is the first word in a position where a simple command can be parsed,
so it's subject to alias expansion.


--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to