Re: your $(#…) bugreport

Jari Aalto <[email protected]> Tue, 3 Feb 2026 11:00:59 +0200
Newsgroups org.kernel.vger.dash
Message-ID <CAOU7HicmTfdNgsJEZM8xE51KNg+-kkGBtf_Lh6V7XY-pM804bg@mail.gmail.com>
On Mon, 26 Jan 2026 at 23:06, mirabilos <[email protected]> wrote:
> Hi Jari,
> https://pastebin.com/4LD95GJS
> Please do not capitalise any letter in =E2=80=9Cmksh=E2=80=9D

Cc: Chet, (thanks for the similar reply)

I'll remember, thanks for pointing it out..

> The thing is: the pr=C3=A6-POSIX accent-gravis-style command substitution
> is not identical to the POSIX $(=E2=80=A6) comsub. For example, the user =
may
> not use double quotes both outside and inside, as the results differ
> between shells there (and yes, POSIX allows that, and it is good to
> do so).
>
> [...]
> So, writing =E2=80=9C`#comment`=E2=80=9D, even if it works, is actually u=
ndefined, too.

Ouch, too bad POSIX didn't define them to be exact equivalents.
From user's perspective, I wou=C3=B6d have expected the statements to
exhibit the same behavior.

pasterbin deleted

Thanks for the explanation,
Jari