From 7db1a0cf3d6b93b8a434e1add6d923b0e6047e00 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 14 Aug 2011 23:10:41 +0000 Subject: 29388, 29680: clarify note about e:string: quoting. --- ChangeLog | 5 ++++- Doc/Zsh/expn.yo | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d9e63f36e..59a18dc36 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,9 @@ * unposted: Src/jobs.c: fix capitalized word in the middle of a sentence. + * 29388, 29680: Doc/Zsh/expn.yo: clarify note about e:string: + quoting. + 2011-08-14 Barton E. Schaefer * 29677: Src/exec.c, Src/signals.c, Src/zsh.h: flag jobs that are @@ -15254,5 +15257,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5427 $ +* $Revision: 1.5428 $ ***************************************************** diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 7060a49b4..4c85d3119 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -2367,8 +2367,8 @@ latter is inserted into the command line word by word. For example, suppose a directory contains a single file `tt(lonely)'. Then the expression `tt(*(e:'reply=(${REPLY}{1,2})':))' will cause the words -`tt(lonely1 lonely2)' to be inserted into the command line. Note the -quotation marks. +`tt(lonely1)' and `tt(lonely2)' to be inserted into the command line. Note +the quoting of var(string). The form tt(PLUS())var(cmd) has the same effect, but no delimiters appear around var(cmd). Instead, var(cmd) is taken as the longest sequence of -- cgit 1.4.1