diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2001-05-02 09:53:32 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2001-05-02 09:53:32 +0000 |
commit | 6a0c6b1b27a2a3dcca1d54e86f6a95c3d5adfda5 (patch) | |
tree | b3c8e796d0cf3aa908f14abdda0cc6ddc23e2e30 | |
parent | ca29f22a8667e8ea4b6eccec1d2632d57e432e43 (diff) | |
download | zsh-6a0c6b1b27a2a3dcca1d54e86f6a95c3d5adfda5.tar.gz zsh-6a0c6b1b27a2a3dcca1d54e86f6a95c3d5adfda5.tar.xz zsh-6a0c6b1b27a2a3dcca1d54e86f6a95c3d5adfda5.zip |
Make X{$~foo}Y where $foo contains commas behave as expected
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Src/glob.c | 1 |
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) |