[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 5.3-alpha: less readable output when set -x
From: |
Chet Ramey |
Subject: |
Re: 5.3-alpha: less readable output when set -x |
Date: |
Wed, 24 Apr 2024 14:51:47 -0400 |
User-agent: |
Mozilla Thunderbird |
On 4/24/24 11:34 AM, balducci@units.it wrote:
Note the difference in how the argument to the function is
output. In the case of bash-5.3-alpha the syntax of the argument is
correct (ie if I call the show function with $'\n1\n2\n3\n' everything
works as expected), but is less readable (and this is more so if the
argument is a long stretch of lines)
For what I seem to understand, this might be related to:
----8<----
b. Bash does a better job of preserving user-supplied quotes around a word
completion, instead of requoting it.
---->8----
That's not it. It's sort of bundled together with a note about other
quoting changes. I can add a separate item to CHANGES if you think it
would be worthwhile.
Of course, if the "new" behavior is intentional, I guess there will be
good reasons for it and apologize for the noise
Grisha, unsurprisingly, identified the original report from June, 2023 that
prompted the change.
Chet
--
``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/