I suggest avoiding enumerating exclusions (including removing any existing
ones), and adding an explanation that "expansions that can produce multiple
words are excluded".
On Wed, 15 Mar 2023, 15:52 Alex Bochannek, wrote:
> Chet,
>
> Thank you for the thoughtful responses. My thoughts below got
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 same goes for the documentation for the shell-
On Tue, Mar 14, 2023, 7:04 PM Chet Ramey wrote:
> On 3/14/23 11:23 AM, Dale R. Worley wrote:
> > Alex Bochannek writes:
> >> "The WORD undergoes tilde expansion, parameter and variable expansion,
> >> command substitution, arithmetic expansion, and quote removal. Filename
> >> expansion and wor
On 3/14/23 11:23 AM, Dale R. Worley wrote:
Alex Bochannek 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, whic
Alex Bochannek 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 ...
On 3/13/23 7:06 PM, Alex Bochannek wrote:
I also noticed that there doesn't seem to be an easy way to expand
braces with Readline, which I suspect may have to do with where in the
parsing process of Bash brace expansion actually happens.
Readline is fairly application-agnostic. There is a mec
On 3/7/23 11:56 AM, Grisha Levit wrote:
./bash --norc -in <<<$'\\\n.'
bashhist.c:899:8: runtime error: addition of unsigned offset to
0x00010700d190 overflowed to 0x00010700d18f
Thanks for the report.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa,
On 3/7/23 12:12 PM, Grisha Levit wrote:
happens when attempting spell-correct-word on an empty line
./bash --norc -in <<<$'\030s'
Thanks for the report.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech,
On 3/7/23 1:05 PM, Grisha Levit wrote:
mkdir -p /tmp/bin
'/tmp/bin/$'
chmod +x '/tmp/bin/$'
PATH=/tmp/bin ./bash --norc -in <<<$'\e*'
Thanks for the report and fix.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet R