bug-bash
[Top][All Lists]
Advanced

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

Re: Document that here strings don't support brace expansion.


From: Dale R. Worley
Subject: Re: Document that here strings don't support brace expansion.
Date: Tue, 14 Mar 2023 11:23:05 -0400

Alex Bochannek <alex@bochannek.com> writes:
> "The WORD undergoes tilde expansion, parameter and variable expansion,
> command substitution, arithmetic expansion, and quote removal.  Filename
> expansion and word splitting are not performed."
>
> It is missing brace expansion, which is not supported:

Interesting ... I would recommend adding brace expansion to the list of
things-not-done because I think it's a common cognitive error to include
brace expansion as part of filename expansion -- it's one of those
things you do on the command line to generate a list of the files you
want.  In particular, *I* am subject to that cognitive error; whenever I
don't think carefully about it, I don't distinguish the two.

Dale



reply via email to

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