[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to test if a variable is declared?
From: |
Alex fxmbsw7 Ratchev |
Subject: |
Re: How to test if a variable is declared? |
Date: |
Sun, 13 Mar 2022 19:47:44 +0100 |
i see, sorry
peace, bless
On Sun, Mar 13, 2022 at 6:25 PM Koichi Murase <myoga.murase@gmail.com>
wrote:
> 2022年3月14日(月) 0:02 Alex fxmbsw7 Ratchev <fxmbsw7@gmail.com>:
> >
> > [[ -v var ]] || printf not\\n
>
> This thread is continued from the discussion two years ago. See the
> original post of this thread where the reason that -v cannot be used
> is explained:
> https://lists.gnu.org/archive/html/help-bash/2020-03/msg00015.html
>