[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing the way bash expands associative array subscripts
From: |
Greg Wooledge |
Subject: |
Re: Changing the way bash expands associative array subscripts |
Date: |
Tue, 16 Mar 2021 08:34:40 -0400 |
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....
- Changing the way bash expands associative array subscripts, Chet Ramey, 2021/03/15
- 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 <=
- Re: Changing the way bash expands associative array subscripts, Alex fxmbsw7 Ratchev, 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, 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