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:12: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:08:23 Europe/Paris
Cc: chet.ramey@case.edu

On 7/7/21 5:50 PM, lisa-asket@perso.be wrote:
> 
> Have noticed that parameter expansion with `:` does not work
> 
> 
> 
> : ${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?



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