On Wed, 3 Jan 2024 22:36:34 +0100
Martin Schulte <g...@schrader-schulte.de> wrote:

> Hello Oğuz!
> 
> > See:
> > 
> >     $ ${ case } in }) echo uname; esac }
> >     Linux
> >     $ ${ case }x in }x) echo uname; esac }
> >     bash: command substitution: line 25: syntax error near unexpected token 
> > `x'
> >     bash: command substitution: line 25: `    }x)'
> >     $ ${ case }x in \}x) echo uname; esac }
> >     Linux
> 
> I couldn't reproduce this with neither 5.1.4 nor 5.2.15 - in both cases

Neither of those versions support the non-forking command substitution syntax. 
You would need to build bash from the devel branch to reproduce it.

-- 
Kerin Millar

Reply via email to