[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How is it explained about the `local` is valid variable
From: |
Chet Ramey |
Subject: |
Re: How is it explained about the `local` is valid variable |
Date: |
Wed, 25 Nov 2020 17:29:36 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.4.3 |
On 11/24/20 8:06 PM, Budi wrote:
> Can we validly write a line
>
> unset local a b c d e f g h i
>
> to mean: local a b c d e f g h i;unset a b c d e f g h i
No.
> if yes, how come local=9 is valid variable 'local' normally ? thanks much
Variables and builtin commands are in different namespaces.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/