bug-bash
[Top][All Lists]
Advanced

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

parameter expansion with `:` does not work


From: lisa-asket
Subject: parameter expansion with `:` does not work
Date: Thu, 8 Jul 2021 00:34:44 +0200 (CEST)

From: Chet Ramey <chet.ramey@case.edu>
To: lisa-asket@perso.be;
   bug-bash@gnu.org
Subject: Re: parameter expansion with `:` does not work
Date: 08/07/2021 00:14:36 Europe/Paris
Cc: chet.ramey@case.edu

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

> > : ${fltype:-"texi,org"}  # alternative to `fltype=` >
> 
> I'm not sure why you think that's an alternative. Maybe you meant
> ${fltype:="texi,org"}?
> 
> It is supposed to be built into bash so a new process is not created.
> Perhaps not in Gnu Bash?

> What are you talking about? What do you think you're saying?



Have read it somewhere.



-- 
``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]