about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2001-05-02 09:53:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2001-05-02 09:53:32 +0000
commit6a0c6b1b27a2a3dcca1d54e86f6a95c3d5adfda5 (patch)
treeb3c8e796d0cf3aa908f14abdda0cc6ddc23e2e30
parentca29f22a8667e8ea4b6eccec1d2632d57e432e43 (diff)
downloadzsh-6a0c6b1b27a2a3dcca1d54e86f6a95c3d5adfda5.tar.gz
zsh-6a0c6b1b27a2a3dcca1d54e86f6a95c3d5adfda5.tar.xz
zsh-6a0c6b1b27a2a3dcca1d54e86f6a95c3d5adfda5.zip
Make X{$~foo}Y where $foo contains commas behave as expected
-rw-r--r--ChangeLog4
-rw-r--r--Src/glob.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b6b53af4..1f352c8d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-05-02  Peter Stephenson  <pws@csr.com>
+
+	* 14140: Src/glob.c:  v='A,B'; print X{$~v}Y  now prints XAY XBY.
+
 2001-05-02  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 14198: Src/Zle/computil.c: remove quotes when looking at
diff --git a/Src/glob.c b/Src/glob.c
index 5be79329b..9e9aa410a 100644
--- a/Src/glob.c
+++ b/Src/glob.c
@@ -2373,6 +2373,7 @@ tokenize(char *s)
 	case '*':
 	case '?':
 	case '=':
+	case ',':
 	    for (t = ztokens; *t; t++)
 		if (*t == *s) {
 		    if (bslash)