On Thu, Mar 6, 2025, at 1:48 PM, microsuxx wrote:
> {0} is no expansion
> {0,} is
> it must be 2+

And this is documented.  It is not a bug.

        A correctly-formed brace expansion must contain unquoted
        opening and closing braces, and at least one unquoted comma
        or a valid sequence expression.  Any incorrectly formed
        brace expansion is left unchanged.

https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html

-- 
vq

  • Possible b... Trond Endrestøl via Bug reports for the GNU Bourne Again SHell
    • Re: P... microsuxx
      • R... Lawrence Velázquez
        • ... Kaz Kylheku
          • ... Lawrence Velázquez

Reply via email to