[Top][All Lists]

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

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

From: Chet Ramey
Subject: Re: Document that here strings don't support brace expansion.
Date: Wed, 15 Mar 2023 10:07:00 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

On 3/15/23 12:52 AM, Alex Bochannek wrote:

Thank you for the thoughtful responses. My thoughts below got a bit
long, so here is a summary:

- The here-string documentation should either spell out that brace
   expansion is not performed or simple only list the expansions that

The original text didn't describe the specific expansions for here-strings
at all, just deferred to the general description of redirections and here-
documents. I changed to the current text after an August 2011 discussion
where it was requested (in the midst of yet another riveting discussion of
the value of `set -e'). The fact that pathname expansion is not performed
was a particular sore point for at least one of the participants.

In general, I don't like enumerating expansions that aren't performed, but
it was the best way to resolve the issue here.

- The same goes for the documentation for the shell-expand-line Readline

Yes, I can make that explicit.

- A Readline command to expand braces is a nice to have, but not


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

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