On 3/15/23 12:52 AM, Alex Bochannek wrote:
Chet,
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
are.
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
command.
Yes, I can make that explicit.
- A Readline command to expand braces is a nice to have, but not
essential.
OK.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/