On 4/8/21 6:02 PM, Koichi Murase wrote:

No error message for `unset 'a[]''?

It's still a valid function name, and `unset' attempts to unset variables
first, then functions. POSIX leaves that unspecified; that is how bash
behaves. Bash doesn't print an error message if you try to unset a function
that doesn't exist, and this falls into that case.

I'll respond to the rest at a later time, but this was quick.

--
``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