Re: [Help-bash] Is it possible to not require escaping to access hash ke
From:
Grisha Levit
Subject:
Re: [Help-bash] Is it possible to not require escaping to access hash key in [[ -v ]]?
Date:
Fri, 14 Dec 2018 07:36:30 -0500
On Thu, Dec 13, 2018 at 1:06 AM Peng Yu <address@hidden> wrote:
> Is there a way to access a key with [[ -v ]] without the extra escaping?
>
No, but it is always safe to use the following:
[[ -v a[\$i] ]]