about summary refs log tree commit diff
path: root/Src/subst.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/subst.c')
-rw-r--r--Src/subst.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Src/subst.c b/Src/subst.c
index 48dac35e6..486ac60c9 100644
--- a/Src/subst.c
+++ b/Src/subst.c
@@ -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';
 	}