help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

$${a,b} brace expansion flaw.


From: Kaz Kylheku
Subject: $${a,b} brace expansion flaw.
Date: Fri, 19 Jan 2024 23:43:28 -0800
User-agent: Roundcube Webmail/1.4.15

Someone just posted this finding on Stackoverflow:

https://stackoverflow.com/questions/77850130/bash-parse-of-x-y

When brace expansion is adjacent to $$, it doesn't expand.

Try

   echo $${a,b}
   echo $$-{a,b}

Documented somewhere? Or bug?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]