bug-bash
[Top][All Lists]
Advanced

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

Brace expansion change on devel


From: Sam James
Subject: Brace expansion change on devel
Date: Sat, 10 May 2025 16:18:34 +0100
User-agent: mu4e 1.12.9; emacs 31.0.50

Hi,

Since the following commit on devel

      commit c3ca11424d2ae66cafa2f931b008dfb728e209a5
      Author: Chet Ramey <chet.ramey@case.edu>
      Date:   Wed Feb 12 11:18:16 2025 -0500
      fix issue with redirections to bash input file descriptor; new minimal 
chmod builtin; posix mode change for kill builtin return status; perform 
additional validation on brace expansion sequence expressions

the following behaves differently:
$ echo {a,../a.cfg}
{a,../a.cfg} # with devel

vs

$ echo {a,../a.cfg}
a ../a.cfg # with 5.2_p37

Does this constitute a valid sequence expression? The documentation
implies that even if not, an unquoted comma may be fine.

Quoting the first dot of .. suffices as a workaround:
$ echo {a,'.'./a.cfg}
a ../a.cfg

thanks,
sam



reply via email to

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