bug-bash
[Top][All Lists]
Advanced

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

Re: parameter expansion with `:` does not work


From: Chet Ramey
Subject: Re: parameter expansion with `:` does not work
Date: Wed, 7 Jul 2021 18:59:52 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.1

On 7/7/21 6:53 PM, lisa-asket@perso.be wrote:

Yes I can see one has :- and the other has  :=

But I also noticed : at the front, with someone saying that the command does not
exist in Gnu Bash.

No one implied that `the command' is not present in bash.

Seriously, just replace the :- expansion with := and go on with your code.
It's the least intrusive change, and won't disturb your logic.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

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