1
0
Fork 0
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:
Bart Schaefer 2024-03-17 14:28:28 -07:00
parent 45b0a838aa
commit 25182cc2e6
5 changed files with 61 additions and 17 deletions

View file

@ -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

View file

Internal server error - The gay git

500

Internal server error

Forgejo version: 9.0.3

@ -1950,6 +1950,9 @@ the braces by whitespace, like `tt(${ )...tt( })', is replaced by its