From: Chet Ramey <chet.ra...@case.edu> To: lisa-as...@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.ra...@case.edu
On 7/7/21 5:50 PM, lisa-as...@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 c...@case.edu http://tiswww.cwru.edu/~chet/