mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-12 11:01:15 +02:00
52759: ${ ... } trims one trailing newline; "${ ... }" preserves that newline.
This commit is contained in:
parent
45b0a838aa
commit
25182cc2e6
5 changed files with 61 additions and 17 deletions
|
@ -1,5 +1,10 @@
|
|||
2024-03-14 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 52759: Doc/Zsh/expn.yo, Etc/FAQ.yo, Src/subst.c,
|
||||
Test/D10nofork.ztst: change ${ ... } substitution to trim one
|
||||
trailing newline; instead "${ ... }" (with quotes) preserves that
|
||||
newline. All trailing newlines are still trimmed in emulations.
|
||||
|
||||
* unposted: Etc/BUGS: HIST_IGNORE_DUPS mishandles quoted whitespace.
|
||||
|
||||
* 52752: Src/params.c, Test/B02typeset.ztst: more typeset -p fixes
|
||||
|
|
|
@ -1950,6 +1950,9 @@ the braces by whitespace, like `tt(${ )...tt( })', is replaced by its
|
|||