mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-25 14:20:53 +01:00
52325: Clarify doc for edge cases of named references and nofork substitution
Unposted whitespace change avoids a parse error in ${ ... } with comments.
This commit is contained in:
parent
7a84713bb7
commit
fbec213cc5
6 changed files with 25 additions and 13 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue