help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash Shell Parameter Expansion


From: Alex fxmbsw7 Ratchev
Subject: Re: Bash Shell Parameter Expansion
Date: Sun, 10 Oct 2021 01:09:12 +0200

you may be not reading the man bash to your version ?

a means b
- means str appears when var is unset ( never used yet )
+ means str appears when var is set already

:- means str if unset or empty
:+ str if set or empty

.. hmm im not sure atm..

On Sun, Oct 10, 2021, 00:58 tolugboji <tolugboji@protonmail.com> wrote:

> Some bash implementations mention ${PARAMETER-WORD} and
> ${PARAMETER+WORD}.  But these are not mentioned
> in the gnu bash manual?  Is this because they are not implemented in gnu
> bash?
>
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]