diff options
author | Bart Schaefer <schaefer@zsh.org> | 2023-11-23 13:23:55 -0800 |
---|---|---|
committer | Bart Schaefer <schaefer@zsh.org> | 2023-11-23 13:23:55 -0800 |
commit | fbec213cc5ab0d0316c98bd9ddb883bae3bbdbc5 (patch) | |
tree | e6ea125a6b117e989b7b990b9f8d96ad2b2013b5 /Src | |
parent | 7a84713bb7a1527d4ef9bfa8c745d1bfa7da9d59 (diff) | |
download | zsh-fbec213cc5ab0d0316c98bd9ddb883bae3bbdbc5.tar.gz zsh-fbec213cc5ab0d0316c98bd9ddb883bae3bbdbc5.tar.xz zsh-fbec213cc5ab0d0316c98bd9ddb883bae3bbdbc5.zip |
52325: Clarify doc for edge cases of named references and nofork substitution
Unposted whitespace change avoids a parse error in ${ ... } with comments.
Diffstat (limited to 'Src')
-rw-r--r-- | Src/subst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/subst.c b/Src/subst.c index 4ef1d1269..3a1187350 100644 --- a/Src/subst.c +++ b/Src/subst.c @@ -1956,7 +1956,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int pf_flags, * Then fall through to the regular handling of $REPLY * to manage word splitting, expansion flags, etc. */ - char *outfmt = ">| %s { %s ;}"; /* 13 */ + char *outfmt = ">| %s {\n%s\n;}"; /* 13 */ if ((rplytmp = gettempname(NULL, 1))) { /* Prevent shenanigans with $TMPPREFIX */ char *tmpfile = quotestring(rplytmp, QT_BACKSLASH); |