Subject: Re: [devuan-dev] bug#855: Invalid processing of Parameter Expansion

From: Mark Hindley <[email-masked]>
Date: Thu, 15 Aug 2024 07:41:19 +0100

Control: merge -1 856

Murzik,

On Thu, Aug 15, 2024 at 05:24:40PM +1100, murzik wrote:
>    Package: bash
>    X-Debbugs-Cc: [email-masked]
>    Version: 5.2.15-2+b7
>    Severity: normal
>    Tags: upstream

As you have identified, this is an upstream issue.

You would be best reporting it using bashbug(1). Bash appears not to have a
public bug tracker, so I cannot see if it has already been reported.

Thanks

Mark

---

From: Mark Hindley <[email-masked]>
Date: Thu, 15 Aug 2024 14:19:54 +0100

On Thu, Aug 15, 2024 at 01:08:10PM +0000, g4sra wrote:
> Escaping $ rather than trying to quote works as expected
> 
> echo "${Var#*\$(}"
> 
> Is quoting a valid method in bash ?

A good point.

Closing as there may not even be a bug here. Even if there is, it is upstream.

Mark