about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-09-19 09:14:55 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-09-19 09:14:55 +0000
commitd9f1432e074872aa3a89515bc65ede5ad6551a47 (patch)
treecf5f4d530062cf33cfe114a1df3fd52b60dc09bb
parent1775a6ba81a4f5dbb92fd6c7a34f5cb43703bfb7 (diff)
downloadzsh-d9f1432e074872aa3a89515bc65ede5ad6551a47.tar.gz
zsh-d9f1432e074872aa3a89515bc65ede5ad6551a47.tar.xz
zsh-d9f1432e074872aa3a89515bc65ede5ad6551a47.zip
c.f. users/13251: update mapfile doc again
-rw-r--r--ChangeLog5
-rw-r--r--Doc/Zsh/mod_mapfile.yo5
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d818348b4..e1223aa1c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-19  Peter Stephenson  <pws@csr.com>
+
+	* Unposted, but see users/13251: Doc/Zsh/mod_mapfile.yo: update
+	users/13239.
+
 2008-09-18  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 25690: Src/Zle/zle_hist.c: fix insertlastword not to
diff --git a/Doc/Zsh/mod_mapfile.yo b/Doc/Zsh/mod_mapfile.yo
index 9a46ff895..98114aea2 100644
--- a/Doc/Zsh/mod_mapfile.yo
+++ b/Doc/Zsh/mod_mapfile.yo
@@ -27,7 +27,10 @@ The parameter tt(mapfile) may be made read-only; in that case, files
 referenced may not be written or deleted.
 
 A file may conveniently be read into an array as one line per element
-with the form `var(array)tt(=LPAR()${(f)mapfile[)var(filename)tt(]RPAR())'.
+with the form
+`var(array)tt(=LPAR()"${(f)mapfile[)var(filename)tt(]}"RPAR())'.
+The double quotes are necessary to prevent empty lines from being
+removed.
 )
 enditem()