[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing the way bash expands associative array subscripts
From: |
Alex fxmbsw7 Ratchev |
Subject: |
Re: Changing the way bash expands associative array subscripts |
Date: |
Tue, 16 Mar 2021 13:39:51 +0100 |
i guess shell-keyword all then :))
On Tue, Mar 16, 2021 at 1:37 PM Greg Wooledge <greg@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....
>
>
- Re: Changing the way bash expands associative array subscripts, (continued)
- Re: Changing the way bash expands associative array subscripts, Léa Gris, 2021/03/15
- Re: Changing the way bash expands associative array subscripts, Lawrence Velázquez, 2021/03/16
- Re: Changing the way bash expands associative array subscripts, Alex fxmbsw7 Ratchev, 2021/03/16
- Re: Changing the way bash expands associative array subscripts, Greg Wooledge, 2021/03/16
- Re: Changing the way bash expands associative array subscripts, Alex fxmbsw7 Ratchev, 2021/03/16
- Re: Changing the way bash expands associative array subscripts, Greg Wooledge, 2021/03/16
- Re: Changing the way bash expands associative array subscripts,
Alex fxmbsw7 Ratchev <=
- Re: Changing the way bash expands associative array subscripts, Alex fxmbsw7 Ratchev, 2021/03/16
- Re: Changing the way bash expands associative array subscripts, Chet Ramey, 2021/03/29
- Re: Changing the way bash expands associative array subscripts, Robert Elz, 2021/03/16
- Re: Changing the way bash expands associative array subscripts, Alex fxmbsw7 Ratchev, 2021/03/17
- Re: Changing the way bash expands associative array subscripts, Robert Elz, 2021/03/17
Re: Changing the way bash expands associative array subscripts, Chet Ramey, 2021/03/29
Re: Changing the way bash expands associative array subscripts, Koichi Murase, 2021/03/15
Re: Changing the way bash expands associative array subscripts, Jesse Hathaway, 2021/03/17