about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/Zsh')
-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()