On Wed, Jul 7, 2021, 7:55 PM <lisa-as...@perso.be> wrote: > > > Things are clearer now. > > > > > Seriously, just replace the :- expansion with := and go on with your > code. > > It's the least intrusive change, and won't disturb your logic. > > > > I executed > > > > echo "${parameter:-word}"; echo "${parameter}" > > > > and then > > > > echo "${parameter:=word}"; echo "${parameter}" > > > > It was to make the distinction clear. > > > > As I was in it, have also changed > > > > fdir=${fdir:-$PWD} > > > > to > > > > fdir=${fdir:=$PWD} > > > >
Ack!