From 2fb83f9b723caedf9b6dab32839fa3fc9c892844 Mon Sep 17 00:00:00 2001
From: Tuncer Ayaz
Date: Wed, 23 Feb 2011 18:53:51 +0100
Subject: Fix typos in zip manpage
---
lib/stdlib/doc/src/zip.xml | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/lib/stdlib/doc/src/zip.xml b/lib/stdlib/doc/src/zip.xml
index 4d98a20206..529a70a23d 100644
--- a/lib/stdlib/doc/src/zip.xml
+++ b/lib/stdlib/doc/src/zip.xml
@@ -34,11 +34,11 @@
zip
Utility for reading and creating 'zip' archives.
- The zip module archives and extract files to and from a zip
+
The zip module archives and extracts files to and from a zip
archive. The zip format is specified by the "ZIP Appnote.txt" file
available on PKWare's website www.pkware.com.
The zip module supports zip archive versions up to 6.1. However,
- password-protection and Zip64 is not supported.
+ password-protection and Zip64 are not supported.
By convention, the name of a zip file should end in ".zip".
To abide to the convention, you'll need to add ".zip" yourself
to the name.
@@ -52,7 +52,7 @@
unzip/2 function. (They are
also available as extract.)
To fold a function over all files in a zip archive, use the
- foldl_3.
+ foldl_3 function.
To return a list of the files in a zip archive, use the
list_dir/1 or the
list_dir/2 function. (They
@@ -155,13 +155,13 @@ zip_file()
Files will be compressed using the DEFLATE compression, as
described in the Appnote.txt file. However, files will be
stored without compression if they already are compressed.
- The zip/2 and zip/3 checks the file extension
+ The zip/2 and zip/3 functions check the file extension
to see whether the file should be stored without compression.
Files with the following extensions are not compressed:
.Z, .zip, .zoo, .arc, .lzh,
.arj.
It is possible to override the default behavior and
- explicitly control what types of files that should be
+ explicitly control what types of files should be
compressed by using the {compress, What} and
{uncompress, What} options. It is possible to have
several compress and uncompress options. In
@@ -208,7 +208,7 @@ zip_file()
{compress, What}
-
-
Controls what types of files that will be
+
Controls what types of files will be
compressed. It is by default set to all. The
following values of What are allowed:
@@ -228,7 +228,7 @@ zip_file()
{uncompress, What}
-
-
Controls what types of files that will be uncompressed. It is by
+
Controls what types of files will be uncompressed. It is by
default set to [".Z",".zip",".zoo",".arc",".lzh",".arj"].
The following values of What are allowed:
@@ -292,7 +292,7 @@ zip_file()
By default, the open/2 function will open the
zip file in raw mode, which is faster but does not allow
a remote (erlang) file server to be used. Adding cooked
- to the mode list will override the default and open zip file
+ to the mode list will override the default and open the zip file
without the raw option. The same goes for the files
extracted.
@@ -301,7 +301,7 @@ zip_file()
By default, all existing files with the same name as file in
the zip archive will be overwritten. With the keep_old_files
option, the unzip/2 function will not overwrite any existing
- files. Not that even with the memory option given, which
+ files. Note that even with the memory option given, which
means that no files will be overwritten, files existing will be
excluded from the result.
@@ -418,7 +418,7 @@ zip_file()
By default, the open/2 function will open the
zip file in raw mode, which is faster but does not allow
a remote (erlang) file server to be used. Adding cooked
- to the mode list will override the default and open zip file
+ to the mode list will override the default and open the zip file
without the raw option.
--
cgit v1.2.3