about summary refs log tree commit diff
path: root/Doc/Zsh/mod_mapfile.yo
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 /Doc/Zsh/mod_mapfile.yo
parent1775a6ba81a4f5dbb92fd6c7a34f5cb43703bfb7 (diff)
downloadzsh-d9f1432e074872aa3a89515bc65ede5ad6551a47.tar.gz
zsh-d9f1432e074872aa3a89515bc65ede5ad6551a47.tar.xz
zsh-d9f1432e074872aa3a89515bc65ede5ad6551a47.zip
c.f. users/13251: update mapfile doc again
Diffstat (limited to 'Doc/Zsh/mod_mapfile.yo')
-rw-r--r--Doc/Zsh/mod_mapfile.yo5
1 files changed, 4 insertions, 1 deletions
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()