as for shell keyword be more important and vital to shells, than more
external [or so?] built ins
unset -v var ## very internal to shell var extension thatss not possible to
disable
[[ .. ## a test for strings or so containing
..

it would not make sense to have unset be lower than [[

On Tue, Mar 16, 2021 at 1:39 PM Alex fxmbsw7 Ratchev <fxmb...@gmail.com>
wrote:

> i guess shell-keyword all then :))
>
> On Tue, Mar 16, 2021 at 1:37 PM Greg Wooledge <g...@wooledge.org> wrote:
>
>> On Tue, Mar 16, 2021 at 01:26:30PM +0100, Alex fxmbsw7 Ratchev wrote:
>> > no idea about your internal rules of keyword and builtin
>>
>> unicorn:~$ type [
>> [ is a shell builtin
>> unicorn:~$ type [[
>> [[ is a shell keyword
>>
>> You know how you're allowed to omit quotes inside [[ but not inside [ ?
>> That's because [[ has magical powers.  It's a "shell keyword".  It has
>> its own special rules.
>>
>> > but clearly its
>> > gotta parse it at most 1. level otherwise its big security fault isnt it
>> > its a shell fuctionality keyword, unset, so ..
>>
>> I would not complain if unset became a shell keyword, and had a complete
>> revamp of its behavior.  As long as we're willing to break backward
>> compatibility, which Chet seems like he's aiming to do anyway....
>>
>>

Reply via email to