mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-02 06:40:55 +01:00
zsh-workers/7848
This commit is contained in:
parent
bc9e764f4e
commit
9e107157c5
1 changed files with 1 additions and 3 deletions
|
|
@ -242,7 +242,7 @@ singsub(char **s)
|
|||
}
|
||||
|
||||
/* Perform substitution on a single word. Unlike with singsub, the *
|
||||
* result can have more than one word. A single word result is sorted *
|
||||
* result can have more than one word. A single word result is stored *
|
||||
* in *s and *isarr is set to zero; otherwise *isarr is set to 1 and *
|
||||
* the result is stored in *a. If `a' is zero a multiple word result is *
|
||||
* joined using sep or the IFS parameter if sep is zero and the result *
|
||||
|
|
@ -1288,8 +1288,6 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub)
|
|||
if (*ptr == '\\' && ptr[1] == '/')
|
||||
chuck(ptr);
|
||||
replstr = (*ptr && ptr[1]) ? ptr+1 : "";
|
||||
singsub(&replstr);
|
||||
untokenize(replstr);
|
||||
*ptr = '\0';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue