Home » Personal collection » Acorn hard disk » unzip_tools » !ZipEE » Resources/unzip.doc

Resources/unzip.doc

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn hard disk » unzip_tools » !ZipEE
Filename: Resources/unzip.doc
Read OK:
File size: AE11 bytes
Load address: 0000
Exec address: 0000
File contents
UNZIP(1L)                                               UNZIP(1L)

NAME
       unzip  -  list, test and extract compressed files in a ZIP
       archive

SYNOPSIS
       unzip    [-Z]    [-cflptuvz[abjnoqsCLMVX$]]     file[.zip]
       [file(s) ...]  [-x xfile(s) ...] [-d exdir]

DESCRIPTION
       unzip  will  list,  test,  or  extract  files  from  a ZIP
       archive, commonly found on MS-DOS  systems.   The  default
       behavior  (with no options) is to extract into the current
       directory (and subdirectories below it) all files from the
       specified ZIP archive.  A companion program, zip(1L), cre-
       ates ZIP  archives;  both  programs  are  compatible  with
       archives created by PKWARE's PKZIP and PKUNZIP for MS-DOS,
       but in many cases the program options or default behaviors
       differ.

ARGUMENTS
       file[.zip]
              Path of the ZIP archive(s).  If the file specifica-
              tion is a wildcard, each matching file is processed
              in  an order determined by the operating system (or
              file system).  Only the filename can be a wildcard;
              the  path  itself cannot.  Wildcard expressions are
              similar to Unix egrep(1) (regular) expressions  and
              may contain:

              *      matches a sequence of 0 or more characters

              ?      matches exactly 1 character

              [...]  matches  any  single  character found inside
                     the brackets;  ranges  are  specified  by  a
                     beginning character, a hyphen, and an ending
                     character.  If an  exclamation  point  or  a
                     caret (`!' or `^') follows the left bracket,
                     then the  range  of  characters  within  the
                     brackets  is complemented (that is, anything
                     except the characters inside the brackets is
                     considered a match).

              (Be  sure  to quote any character that might other-
              wise be interpreted or modified  by  the  operating
              system,  particularly  under  Unix and VMS.)  If no
              matches are found, the specification is assumed  to
              be  a literal filename; and if that also fails, the
              suffix .zip is appended.  Note that self-extracting
              ZIP  files  are  supported,  as  with any other ZIP
              archive; just specify  the  .exe  suffix  (if  any)
              explicitly.

Info-ZIP             3 November 1997 (v5.32)                    1

UNZIP(1L)                                               UNZIP(1L)

       [file(s)]
              An  optional  list  of  archive  members to be pro-
              cessed, separated by spaces.   (VMS  versions  com-
              piled  with  VMSCLI defined must delimit files with
              commas instead.  See -v in OPTIONS below.)  Regular
              expressions (wildcards) may be used to match multi-
              ple members; see above.  Again, be  sure  to  quote
              expressions  that  would  otherwise  be expanded or
              modified by the operating system.

       [-x xfile(s)]
              An optional list of archive members to be  excluded
              from  processing.   Since wildcard characters match
              directory separators (`/'), this option may be used
              to  exclude  any  files that are in subdirectories.
              For example, ``unzip  foo  *.[ch]  -x  */*''  would
              extract  all  C source files in the main directory,
              but none in any  subdirectories.   Without  the  -x
              option,  all  C  source  files  in  all directories
              within the zipfile would be extracted.

       [-d exdir]
              An optional directory to which  to  extract  files.
              By default, all files and subdirectories are recre-
              ated in the current directory; the -d option allows
              extraction in an arbitrary directory (always assum-
              ing one has permission to write to the  directory).
              This  option need not appear at the end of the com-
              mand line; it is also accepted before  the  zipfile
              specification  (with  the  normal options), immedi-
              ately after the zipfile specification,  or  between
              the  file(s)  and  the  -x  option.  The option and
              directory may be  concatenated  without  any  white
              space  between  them,  but note that this may cause
              normal shell behavior to be suppressed.  In partic-
              ular, ``-d ~'' (tilde) is expanded by Unix C shells
              into the name of the  user's  home  directory,  but
              ``-d~''  is treated as a literal subdirectory ``~''
              of the current directory.

OPTIONS
       Note that,  in  order  to  support  obsolescent  hardware,
       unzip's  usage  screen  is  limited  to 22 or 23 lines and
       should therefore be considered  only  a  reminder  of  the
       basic  unzip  syntax rather than an exhaustive list of all
       possible flags.  The exhaustive list follows:

       -Z     zipinfo(1L) mode.  If the first option on the  com-
              mand line is -Z, the remaining options are taken to
              be zipinfo(1L) options.  See the appropriate manual
              page for a description of these options.

       -A     [OS/2,  Unix DLL] print extended help for the DLL's
              programming interface (API).

Info-ZIP             3 November 1997 (v5.32)                    2

UNZIP(1L)                                               UNZIP(1L)

       -c     extract files  to  stdout/screen  (``CRT'').   This
              option  is similar to the -p option except that the
              name of each file is printed as  it  is  extracted,
              the  -a option is allowed, and ASCII-EBCDIC conver-
              sion is  automatically  performed  if  appropriate.
              This  option  is  not  listed  in  the  unzip usage
              screen.

       -f     freshen existing files, i.e.,  extract  only  those
              files that already exist on disk and that are newer
              than the disk copies.   By  default  unzip  queries
              before  overwriting,  but the -o option may be used
              to suppress the  queries.   Note  that  under  many
              operating  systems,  the  TZ (timezone) environment
              variable must be set correctly in order for -f  and
              -u  to  work  properly  (under Unix the variable is
              usually set automatically).  The reasons  for  this
              are somewhat subtle but have to do with the differ-
              ences between DOS-format file times  (always  local
              time) and Unix-format times (always in GMT/UTC) and
              the necessity to compare the  two.   A  typical  TZ
              value  is  ``PST8PDT''  (US Pacific time with auto-
              matic  adjustment  for  Daylight  Savings  Time  or
              ``summer time'').

       -l     list  archive  files  (short  format).   The names,
              uncompressed file sizes and modification dates  and
              times  of  the  specified  files are printed, along
              with totals for all files specified.  If UnZip  was
              compiled  with  OS2_EAS defined, the -l option also
              lists columns for the sizes of stored OS/2 extended
              attributes  (EAs)  and  OS/2  access  control lists
              (ACLs).  In addition, the zipfile comment and indi-
              vidual  file comments (if any) are displayed.  If a
              file was archived from a  single-case  file  system
              (for  example,  the old MS-DOS FAT file system) and
              the -L option was given, the filename is  converted
              to lowercase and is prefixed with a caret (^).

       -p     extract  files  to  pipe (stdout).  Nothing but the
              file data is sent to  stdout,  and  the  files  are
              always extracted in binary format, just as they are
              stored (no conversions).

       -t     test archive  files.   This  option  extracts  each
              specified  file  in  memory  and  compares  the CRC
              (cyclic redundancy check, an enhanced checksum)  of
              the  expanded  file with the original file's stored
              CRC value.

       -T     [most OSes] set the timestamp on the archive(s)  to
              that  of  the newest file in each one.  This corre-
              sponds to zip's -go option except that  it  can  be
              used   on   wildcard  zipfiles  (e.g.,  ``unzip  -T

Info-ZIP             3 November 1997 (v5.32)                    3

UNZIP(1L)                                               UNZIP(1L)

              \*.zip'') and is much faster.

       -u     update  existing  files  and  create  new  ones  if
              needed.   This option performs the same function as
              the -f option, extracting (with query)  files  that
              are  newer  than  those with the same name on disk,
              and in addition it extracts those files that do not
              already  exist  on disk.  See -f above for informa-
              tion on setting the timezone properly.

       -v     be verbose or print diagnostic version info.   This
              option  has  evolved  and  now  behaves  as both an
              option and a modifier.  As an  option  it  has  two
              purposes:   when  a  zipfile  is  specified with no
              other options, -v lists  archive  files  verbosely,
              adding to the basic -l info the compression method,
              compressed size, compression ratio and 32-bit  CRC.
              When no zipfile is specified (that is, the complete
              command  is  simply  ``unzip  -v''),  a  diagnostic
              screen  is  printed.   In  addition  to  the normal
              header with release date and version,  unzip  lists
              the home Info-ZIP ftp site and where to find a list
              of other ftp and non-ftp sites; the target  operat-
              ing  system  for  which it was compiled, as well as
              (possibly) the hardware on which it  was  compiled,
              the  compiler and version used, and the compilation
              date; any special compilation  options  that  might
              affect the program's operation (see also DECRYPTION
              below); and any options stored in environment vari-
              ables  that  might  do  the  same  (see ENVIRONMENT
              OPTIONS below).  As a modifier it works in conjunc-
              tion  with other options (e.g., -t) to produce more
              verbose or debugging output; this is not yet  fully
              implemented but will be in future releases.

       -z     display only the archive comment.

MODIFIERS
       -a     convert  text  files.   Ordinarily  all  files  are
              extracted exactly as they are stored (as ``binary''
              files).   The  -a option causes files identified by
              zip as text files (those with the `t' label in zip-
              info listings, rather than `b') to be automatically
              extracted as such, converting line endings, end-of-
              file  characters  and  the  character set itself as
              necessary.  (For example, Unix files use line feeds
              (LFs) for end-of-line (EOL) and have no end-of-file
              (EOF)  marker;  Macintoshes  use  carriage  returns
              (CRs)  for  EOLs; and most PC operating systems use
              CR+LF for EOLs and control-Z for EOF.  In addition,
              IBM mainframes and the Michigan Terminal System use
              EBCDIC rather than the more common ASCII  character
              set,  and  NT  supports  Unicode.)  Note that zip's
              identification  of  text  files  is  by  no   means

Info-ZIP             3 November 1997 (v5.32)                    4

UNZIP(1L)                                               UNZIP(1L)

              perfect; some ``text'' files may actually be binary
              and vice versa.  unzip therefore prints  ``[text]''
              or  ``[binary]'' as a visual check for each file it
              extracts when using the -a option.  The -aa  option
              forces  all  files to be extracted as text, regard-
              less of the supposed file type.

       -b     [non-VMS] treat all files as binary (no  text  con-
              versions).  This is a shortcut for ---a.

       -b     [VMS]  auto-convert  binary files (see -a above) to
              fixed-length, 512-byte record format.  Doubling the
              option  (-bb)  forces  all files to be extracted in
              this format.

       -B     [Unix only, and only if  compiled  with  UNIXBACKUP
              defined]  save  a  backup  copy of each overwritten
              file with a tilde appended (e.g., the old  copy  of
              ``foo''  is  renamed to ``foo~'').  This is similar
              to the default behavior of emacs(1) in  many  loca-
              tions.

       -C     match  filenames  case-insensitively.  unzip's phi-
              losophy is ``you get what you ask  for''  (this  is
              also responsible for the -L/-U change; see the rel-
              evant options below).  Because  some  file  systems
              are  fully  case-sensitive (notably those under the
              Unix  operating  system)  and  because   both   ZIP
              archives and unzip itself are portable across plat-
              forms, unzip's default behavior is  to  match  both
              wildcard  and  literal  filenames case-sensitively.
              That is, specifying  ``makefile''  on  the  command
              line  will  only match ``makefile'' in the archive,
              not ``Makefile'' or ``MAKEFILE'' (and similarly for
              wildcard specifications).  Since this does not cor-
              respond to  the  behavior  of  many  other  operat-
              ing/file  systems  (for  example,  OS/2 HPFS, which
              preserves mixed case but is not sensitive  to  it),
              the  -C  option  may  be used to force all filename
              matches to be  case-insensitive.   In  the  example
              above,  all  three  files  would then match ``make-
              file'' (or ``make*'', or similar).  The  -C  option
              affects  files in both the normal file list and the
              excluded-file list (xlist).

       -j     junk paths.  The archive's directory  structure  is
              not  recreated;  all  files  are  deposited  in the
              extraction directory (by default, the current one).

       -L     convert to lowercase any filename originating on an
              uppercase-only operating  system  or  file  system.
              (This  was  unzip's  default  behavior  in releases
              prior to 5.11; the new default behavior is  identi-
              cal  to  the old behavior with the -U option, which

Info-ZIP             3 November 1997 (v5.32)                    5

UNZIP(1L)                                               UNZIP(1L)

              is now obsolete and will be  removed  in  a  future
              release.)    Depending   on   the  archiver,  files
              archived under single-case file systems  (VMS,  old
              MS-DOS  FAT,  etc.)  may be stored as all-uppercase
              names;  this  can  be  ugly  or  inconvenient  when
              extracting to a case-preserving file system such as
              OS/2 HPFS or a case-sensitive  one  such  as  under
              Unix.   By  default  unzip  lists and extracts such
              filenames  exactly  as  they're  stored  (excepting
              truncation,  conversion  of unsupported characters,
              etc.); this option causes the names  of  all  files
              from  certain systems to be converted to lowercase.

       -M     pipe all output through an internal  pager  similar
              to  the  Unixmore(1)  command.   At  the  end  of a
              screenful  of   output,   unzip   pauses   with   a
              ``--More--''  prompt;  the  next  screenful  may be
              viewed by pressing the Enter (Return)  key  or  the
              space bar.  unzip can be terminated by pressing the
              ``q'' key and, on some  systems,  the  Enter/Return
              key.   Unlike  Unix  more(1),  there is no forward-
              searching  or  editing  capability.   Also,   unzip
              doesn't  notice  if  long lines wrap at the edge of
              the screen, effectively resulting in  the  printing
              of  two  or more lines and the likelihood that some
              text will scroll off the top of the  screen  before
              being viewed.  On some systems the number of avail-
              able lines on the screen is not detected, in  which
              case unzip assumes the height is 24 lines.

       -n     never  overwrite existing files.  If a file already
              exists, skip the extraction of  that  file  without
              prompting.    By   default   unzip  queries  before
              extracting any file that already exists;  the  user
              may  choose  to  overwrite  only  the current file,
              overwrite all files, skip extraction of the current
              file,  skip  extraction  of  all existing files, or
              rename the current file.

       -N     [Amiga] extract file comments as  Amiga  filenotes.
              File  comments  are  created  with the -c option of
              zip(1L), or with the -N option of the Amiga port of
              zip(1L), which stores filenotes as comments.

       -o     overwrite  existing  files without prompting.  This
              is a dangerous option, so use it with care.  (It is
              often used with -f, however, and is the only way to
              overwrite directory EAs under OS/2.)

       -P password
              use password to decrypt encrypted  zipfile  entries
              (if any).  THIS IS INSECURE!  Many multi-user oper-
              ating systems provide ways for any user to see  the

Info-ZIP             3 November 1997 (v5.32)                    6

UNZIP(1L)                                               UNZIP(1L)

              current  command  line  of  any other user; even on
              stand-alone systems there is always the  threat  of
              over-the-shoulder  peeking.   Storing the plaintext
              password as part of a command line in an  automated
              script  is  even worse.  Whenever possible, use the
              non-echoing, interactive prompt to enter passwords.
              (And  where security is truly important, use strong
              encryption such as Pretty Good Privacy  instead  of
              the relatively weak encryption provided by standard
              zipfile utilities.)

       -q     perform operations quietly (-qq  =  even  quieter).
              Ordinarily unzip prints the names of the files it's
              extracting or testing, the extraction methods,  any
              file  or zipfile comments that may be stored in the
              archive, and possibly a summary when finished  with
              each  archive.   The  -q[q]  options  suppress  the
              printing of some or all of these messages.

       -s     [OS/2, NT, MS-DOS] convert spaces in  filenames  to
              underscores.   Since all PC operating systems allow
              spaces in  filenames,  unzip  by  default  extracts
              filenames     with     spaces     intact     (e.g.,
              ``EA DATA. SF'').  This can  be  awkward,  however,
              since MS-DOS in particular does not gracefully sup-
              port spaces in filenames.  Conversion of spaces  to
              underscores  can  eliminate the awkwardness in some
              cases.

       -U     (obsolete; to be removed in a future release) leave
              filenames  uppercase  if created under MS-DOS, VMS,
              etc.  See -L above.

       -V     retain (VMS) file version numbers.  VMS  files  can
              be  stored  with  a  version  number, in the format
              file.ext;##.  By default the ``;##''  version  num-
              bers  are  stripped, but this option allows them to
              be retained.  (On file systems that limit filenames
              to  particularly short lengths, the version numbers
              may be truncated or  stripped  regardless  of  this
              option.)

       -X     [VMS, Unix, OS/2, NT] restore owner/protection info
              (UICs) under VMS, or user and group info  (UID/GID)
              under  Unix,  or  access control lists (ACLs) under
              certain  network-enabled  versions  of  OS/2  (Warp
              Server  with  IBM  LAN Server/Requester 3.0 to 5.0;
              Warp Connect with IBM Peer 1.0), or  security  ACLs
              under  Windows NT.  In most cases this will require
              special system privileges, and doubling the  option
              (-XX)  under  NT  instructs unzip to use privileges
              for extraction; but under Unix, for example, a user
              who  belongs  to  several  groups can restore files
              owned by any of those groups, as long as  the  user

Info-ZIP             3 November 1997 (v5.32)                    7

UNZIP(1L)                                               UNZIP(1L)

              IDs  match his or her own.  Note that ordinary file
              attributes are always restored--this option applies
              only to optional, extra ownership info available on
              some operating systems.  [NT's access control lists
              do  not  appear  to  be  especially compatible with
              OS/2's, so no attempt  is  made  at  cross-platform
              portability  of access privileges.  It is not clear
              under what conditions this  would  ever  be  useful
              anyway.]

       -$     [MS-DOS,  OS/2, NT] restore the volume label if the
              extraction medium is removable (e.g., a  diskette).
              Doubling  the option (-$$) allows fixed media (hard
              disks) to be labelled as well.  By default,  volume
              labels are ignored.

ENVIRONMENT OPTIONS
       unzip's  default  behavior  may  be  modified  via options
       placed in an environment variable.  This can be done  with
       any  option,  but  it is probably most useful with the -a,
       -L, -C, -q, -o, or -n modifiers:  make unzip  auto-convert
       text  files  by  default,  make  it convert filenames from
       uppercase systems to lowercase, make it match names  case-
       insensitively,  make  it  quieter, or make it always over-
       write or never overwrite files as it extracts  them.   For
       example,  to  make  unzip act as quietly as possible, only
       reporting errors, one would use one of the following  com-
       mands:

           UNZIP=-qq; export UNZIP    Unix Bourne shell
           setenv UNZIP -qq           Unix C shell
           set UNZIP=-qq              OS/2 or MS-DOS
           define UNZIP_OPTS "-qq"    VMS (quotes for lowercase)

       Environment  options are, in effect, considered to be just
       like any other command-line options, except that they  are
       effectively  the  first  options  on the command line.  To
       override an environment option, one may  use  the  ``minus
       operator'' to remove it.  For instance, to override one of
       the quiet-flags in the example above, use the command

           unzip --q[other options] zipfile

       The first hyphen is the normal switch character,  and  the
       second  is a minus sign, acting on the q option.  Thus the
       effect here is to cancel one  quantum  of  quietness.   To
       cancel  both  quiet  flags,  two  (or more) minuses may be
       used:

           unzip -t--q zipfile
           unzip ---qt zipfile

       (the two are equivalent).  This may seem awkward  or  con-
       fusing,  but  it is reasonably intuitive:  just ignore the

Info-ZIP             3 November 1997 (v5.32)                    8

UNZIP(1L)                                               UNZIP(1L)

       first hyphen and go from there.   It  is  also  consistent
       with the behavior of Unix nice(1).

       As  suggested  by the examples above, the default variable
       names are UNZIP_OPTS for VMS (where  the  symbol  used  to
       install unzip as a foreign command would otherwise be con-
       fused with the environment variable), and  UNZIP  for  all
       other  operating systems.  For compatibility with zip(1L),
       UNZIPOPT is also accepted (don't ask).  If both UNZIP  and
       UNZIPOPT  are  defined,  however,  UNZIP takes precedence.
       unzip's diagnostic option (-v with no zipfile name) can be
       used  to  check  the values of all four possible unzip and
       zipinfo environment variables.

       The timezone variable (TZ) should be set according to  the
       local  timezone in order for the -f and -u to operate cor-
       rectly.  See the description  of  -f  above  for  details.
       This  variable  may  also be necessary in order for times-
       tamps on extracted files to be set correctly.  Under  Win-
       dows  95/NT unzip should know the correct timezone even if
       TZ is unset, assuming the timezone is correctly set in the
       Control Panel.

DECRYPTION
       Encrypted  archives  are fully supported by Info-ZIP soft-
       ware, but due to United States  export  restrictions,  the
       encryption  and  decryption  sources are not packaged with
       the regular unzip and zip distributions.  Since the  crypt
       sources  were  written  by  Europeans,  however,  they are
       freely available at sites throughout the  world;  see  the
       file  ``WHERE'' in any Info-ZIP source or binary distribu-
       tion for locations both inside and outside the US.

       Because of the separate  distribution,  not  all  compiled
       versions  of unzip support decryption.  To check a version
       for crypt support, either attempt to test  or  extract  an
       encrypted archive, or else check unzip's diagnostic screen
       (see the -v option above) for ``[decryption]'' as  one  of
       the special compilation options.

       As  noted  above,  the  -P  option may be used to supply a
       password on the command line, but at a cost  in  security.
       The  preferred decryption method is simply to extract nor-
       mally; if a zipfile member is encrypted, unzip will prompt
       for  the  password  without  echoing what is typed.  unzip
       continues to use the same password as long as  it  appears
       to  be  valid,  by  testing a 12-byte header on each file.
       The correct password will always  check  out  against  the
       header,  but  there is a 1-in-256 chance that an incorrect
       password will as well.  (This is a security feature of the
       PKWARE   zipfile  format;  it  helps  prevent  brute-force
       attacks that might otherwise gain a large speed  advantage
       by  testing  only the header.)  In the case that an incor-
       rect password is given  but  it  passes  the  header  test

Info-ZIP             3 November 1997 (v5.32)                    9

UNZIP(1L)                                               UNZIP(1L)

       anyway,  either an incorrect CRC will be generated for the
       extracted data or else unzip will fail during the  extrac-
       tion  because  the ``decrypted'' bytes do not constitute a
       valid compressed data stream.

       If the first password fails the header check on some file,
       unzip  will  prompt  for another password, and so on until
       all files are extracted.  If  a  password  is  not  known,
       entering  a null password (that is, just a carriage return
       or ``Enter'') is taken as a signal  to  skip  all  further
       prompting.   Only unencrypted files in the archive(s) will
       thereafter be extracted.  (In fact, that's not quite true;
       older  versions  of  zip(1L) and zipcloak(1L) allowed null
       passwords, so unzip checks each encrypted file to  see  if
       the null password works.  This may result in ``false posi-
       tives'' and extraction errors, as noted above.)

       Archives encrypted  with  8-bit  passwords  (for  example,
       passwords  with  accented  European characters) may not be
       portable across  systems  and/or  other  archivers.   This
       problem  stems  from  the use of multiple encoding methods
       for such characters, including Latin-1  (ISO  8859-1)  and
       OEM  code  page  850.   DOS  PKZIP 2.04g uses the OEM code
       page; Windows PKZIP 2.50 uses Latin-1  (and  is  therefore
       incompatible  with  DOS PKZIP); Info-ZIP uses the OEM code
       page on DOS, OS/2 and Win3.x ports but Latin-1  everywhere
       else; and Nico Mak's WinZip 6.x does not allow 8-bit pass-
       words at all.  UnZip 5.3 attempts to use the default char-
       acter set first (e.g., Latin-1), followed by the alternate
       one (e.g., OEM code page) to test  passwords.   On  EBCDIC
       systems,  if  both  of these fail, EBCDIC encoding will be
       tested as a  last  resort.   (Since  there  are  no  known
       archivers  that  encrypt  using EBCDIC encoding, EBCDIC is
       not tested on non-EBCDIC systems.)  ISO  character  encod-
       ings other than Latin-1 are not supported.

EXAMPLES
       To  use  unzip  to extract all members of the archive let-
       ters.zip into the  current  directory  and  subdirectories
       below it, creating any subdirectories as necessary:

           unzip letters

       To  extract  all  members  of letters.zip into the current
       directory only:

           unzip -j letters

       To test letters.zip, printing only a summary message indi-
       cating whether the archive is OK or not:

           unzip -tq letters

       To  test  all  zipfiles in the current directory, printing

Info-ZIP             3 November 1997 (v5.32)                   10

UNZIP(1L)                                               UNZIP(1L)

       only the summaries:

           unzip -tq \*.zip

       (The backslash before the asterisk is only required if the
       shell  expands  wildcards, as in Unix; double quotes could
       have  been  used  instead,  as  in  the  source   examples
       below.)  To extract to standard output all members of let-
       ters.zip whose names end in .tex, auto-converting  to  the
       local  end-of-line  convention  and piping the output into
       more(1):

           unzip -ca letters \*.tex | more

       To extract the binary file paper1.dvi to  standard  output
       and pipe it to a printing program:

           unzip -p articles paper1.dvi | dvips

       To  extract all FORTRAN and C source files--*.f, *.c, *.h,
       and Makefile--into the /tmp directory:

           unzip source.zip "*.[fch]" Makefile -d /tmp

       (the double quotes are necessary only in Unix and only  if
       globbing  is  turned  on).   To  extract all FORTRAN and C
       source files, regardless of case (e.g., both *.c and  *.C,
       and any makefile, Makefile, MAKEFILE or similar):

           unzip -C source.zip "*.[fch]" makefile -d /tmp

       To extract any such files but convert any uppercase MS-DOS
       or VMS names to lowercase and convert the line-endings  of
       all of the files to the local standard (without respect to
       any files that might be marked ``binary''):

           unzip -aaCL source.zip "*.[fch]" makefile -d /tmp

       To extract only newer versions of the files already in the
       current  directory, without querying (NOTE:  be careful of
       unzipping  in  one   timezone   a   zipfile   created   in
       another--ZIP  archives other than those created by Zip 2.1
       or later contain no timezone information, and a  ``newer''
       file from an eastern timezone may, in fact, be older):

           unzip -fo sources

       To extract newer versions of the files already in the cur-
       rent directory and to create any files not  already  there
       (same caveat as previous example):

           unzip -uo sources

       To  display  a  diagnostic  screen showing which unzip and

Info-ZIP             3 November 1997 (v5.32)                   11

UNZIP(1L)                                               UNZIP(1L)

       zipinfo  options  are  stored  in  environment  variables,
       whether  decryption  support was compiled in, the compiler
       with which unzip was compiled, etc.:

           unzip -v

       In the last five examples, assume that UNZIP or UNZIP_OPTS
       is set to -q.  To do a singly quiet listing:

           unzip -l file.zip

       To do a doubly quiet listing:

           unzip -ql file.zip

       (Note  that  the ``.zip'' is generally not necessary.)  To
       do a standard listing:

           unzip --ql file.zip
       or
           unzip -l-q file.zip
       or
           unzip -l--q file.zip       (extra minuses don't hurt)

TIPS
       The current maintainer, being a lazy sort, finds  it  very
       useful  to define a pair of aliases:  tt for ``unzip -tq''
       and ii for ``unzip -Z'' (or ``zipinfo'').   One  may  then
       simply  type  ``tt zipfile'' to test an archive, something
       that is worth making a habit of doing.   With  luck  unzip
       will  report  ``No  errors  detected in compressed data of
       zipfile.zip,'' after which  one  may  breathe  a  sigh  of
       relief.

       The maintainer also finds it useful to set the UNZIP envi-
       ronment variable to ``-aL'' and is tempted to  add  ``-C''
       as well.  His ZIPINFO variable is set to ``-z''.

DIAGNOSTICS
       The  exit  status  (or  error level) approximates the exit
       codes defined by PKWARE and takes on the following values,
       except under VMS:

              0      normal; no errors or warnings detected.

              1      one or more warning errors were encountered,
                     but processing completed  successfully  any-
                     way.   This  includes  zipfiles where one or
                     more files was skipped  due  to  unsupported
                     compression  method  or  encryption  with an
                     unknown password.

              2      a generic error in the  zipfile  format  was
                     detected.   Processing  may  have  completed

Info-ZIP             3 November 1997 (v5.32)                   12

UNZIP(1L)                                               UNZIP(1L)

                     successfully anyway;  some  broken  zipfiles
                     created by other archivers have simple work-
                     arounds.

              3      a severe error in  the  zipfile  format  was
                     detected.   Processing probably failed imme-
                     diately.

              4      unzip was unable to allocate memory for  one
                     or  more  buffers during program initializa-
                     tion.

              5      unzip  was  unable  to  allocate  memory  or
                     unable  to  obtain a tty to read the decryp-
                     tion password(s).

              6      unzip was unable to allocate  memory  during
                     decompression to disk.

              7      unzip  was  unable to allocate memory during
                     in-memory decompression.

              8      [currently not used]

              9      the specified zipfiles were not found.

              10     invalid options were specified on  the  com-
                     mand line.

              11     no matching files were found.

              50     the disk is (or was) full during extraction.

              51     the end of the ZIP archive  was  encountered
                     prematurely.

              80     the user aborted unzip prematurely with con-
                     trol-C (or similar)

              81     testing or extraction of one or  more  files
                     failed  due to unsupported compression meth-
                     ods or unsupported decryption.

              82     no files were found due  to  bad  decryption
                     password(s).   (If even one file is success-
                     fully processed, however, the exit status is
                     1.)

       VMS  interprets  standard  Unix  (or  PC) return values as
       other, scarier-looking things, so unzip instead maps  them
       into  VMS-style  status  codes.  The current mapping is as
       follows:   1 (success) for  normal  exit,  0x7fff0001  for
       warning     errors,     and    (0x7fff000?    +    16*nor-
       mal_unzip_exit_status) for all other errors, where the `?'

Info-ZIP             3 November 1997 (v5.32)                   13

UNZIP(1L)                                               UNZIP(1L)

       is  2  (error)  for  unzip values 2, 9-11 and 80-82, and 4
       (fatal error) for the remaining ones (3-8,  50,  51).   In
       addition,  there  is  a  compilation option to expand upon
       this behavior:  defining RETURN_CODES results in a  human-
       readable explanation of what the error status means.

BUGS
       Multi-part  archives are not yet supported, except in con-
       junction  with  zip.   (All  parts  must  be  concatenated
       together  in  order, and then ``zip -F'' must be performed
       on the concatenated archive in order to ``fix'' it.)  This
       will definitely be corrected in the next major release.

       Archives  read  from standard input are not yet supported,
       except with funzip (and then only the first member of  the
       archive can be extracted).

       Archives  encrypted  with 8-bit passwords (e.g., passwords
       with accented European characters)  may  not  be  portable
       across systems and/or other archivers.  See the discussion
       in DECRYPTION above.

       unzip's -M (``more'') option is overly simplistic  in  its
       handling  of  screen  output;  as noted above, it fails to
       detect the wrapping of long lines and  may  thereby  cause
       lines  at  the top of the screen to be scrolled off before
       being read.  unzip should detect and treat each occurrence
       of   line-wrap  as  one  additional  line  printed.   This
       requires knowledge of the screen's width as  well  as  its
       height.   In addition, unzip should detect the true screen
       geometry on all systems.

       Dates, times and permissions of stored directories are not
       restored except under Unix.

       [MS-DOS]  When extracting or testing files from an archive
       on a defective floppy diskette, if the ``Fail'' option  is
       chosen  from  DOS's ``Abort, Retry, Fail?'' message, older
       versions of unzip may hang the system, requiring a reboot.
       This  problem  appears to be fixed, but control-C (or con-
       trol-Break) can still be used to terminate unzip.

       Under DEC Ultrix, unzip would sometimes fail on long  zip-
       files (bad CRC, not always reproducible).  This was appar-
       ently due either to a hardware bug (cache  memory)  or  an
       operating  system bug (improper handling of page faults?).
       Since Ultrix has been abandoned in favor of  Digital  Unix
       (OSF/1), this may not be an issue anymore.

       [Unix]  Unix  special  files  such  as FIFO buffers (named
       pipes),  block  devices  and  character  devices  are  not
       restored  even if they are somehow represented in the zip-
       file, nor are hard-linked files relinked.   Basically  the
       only  file  types  restored  by  unzip  are regular files,

Info-ZIP             3 November 1997 (v5.32)                   14

UNZIP(1L)                                               UNZIP(1L)

       directories and symbolic (soft) links.

       [OS/2] Extended attributes for  existing  directories  are
       only  updated  if  the  -o  (``overwrite  all'') option is
       given.  This is a  limitation  of  the  operating  system;
       because  directories  only have a creation time associated
       with them, unzip has  no  way  to  determine  whether  the
       stored  attributes  are newer or older than those on disk.
       In practice this may mean a two-pass approach is required:
       first  unpack the archive normally (with or without fresh-
       ening/updating existing files), then  overwrite  just  the
       directory entries (e.g., ``unzip -o foo */'').

       [VMS]  When  extracting  to  another  directory,  only the
       [.foo] syntax is accepted for the -d  option;  the  simple
       Unix foo syntax is silently ignored (as is the less common
       VMS foo.dir syntax).

       [VMS]  When  the  file  being  extracted  already  exists,
       unzip's  query only allows skipping, overwriting or renam-
       ing; there should additionally be a choice for creating  a
       new  version  of  the  file.   In  fact, the ``overwrite''
       choice does create a new version; the old version  is  not
       overwritten or deleted.

SEE ALSO
       funzip(1L),   zip(1L),   zipcloak(1L),  zipgrep(1L),  zip-
       info(1L), zipnote(1L), zipsplit(1L)

URL
       The    Info-ZIP    home    page    is     currently     at
       http://www.cdrom.com/pub/infozip/ .

AUTHORS
       The  primary Info-ZIP authors (current semi-active members
       of  the  Zip-Bugs  workgroup)  are:   Greg  ``Cave  Newt''
       Roelofs  (UnZip);  Onno  van  der  Linden (Zip); Jean-loup
       Gailly (compression); Mark Adler (decompression,  fUnZip);
       Christian  Spieler  (VMS,  MS-DOS,  Windows 95, NT, shared
       code, general Zip and UnZip integration and optimization);
       Mike  White  (Windows  GUI,  Windows DLLs); Kai Uwe Rommel
       (OS/2); Paul Kienitz (Amiga, Windows 95);  Chris  Herborth
       (BeOS,  QNX,  Atari);  Jonathan  Hudson (SMS/QDOS); Sergio
       Monesi (Acorn RISC OS); Harald Denker (Atari,  MVS);  John
       Bush  (Solaris, Amiga); Hunter Goatley (VMS); Steve Salis-
       bury (Windows 95, NT);  Steve  Miller  (Windows  CE  GUI),
       Johnny  Lee (MS-DOS, Windows 95, NT); and Dave Smith (Tan-
       dem NSK).  The author of  the  original  unzip  code  upon
       which  Info-ZIP's  was based is Samuel H. Smith; Carl Mas-
       cott did the first Unix port;  and  David  P.   Kirschbaum
       organized  and  led  Info-ZIP in its early days with Keith
       Petersen hosting the original mailing  list  at  WSMR-Sim-
       Tel20.   The  full list of contributors to UnZip has grown
       quite large; please refer to  the  CONTRIBS  file  in  the

Info-ZIP             3 November 1997 (v5.32)                   15

UNZIP(1L)                                               UNZIP(1L)

       UnZip  source  distribution for a relatively complete ver-
       sion.

VERSIONS
       v1.2   15 Mar 89   Samuel H. Smith
       v2.0    9 Sep 89   Samuel H. Smith
       v2.x   fall 1989   many Usenet contributors
       v3.0    1 May 90   Info-ZIP (DPK, consolidator)
       v3.1   15 Aug 90   Info-ZIP (DPK, consolidator)
       v4.0    1 Dec 90   Info-ZIP (GRR, maintainer)
       v4.1   12 May 91   Info-ZIP
       v4.2   20 Mar 92   Info-ZIP (Zip-Bugs subgroup, GRR)
       v5.0   21 Aug 92   Info-ZIP (Zip-Bugs subgroup, GRR)
       v5.01  15 Jan 93   Info-ZIP (Zip-Bugs subgroup, GRR)
       v5.1    7 Feb 94   Info-ZIP (Zip-Bugs subgroup, GRR)
       v5.11   2 Aug 94   Info-ZIP (Zip-Bugs subgroup, GRR)
       v5.12  28 Aug 94   Info-ZIP (Zip-Bugs subgroup, GRR)
       v5.2   30 Apr 96   Info-ZIP (Zip-Bugs subgroup, GRR)
       v5.3   22 Apr 97   Info-ZIP (Zip-Bugs subgroup, GRR)
       v5.31  31 May 97   Info-ZIP (Zip-Bugs subgroup, GRR)
       v5.32   3 Nov 97   Info-ZIP (Zip-Bugs subgroup, GRR)

Info-ZIP             3 November 1997 (v5.32)                   16

00000000  0a 55 4e 5a 49 50 28 31  4c 29 20 20 20 20 20 20  |.UNZIP(1L)      |
00000010  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000030  20 20 20 20 20 20 20 20  20 55 4e 5a 49 50 28 31  |         UNZIP(1|
00000040  4c 29 0a 0a 4e 41 4d 45  0a 20 20 20 20 20 20 20  |L)..NAME.       |
00000050  75 6e 7a 69 70 20 20 2d  20 20 6c 69 73 74 2c 20  |unzip  -  list, |
00000060  74 65 73 74 20 61 6e 64  20 65 78 74 72 61 63 74  |test and extract|
00000070  20 63 6f 6d 70 72 65 73  73 65 64 20 66 69 6c 65  | compressed file|
00000080  73 20 69 6e 20 61 20 5a  49 50 0a 20 20 20 20 20  |s in a ZIP.     |
00000090  20 20 61 72 63 68 69 76  65 0a 0a 53 59 4e 4f 50  |  archive..SYNOP|
000000a0  53 49 53 0a 20 20 20 20  20 20 20 75 6e 7a 69 70  |SIS.       unzip|
000000b0  20 20 20 20 5b 2d 5a 5d  20 20 20 20 5b 2d 63 66  |    [-Z]    [-cf|
000000c0  6c 70 74 75 76 7a 5b 61  62 6a 6e 6f 71 73 43 4c  |lptuvz[abjnoqsCL|
000000d0  4d 56 58 24 5d 5d 20 20  20 20 20 66 69 6c 65 5b  |MVX$]]     file[|
000000e0  2e 7a 69 70 5d 0a 20 20  20 20 20 20 20 5b 66 69  |.zip].       [fi|
000000f0  6c 65 28 73 29 20 2e 2e  2e 5d 20 20 5b 2d 78 20  |le(s) ...]  [-x |
00000100  78 66 69 6c 65 28 73 29  20 2e 2e 2e 5d 20 5b 2d  |xfile(s) ...] [-|
00000110  64 20 65 78 64 69 72 5d  0a 0a 44 45 53 43 52 49  |d exdir]..DESCRI|
00000120  50 54 49 4f 4e 0a 20 20  20 20 20 20 20 75 6e 7a  |PTION.       unz|
00000130  69 70 20 20 77 69 6c 6c  20 20 6c 69 73 74 2c 20  |ip  will  list, |
00000140  20 74 65 73 74 2c 20 20  6f 72 20 20 65 78 74 72  | test,  or  extr|
00000150  61 63 74 20 20 66 69 6c  65 73 20 20 66 72 6f 6d  |act  files  from|
00000160  20 20 61 20 5a 49 50 0a  20 20 20 20 20 20 20 61  |  a ZIP.       a|
00000170  72 63 68 69 76 65 2c 20  63 6f 6d 6d 6f 6e 6c 79  |rchive, commonly|
00000180  20 66 6f 75 6e 64 20 6f  6e 20 4d 53 2d 44 4f 53  | found on MS-DOS|
00000190  20 20 73 79 73 74 65 6d  73 2e 20 20 20 54 68 65  |  systems.   The|
000001a0  20 20 64 65 66 61 75 6c  74 0a 20 20 20 20 20 20  |  default.      |
000001b0  20 62 65 68 61 76 69 6f  72 20 20 28 77 69 74 68  | behavior  (with|
000001c0  20 6e 6f 20 6f 70 74 69  6f 6e 73 29 20 69 73 20  | no options) is |
000001d0  74 6f 20 65 78 74 72 61  63 74 20 69 6e 74 6f 20  |to extract into |
000001e0  74 68 65 20 63 75 72 72  65 6e 74 0a 20 20 20 20  |the current.    |
000001f0  20 20 20 64 69 72 65 63  74 6f 72 79 20 28 61 6e  |   directory (an|
00000200  64 20 73 75 62 64 69 72  65 63 74 6f 72 69 65 73  |d subdirectories|
00000210  20 62 65 6c 6f 77 20 69  74 29 20 61 6c 6c 20 66  | below it) all f|
00000220  69 6c 65 73 20 66 72 6f  6d 20 74 68 65 0a 20 20  |iles from the.  |
00000230  20 20 20 20 20 73 70 65  63 69 66 69 65 64 20 5a  |     specified Z|
00000240  49 50 20 61 72 63 68 69  76 65 2e 20 20 41 20 63  |IP archive.  A c|
00000250  6f 6d 70 61 6e 69 6f 6e  20 70 72 6f 67 72 61 6d  |ompanion program|
00000260  2c 20 7a 69 70 28 31 4c  29 2c 20 63 72 65 2d 0a  |, zip(1L), cre-.|
00000270  20 20 20 20 20 20 20 61  74 65 73 20 5a 49 50 20  |       ates ZIP |
00000280  20 61 72 63 68 69 76 65  73 3b 20 20 62 6f 74 68  | archives;  both|
00000290  20 20 70 72 6f 67 72 61  6d 73 20 20 61 72 65 20  |  programs  are |
000002a0  20 63 6f 6d 70 61 74 69  62 6c 65 20 20 77 69 74  | compatible  wit|
000002b0  68 0a 20 20 20 20 20 20  20 61 72 63 68 69 76 65  |h.       archive|
000002c0  73 20 63 72 65 61 74 65  64 20 62 79 20 50 4b 57  |s created by PKW|
000002d0  41 52 45 27 73 20 50 4b  5a 49 50 20 61 6e 64 20  |ARE's PKZIP and |
000002e0  50 4b 55 4e 5a 49 50 20  66 6f 72 20 4d 53 2d 44  |PKUNZIP for MS-D|
000002f0  4f 53 2c 0a 20 20 20 20  20 20 20 62 75 74 20 69  |OS,.       but i|
00000300  6e 20 6d 61 6e 79 20 63  61 73 65 73 20 74 68 65  |n many cases the|
00000310  20 70 72 6f 67 72 61 6d  20 6f 70 74 69 6f 6e 73  | program options|
00000320  20 6f 72 20 64 65 66 61  75 6c 74 20 62 65 68 61  | or default beha|
00000330  76 69 6f 72 73 0a 20 20  20 20 20 20 20 64 69 66  |viors.       dif|
00000340  66 65 72 2e 0a 0a 41 52  47 55 4d 45 4e 54 53 0a  |fer...ARGUMENTS.|
00000350  20 20 20 20 20 20 20 66  69 6c 65 5b 2e 7a 69 70  |       file[.zip|
00000360  5d 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |].              |
00000370  50 61 74 68 20 6f 66 20  74 68 65 20 5a 49 50 20  |Path of the ZIP |
00000380  61 72 63 68 69 76 65 28  73 29 2e 20 20 49 66 20  |archive(s).  If |
00000390  74 68 65 20 66 69 6c 65  20 73 70 65 63 69 66 69  |the file specifi|
000003a0  63 61 2d 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ca-.            |
000003b0  20 20 74 69 6f 6e 20 69  73 20 61 20 77 69 6c 64  |  tion is a wild|
000003c0  63 61 72 64 2c 20 65 61  63 68 20 6d 61 74 63 68  |card, each match|
000003d0  69 6e 67 20 66 69 6c 65  20 69 73 20 70 72 6f 63  |ing file is proc|
000003e0  65 73 73 65 64 0a 20 20  20 20 20 20 20 20 20 20  |essed.          |
000003f0  20 20 20 20 69 6e 20 20  61 6e 20 6f 72 64 65 72  |    in  an order|
00000400  20 64 65 74 65 72 6d 69  6e 65 64 20 62 79 20 74  | determined by t|
00000410  68 65 20 6f 70 65 72 61  74 69 6e 67 20 73 79 73  |he operating sys|
00000420  74 65 6d 20 28 6f 72 0a  20 20 20 20 20 20 20 20  |tem (or.        |
00000430  20 20 20 20 20 20 66 69  6c 65 20 73 79 73 74 65  |      file syste|
00000440  6d 29 2e 20 20 4f 6e 6c  79 20 74 68 65 20 66 69  |m).  Only the fi|
00000450  6c 65 6e 61 6d 65 20 63  61 6e 20 62 65 20 61 20  |lename can be a |
00000460  77 69 6c 64 63 61 72 64  3b 0a 20 20 20 20 20 20  |wildcard;.      |
00000470  20 20 20 20 20 20 20 20  74 68 65 20 20 70 61 74  |        the  pat|
00000480  68 20 20 69 74 73 65 6c  66 20 63 61 6e 6e 6f 74  |h  itself cannot|
00000490  2e 20 20 57 69 6c 64 63  61 72 64 20 65 78 70 72  |.  Wildcard expr|
000004a0  65 73 73 69 6f 6e 73 20  61 72 65 0a 20 20 20 20  |essions are.    |
000004b0  20 20 20 20 20 20 20 20  20 20 73 69 6d 69 6c 61  |          simila|
000004c0  72 20 74 6f 20 55 6e 69  78 20 65 67 72 65 70 28  |r to Unix egrep(|
000004d0  31 29 20 28 72 65 67 75  6c 61 72 29 20 65 78 70  |1) (regular) exp|
000004e0  72 65 73 73 69 6f 6e 73  20 20 61 6e 64 0a 20 20  |ressions  and.  |
000004f0  20 20 20 20 20 20 20 20  20 20 20 20 6d 61 79 20  |            may |
00000500  63 6f 6e 74 61 69 6e 3a  0a 0a 20 20 20 20 20 20  |contain:..      |
00000510  20 20 20 20 20 20 20 20  2a 20 20 20 20 20 20 6d  |        *      m|
00000520  61 74 63 68 65 73 20 61  20 73 65 71 75 65 6e 63  |atches a sequenc|
00000530  65 20 6f 66 20 30 20 6f  72 20 6d 6f 72 65 20 63  |e of 0 or more c|
00000540  68 61 72 61 63 74 65 72  73 0a 0a 20 20 20 20 20  |haracters..     |
00000550  20 20 20 20 20 20 20 20  20 3f 20 20 20 20 20 20  |         ?      |
00000560  6d 61 74 63 68 65 73 20  65 78 61 63 74 6c 79 20  |matches exactly |
00000570  31 20 63 68 61 72 61 63  74 65 72 0a 0a 20 20 20  |1 character..   |
00000580  20 20 20 20 20 20 20 20  20 20 20 5b 2e 2e 2e 5d  |           [...]|
00000590  20 20 6d 61 74 63 68 65  73 20 20 61 6e 79 20 20  |  matches  any  |
000005a0  73 69 6e 67 6c 65 20 20  63 68 61 72 61 63 74 65  |single  characte|
000005b0  72 20 66 6f 75 6e 64 20  69 6e 73 69 64 65 0a 20  |r found inside. |
000005c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000005d0  20 20 20 20 74 68 65 20  62 72 61 63 6b 65 74 73  |    the brackets|
000005e0  3b 20 20 72 61 6e 67 65  73 20 20 61 72 65 20 20  |;  ranges  are  |
000005f0  73 70 65 63 69 66 69 65  64 20 20 62 79 20 20 61  |specified  by  a|
00000600  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000610  20 20 20 20 20 20 62 65  67 69 6e 6e 69 6e 67 20  |      beginning |
00000620  63 68 61 72 61 63 74 65  72 2c 20 61 20 68 79 70  |character, a hyp|
00000630  68 65 6e 2c 20 61 6e 64  20 61 6e 20 65 6e 64 69  |hen, and an endi|
00000640  6e 67 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |ng.             |
00000650  20 20 20 20 20 20 20 20  63 68 61 72 61 63 74 65  |        characte|
00000660  72 2e 20 20 49 66 20 61  6e 20 20 65 78 63 6c 61  |r.  If an  excla|
00000670  6d 61 74 69 6f 6e 20 20  70 6f 69 6e 74 20 20 6f  |mation  point  o|
00000680  72 20 20 61 0a 20 20 20  20 20 20 20 20 20 20 20  |r  a.           |
00000690  20 20 20 20 20 20 20 20  20 20 63 61 72 65 74 20  |          caret |
000006a0  28 60 21 27 20 6f 72 20  60 5e 27 29 20 66 6f 6c  |(`!' or `^') fol|
000006b0  6c 6f 77 73 20 74 68 65  20 6c 65 66 74 20 62 72  |lows the left br|
000006c0  61 63 6b 65 74 2c 0a 20  20 20 20 20 20 20 20 20  |acket,.         |
000006d0  20 20 20 20 20 20 20 20  20 20 20 20 74 68 65 6e  |            then|
000006e0  20 74 68 65 20 20 72 61  6e 67 65 20 20 6f 66 20  | the  range  of |
000006f0  20 63 68 61 72 61 63 74  65 72 73 20 20 77 69 74  | characters  wit|
00000700  68 69 6e 20 20 74 68 65  0a 20 20 20 20 20 20 20  |hin  the.       |
00000710  20 20 20 20 20 20 20 20  20 20 20 20 20 20 62 72  |              br|
00000720  61 63 6b 65 74 73 20 20  69 73 20 63 6f 6d 70 6c  |ackets  is compl|
00000730  65 6d 65 6e 74 65 64 20  28 74 68 61 74 20 69 73  |emented (that is|
00000740  2c 20 61 6e 79 74 68 69  6e 67 0a 20 20 20 20 20  |, anything.     |
00000750  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000760  65 78 63 65 70 74 20 74  68 65 20 63 68 61 72 61  |except the chara|
00000770  63 74 65 72 73 20 69 6e  73 69 64 65 20 74 68 65  |cters inside the|
00000780  20 62 72 61 63 6b 65 74  73 20 69 73 0a 20 20 20  | brackets is.   |
00000790  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000007a0  20 20 63 6f 6e 73 69 64  65 72 65 64 20 61 20 6d  |  considered a m|
000007b0  61 74 63 68 29 2e 0a 0a  20 20 20 20 20 20 20 20  |atch)...        |
000007c0  20 20 20 20 20 20 28 42  65 20 20 73 75 72 65 20  |      (Be  sure |
000007d0  20 74 6f 20 71 75 6f 74  65 20 61 6e 79 20 63 68  | to quote any ch|
000007e0  61 72 61 63 74 65 72 20  74 68 61 74 20 6d 69 67  |aracter that mig|
000007f0  68 74 20 6f 74 68 65 72  2d 0a 20 20 20 20 20 20  |ht other-.      |
00000800  20 20 20 20 20 20 20 20  77 69 73 65 20 62 65 20  |        wise be |
00000810  69 6e 74 65 72 70 72 65  74 65 64 20 6f 72 20 6d  |interpreted or m|
00000820  6f 64 69 66 69 65 64 20  20 62 79 20 20 74 68 65  |odified  by  the|
00000830  20 20 6f 70 65 72 61 74  69 6e 67 0a 20 20 20 20  |  operating.    |
00000840  20 20 20 20 20 20 20 20  20 20 73 79 73 74 65 6d  |          system|
00000850  2c 20 20 70 61 72 74 69  63 75 6c 61 72 6c 79 20  |,  particularly |
00000860  20 75 6e 64 65 72 20 20  55 6e 69 78 20 61 6e 64  | under  Unix and|
00000870  20 56 4d 53 2e 29 20 20  49 66 20 6e 6f 0a 20 20  | VMS.)  If no.  |
00000880  20 20 20 20 20 20 20 20  20 20 20 20 6d 61 74 63  |            matc|
00000890  68 65 73 20 61 72 65 20  66 6f 75 6e 64 2c 20 74  |hes are found, t|
000008a0  68 65 20 73 70 65 63 69  66 69 63 61 74 69 6f 6e  |he specification|
000008b0  20 69 73 20 61 73 73 75  6d 65 64 20 20 74 6f 0a  | is assumed  to.|
000008c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 62 65  |              be|
000008d0  20 20 61 20 6c 69 74 65  72 61 6c 20 66 69 6c 65  |  a literal file|
000008e0  6e 61 6d 65 3b 20 61 6e  64 20 69 66 20 74 68 61  |name; and if tha|
000008f0  74 20 61 6c 73 6f 20 66  61 69 6c 73 2c 20 74 68  |t also fails, th|
00000900  65 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |e.              |
00000910  73 75 66 66 69 78 20 2e  7a 69 70 20 69 73 20 61  |suffix .zip is a|
00000920  70 70 65 6e 64 65 64 2e  20 20 4e 6f 74 65 20 74  |ppended.  Note t|
00000930  68 61 74 20 73 65 6c 66  2d 65 78 74 72 61 63 74  |hat self-extract|
00000940  69 6e 67 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ing.            |
00000950  20 20 5a 49 50 20 20 66  69 6c 65 73 20 20 61 72  |  ZIP  files  ar|
00000960  65 20 20 73 75 70 70 6f  72 74 65 64 2c 20 20 61  |e  supported,  a|
00000970  73 20 20 77 69 74 68 20  61 6e 79 20 6f 74 68 65  |s  with any othe|
00000980  72 20 5a 49 50 0a 20 20  20 20 20 20 20 20 20 20  |r ZIP.          |
00000990  20 20 20 20 61 72 63 68  69 76 65 3b 20 6a 75 73  |    archive; jus|
000009a0  74 20 73 70 65 63 69 66  79 20 20 74 68 65 20 20  |t specify  the  |
000009b0  2e 65 78 65 20 20 73 75  66 66 69 78 20 20 28 69  |.exe  suffix  (i|
000009c0  66 20 20 61 6e 79 29 0a  20 20 20 20 20 20 20 20  |f  any).        |
000009d0  20 20 20 20 20 20 65 78  70 6c 69 63 69 74 6c 79  |      explicitly|
000009e0  2e 0a 0a 49 6e 66 6f 2d  5a 49 50 20 20 20 20 20  |...Info-ZIP     |
000009f0  20 20 20 20 20 20 20 20  33 20 4e 6f 76 65 6d 62  |        3 Novemb|
00000a00  65 72 20 31 39 39 37 20  28 76 35 2e 33 32 29 20  |er 1997 (v5.32) |
00000a10  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000a20  20 20 20 31 0a 0a 55 4e  5a 49 50 28 31 4c 29 20  |   1..UNZIP(1L) |
00000a30  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000a50  20 20 20 20 20 20 20 20  20 20 20 20 20 20 55 4e  |              UN|
00000a60  5a 49 50 28 31 4c 29 0a  0a 20 20 20 20 20 20 20  |ZIP(1L)..       |
00000a70  5b 66 69 6c 65 28 73 29  5d 0a 20 20 20 20 20 20  |[file(s)].      |
00000a80  20 20 20 20 20 20 20 20  41 6e 20 20 6f 70 74 69  |        An  opti|
00000a90  6f 6e 61 6c 20 20 6c 69  73 74 20 20 6f 66 20 20  |onal  list  of  |
00000aa0  61 72 63 68 69 76 65 20  20 6d 65 6d 62 65 72 73  |archive  members|
00000ab0  20 74 6f 20 62 65 20 70  72 6f 2d 0a 20 20 20 20  | to be pro-.    |
00000ac0  20 20 20 20 20 20 20 20  20 20 63 65 73 73 65 64  |          cessed|
00000ad0  2c 20 73 65 70 61 72 61  74 65 64 20 62 79 20 73  |, separated by s|
00000ae0  70 61 63 65 73 2e 20 20  20 28 56 4d 53 20 20 76  |paces.   (VMS  v|
00000af0  65 72 73 69 6f 6e 73 20  20 63 6f 6d 2d 0a 20 20  |ersions  com-.  |
00000b00  20 20 20 20 20 20 20 20  20 20 20 20 70 69 6c 65  |            pile|
00000b10  64 20 20 77 69 74 68 20  20 56 4d 53 43 4c 49 20  |d  with  VMSCLI |
00000b20  64 65 66 69 6e 65 64 20  6d 75 73 74 20 64 65 6c  |defined must del|
00000b30  69 6d 69 74 20 66 69 6c  65 73 20 77 69 74 68 0a  |imit files with.|
00000b40  20 20 20 20 20 20 20 20  20 20 20 20 20 20 63 6f  |              co|
00000b50  6d 6d 61 73 20 69 6e 73  74 65 61 64 2e 20 20 53  |mmas instead.  S|
00000b60  65 65 20 2d 76 20 69 6e  20 4f 50 54 49 4f 4e 53  |ee -v in OPTIONS|
00000b70  20 62 65 6c 6f 77 2e 29  20 20 52 65 67 75 6c 61  | below.)  Regula|
00000b80  72 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |r.              |
00000b90  65 78 70 72 65 73 73 69  6f 6e 73 20 28 77 69 6c  |expressions (wil|
00000ba0  64 63 61 72 64 73 29 20  6d 61 79 20 62 65 20 75  |dcards) may be u|
00000bb0  73 65 64 20 74 6f 20 6d  61 74 63 68 20 6d 75 6c  |sed to match mul|
00000bc0  74 69 2d 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ti-.            |
00000bd0  20 20 70 6c 65 20 6d 65  6d 62 65 72 73 3b 20 73  |  ple members; s|
00000be0  65 65 20 61 62 6f 76 65  2e 20 20 41 67 61 69 6e  |ee above.  Again|
00000bf0  2c 20 62 65 20 20 73 75  72 65 20 20 74 6f 20 20  |, be  sure  to  |
00000c00  71 75 6f 74 65 0a 20 20  20 20 20 20 20 20 20 20  |quote.          |
00000c10  20 20 20 20 65 78 70 72  65 73 73 69 6f 6e 73 20  |    expressions |
00000c20  20 74 68 61 74 20 20 77  6f 75 6c 64 20 20 6f 74  | that  would  ot|
00000c30  68 65 72 77 69 73 65 20  20 62 65 20 65 78 70 61  |herwise  be expa|
00000c40  6e 64 65 64 20 6f 72 0a  20 20 20 20 20 20 20 20  |nded or.        |
00000c50  20 20 20 20 20 20 6d 6f  64 69 66 69 65 64 20 62  |      modified b|
00000c60  79 20 74 68 65 20 6f 70  65 72 61 74 69 6e 67 20  |y the operating |
00000c70  73 79 73 74 65 6d 2e 0a  0a 20 20 20 20 20 20 20  |system...       |
00000c80  5b 2d 78 20 78 66 69 6c  65 28 73 29 5d 0a 20 20  |[-x xfile(s)].  |
00000c90  20 20 20 20 20 20 20 20  20 20 20 20 41 6e 20 6f  |            An o|
00000ca0  70 74 69 6f 6e 61 6c 20  6c 69 73 74 20 6f 66 20  |ptional list of |
00000cb0  61 72 63 68 69 76 65 20  6d 65 6d 62 65 72 73 20  |archive members |
00000cc0  74 6f 20 62 65 20 20 65  78 63 6c 75 64 65 64 0a  |to be  excluded.|
00000cd0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 66 72  |              fr|
00000ce0  6f 6d 20 20 70 72 6f 63  65 73 73 69 6e 67 2e 20  |om  processing. |
00000cf0  20 20 53 69 6e 63 65 20  77 69 6c 64 63 61 72 64  |  Since wildcard|
00000d00  20 63 68 61 72 61 63 74  65 72 73 20 6d 61 74 63  | characters matc|
00000d10  68 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |h.              |
00000d20  64 69 72 65 63 74 6f 72  79 20 73 65 70 61 72 61  |directory separa|
00000d30  74 6f 72 73 20 28 60 2f  27 29 2c 20 74 68 69 73  |tors (`/'), this|
00000d40  20 6f 70 74 69 6f 6e 20  6d 61 79 20 62 65 20 75  | option may be u|
00000d50  73 65 64 0a 20 20 20 20  20 20 20 20 20 20 20 20  |sed.            |
00000d60  20 20 74 6f 20 20 65 78  63 6c 75 64 65 20 20 61  |  to  exclude  a|
00000d70  6e 79 20 20 66 69 6c 65  73 20 74 68 61 74 20 61  |ny  files that a|
00000d80  72 65 20 69 6e 20 73 75  62 64 69 72 65 63 74 6f  |re in subdirecto|
00000d90  72 69 65 73 2e 0a 20 20  20 20 20 20 20 20 20 20  |ries..          |
00000da0  20 20 20 20 46 6f 72 20  65 78 61 6d 70 6c 65 2c  |    For example,|
00000db0  20 60 60 75 6e 7a 69 70  20 20 66 6f 6f 20 20 2a  | ``unzip  foo  *|
00000dc0  2e 5b 63 68 5d 20 20 2d  78 20 20 2a 2f 2a 27 27  |.[ch]  -x  */*''|
00000dd0  20 20 77 6f 75 6c 64 0a  20 20 20 20 20 20 20 20  |  would.        |
00000de0  20 20 20 20 20 20 65 78  74 72 61 63 74 20 20 61  |      extract  a|
00000df0  6c 6c 20 20 43 20 73 6f  75 72 63 65 20 66 69 6c  |ll  C source fil|
00000e00  65 73 20 69 6e 20 74 68  65 20 6d 61 69 6e 20 64  |es in the main d|
00000e10  69 72 65 63 74 6f 72 79  2c 0a 20 20 20 20 20 20  |irectory,.      |
00000e20  20 20 20 20 20 20 20 20  62 75 74 20 6e 6f 6e 65  |        but none|
00000e30  20 69 6e 20 61 6e 79 20  20 73 75 62 64 69 72 65  | in any  subdire|
00000e40  63 74 6f 72 69 65 73 2e  20 20 20 57 69 74 68 6f  |ctories.   Witho|
00000e50  75 74 20 20 74 68 65 20  20 2d 78 0a 20 20 20 20  |ut  the  -x.    |
00000e60  20 20 20 20 20 20 20 20  20 20 6f 70 74 69 6f 6e  |          option|
00000e70  2c 20 20 61 6c 6c 20 20  43 20 20 73 6f 75 72 63  |,  all  C  sourc|
00000e80  65 20 20 66 69 6c 65 73  20 20 69 6e 20 20 61 6c  |e  files  in  al|
00000e90  6c 20 64 69 72 65 63 74  6f 72 69 65 73 0a 20 20  |l directories.  |
00000ea0  20 20 20 20 20 20 20 20  20 20 20 20 77 69 74 68  |            with|
00000eb0  69 6e 20 74 68 65 20 7a  69 70 66 69 6c 65 20 77  |in the zipfile w|
00000ec0  6f 75 6c 64 20 62 65 20  65 78 74 72 61 63 74 65  |ould be extracte|
00000ed0  64 2e 0a 0a 20 20 20 20  20 20 20 5b 2d 64 20 65  |d...       [-d e|
00000ee0  78 64 69 72 5d 0a 20 20  20 20 20 20 20 20 20 20  |xdir].          |
00000ef0  20 20 20 20 41 6e 20 6f  70 74 69 6f 6e 61 6c 20  |    An optional |
00000f00  64 69 72 65 63 74 6f 72  79 20 74 6f 20 77 68 69  |directory to whi|
00000f10  63 68 20 20 74 6f 20 20  65 78 74 72 61 63 74 20  |ch  to  extract |
00000f20  20 66 69 6c 65 73 2e 0a  20 20 20 20 20 20 20 20  | files..        |
00000f30  20 20 20 20 20 20 42 79  20 64 65 66 61 75 6c 74  |      By default|
00000f40  2c 20 61 6c 6c 20 66 69  6c 65 73 20 61 6e 64 20  |, all files and |
00000f50  73 75 62 64 69 72 65 63  74 6f 72 69 65 73 20 61  |subdirectories a|
00000f60  72 65 20 72 65 63 72 65  2d 0a 20 20 20 20 20 20  |re recre-.      |
00000f70  20 20 20 20 20 20 20 20  61 74 65 64 20 69 6e 20  |        ated in |
00000f80  74 68 65 20 63 75 72 72  65 6e 74 20 64 69 72 65  |the current dire|
00000f90  63 74 6f 72 79 3b 20 74  68 65 20 2d 64 20 6f 70  |ctory; the -d op|
00000fa0  74 69 6f 6e 20 61 6c 6c  6f 77 73 0a 20 20 20 20  |tion allows.    |
00000fb0  20 20 20 20 20 20 20 20  20 20 65 78 74 72 61 63  |          extrac|
00000fc0  74 69 6f 6e 20 69 6e 20  61 6e 20 61 72 62 69 74  |tion in an arbit|
00000fd0  72 61 72 79 20 64 69 72  65 63 74 6f 72 79 20 28  |rary directory (|
00000fe0  61 6c 77 61 79 73 20 61  73 73 75 6d 2d 0a 20 20  |always assum-.  |
00000ff0  20 20 20 20 20 20 20 20  20 20 20 20 69 6e 67 20  |            ing |
00001000  6f 6e 65 20 68 61 73 20  70 65 72 6d 69 73 73 69  |one has permissi|
00001010  6f 6e 20 74 6f 20 77 72  69 74 65 20 74 6f 20 74  |on to write to t|
00001020  68 65 20 20 64 69 72 65  63 74 6f 72 79 29 2e 0a  |he  directory)..|
00001030  20 20 20 20 20 20 20 20  20 20 20 20 20 20 54 68  |              Th|
00001040  69 73 20 20 6f 70 74 69  6f 6e 20 6e 65 65 64 20  |is  option need |
00001050  6e 6f 74 20 61 70 70 65  61 72 20 61 74 20 74 68  |not appear at th|
00001060  65 20 65 6e 64 20 6f 66  20 74 68 65 20 63 6f 6d  |e end of the com|
00001070  2d 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |-.              |
00001080  6d 61 6e 64 20 6c 69 6e  65 3b 20 69 74 20 69 73  |mand line; it is|
00001090  20 61 6c 73 6f 20 61 63  63 65 70 74 65 64 20 62  | also accepted b|
000010a0  65 66 6f 72 65 20 20 74  68 65 20 20 7a 69 70 66  |efore  the  zipf|
000010b0  69 6c 65 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ile.            |
000010c0  20 20 73 70 65 63 69 66  69 63 61 74 69 6f 6e 20  |  specification |
000010d0  20 28 77 69 74 68 20 20  74 68 65 20 20 6e 6f 72  | (with  the  nor|
000010e0  6d 61 6c 20 6f 70 74 69  6f 6e 73 29 2c 20 69 6d  |mal options), im|
000010f0  6d 65 64 69 2d 0a 20 20  20 20 20 20 20 20 20 20  |medi-.          |
00001100  20 20 20 20 61 74 65 6c  79 20 61 66 74 65 72 20  |    ately after |
00001110  74 68 65 20 7a 69 70 66  69 6c 65 20 73 70 65 63  |the zipfile spec|
00001120  69 66 69 63 61 74 69 6f  6e 2c 20 20 6f 72 20 20  |ification,  or  |
00001130  62 65 74 77 65 65 6e 0a  20 20 20 20 20 20 20 20  |between.        |
00001140  20 20 20 20 20 20 74 68  65 20 20 66 69 6c 65 28  |      the  file(|
00001150  73 29 20 20 61 6e 64 20  20 74 68 65 20 20 2d 78  |s)  and  the  -x|
00001160  20 20 6f 70 74 69 6f 6e  2e 20 20 54 68 65 20 6f  |  option.  The o|
00001170  70 74 69 6f 6e 20 61 6e  64 0a 20 20 20 20 20 20  |ption and.      |
00001180  20 20 20 20 20 20 20 20  64 69 72 65 63 74 6f 72  |        director|
00001190  79 20 6d 61 79 20 62 65  20 20 63 6f 6e 63 61 74  |y may be  concat|
000011a0  65 6e 61 74 65 64 20 20  77 69 74 68 6f 75 74 20  |enated  without |
000011b0  20 61 6e 79 20 20 77 68  69 74 65 0a 20 20 20 20  | any  white.    |
000011c0  20 20 20 20 20 20 20 20  20 20 73 70 61 63 65 20  |          space |
000011d0  20 62 65 74 77 65 65 6e  20 20 74 68 65 6d 2c 20  | between  them, |
000011e0  20 62 75 74 20 6e 6f 74  65 20 74 68 61 74 20 74  | but note that t|
000011f0  68 69 73 20 6d 61 79 20  63 61 75 73 65 0a 20 20  |his may cause.  |
00001200  20 20 20 20 20 20 20 20  20 20 20 20 6e 6f 72 6d  |            norm|
00001210  61 6c 20 73 68 65 6c 6c  20 62 65 68 61 76 69 6f  |al shell behavio|
00001220  72 20 74 6f 20 62 65 20  73 75 70 70 72 65 73 73  |r to be suppress|
00001230  65 64 2e 20 20 49 6e 20  70 61 72 74 69 63 2d 0a  |ed.  In partic-.|
00001240  20 20 20 20 20 20 20 20  20 20 20 20 20 20 75 6c  |              ul|
00001250  61 72 2c 20 60 60 2d 64  20 7e 27 27 20 28 74 69  |ar, ``-d ~'' (ti|
00001260  6c 64 65 29 20 69 73 20  65 78 70 61 6e 64 65 64  |lde) is expanded|
00001270  20 62 79 20 55 6e 69 78  20 43 20 73 68 65 6c 6c  | by Unix C shell|
00001280  73 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |s.              |
00001290  69 6e 74 6f 20 74 68 65  20 6e 61 6d 65 20 6f 66  |into the name of|
000012a0  20 74 68 65 20 20 75 73  65 72 27 73 20 20 68 6f  | the  user's  ho|
000012b0  6d 65 20 20 64 69 72 65  63 74 6f 72 79 2c 20 20  |me  directory,  |
000012c0  62 75 74 0a 20 20 20 20  20 20 20 20 20 20 20 20  |but.            |
000012d0  20 20 60 60 2d 64 7e 27  27 20 20 69 73 20 74 72  |  ``-d~''  is tr|
000012e0  65 61 74 65 64 20 61 73  20 61 20 6c 69 74 65 72  |eated as a liter|
000012f0  61 6c 20 73 75 62 64 69  72 65 63 74 6f 72 79 20  |al subdirectory |
00001300  60 60 7e 27 27 0a 20 20  20 20 20 20 20 20 20 20  |``~''.          |
00001310  20 20 20 20 6f 66 20 74  68 65 20 63 75 72 72 65  |    of the curre|
00001320  6e 74 20 64 69 72 65 63  74 6f 72 79 2e 0a 0a 4f  |nt directory...O|
00001330  50 54 49 4f 4e 53 0a 20  20 20 20 20 20 20 4e 6f  |PTIONS.       No|
00001340  74 65 20 74 68 61 74 2c  20 20 69 6e 20 20 6f 72  |te that,  in  or|
00001350  64 65 72 20 20 74 6f 20  20 73 75 70 70 6f 72 74  |der  to  support|
00001360  20 20 6f 62 73 6f 6c 65  73 63 65 6e 74 20 20 68  |  obsolescent  h|
00001370  61 72 64 77 61 72 65 2c  0a 20 20 20 20 20 20 20  |ardware,.       |
00001380  75 6e 7a 69 70 27 73 20  20 75 73 61 67 65 20 20  |unzip's  usage  |
00001390  73 63 72 65 65 6e 20 20  69 73 20 20 6c 69 6d 69  |screen  is  limi|
000013a0  74 65 64 20 20 74 6f 20  32 32 20 6f 72 20 32 33  |ted  to 22 or 23|
000013b0  20 6c 69 6e 65 73 20 61  6e 64 0a 20 20 20 20 20  | lines and.     |
000013c0  20 20 73 68 6f 75 6c 64  20 74 68 65 72 65 66 6f  |  should therefo|
000013d0  72 65 20 62 65 20 63 6f  6e 73 69 64 65 72 65 64  |re be considered|
000013e0  20 20 6f 6e 6c 79 20 20  61 20 20 72 65 6d 69 6e  |  only  a  remin|
000013f0  64 65 72 20 20 6f 66 20  20 74 68 65 0a 20 20 20  |der  of  the.   |
00001400  20 20 20 20 62 61 73 69  63 20 20 75 6e 7a 69 70  |    basic  unzip|
00001410  20 20 73 79 6e 74 61 78  20 72 61 74 68 65 72 20  |  syntax rather |
00001420  74 68 61 6e 20 61 6e 20  65 78 68 61 75 73 74 69  |than an exhausti|
00001430  76 65 20 6c 69 73 74 20  6f 66 20 61 6c 6c 0a 20  |ve list of all. |
00001440  20 20 20 20 20 20 70 6f  73 73 69 62 6c 65 20 66  |      possible f|
00001450  6c 61 67 73 2e 20 20 54  68 65 20 65 78 68 61 75  |lags.  The exhau|
00001460  73 74 69 76 65 20 6c 69  73 74 20 66 6f 6c 6c 6f  |stive list follo|
00001470  77 73 3a 0a 0a 20 20 20  20 20 20 20 2d 5a 20 20  |ws:..       -Z  |
00001480  20 20 20 7a 69 70 69 6e  66 6f 28 31 4c 29 20 6d  |   zipinfo(1L) m|
00001490  6f 64 65 2e 20 20 49 66  20 74 68 65 20 66 69 72  |ode.  If the fir|
000014a0  73 74 20 6f 70 74 69 6f  6e 20 6f 6e 20 74 68 65  |st option on the|
000014b0  20 20 63 6f 6d 2d 0a 20  20 20 20 20 20 20 20 20  |  com-.         |
000014c0  20 20 20 20 20 6d 61 6e  64 20 6c 69 6e 65 20 69  |     mand line i|
000014d0  73 20 2d 5a 2c 20 74 68  65 20 72 65 6d 61 69 6e  |s -Z, the remain|
000014e0  69 6e 67 20 6f 70 74 69  6f 6e 73 20 61 72 65 20  |ing options are |
000014f0  74 61 6b 65 6e 20 74 6f  0a 20 20 20 20 20 20 20  |taken to.       |
00001500  20 20 20 20 20 20 20 62  65 20 7a 69 70 69 6e 66  |       be zipinf|
00001510  6f 28 31 4c 29 20 6f 70  74 69 6f 6e 73 2e 20 20  |o(1L) options.  |
00001520  53 65 65 20 74 68 65 20  61 70 70 72 6f 70 72 69  |See the appropri|
00001530  61 74 65 20 6d 61 6e 75  61 6c 0a 20 20 20 20 20  |ate manual.     |
00001540  20 20 20 20 20 20 20 20  20 70 61 67 65 20 66 6f  |         page fo|
00001550  72 20 61 20 64 65 73 63  72 69 70 74 69 6f 6e 20  |r a description |
00001560  6f 66 20 74 68 65 73 65  20 6f 70 74 69 6f 6e 73  |of these options|
00001570  2e 0a 0a 20 20 20 20 20  20 20 2d 41 20 20 20 20  |...       -A    |
00001580  20 5b 4f 53 2f 32 2c 20  20 55 6e 69 78 20 44 4c  | [OS/2,  Unix DL|
00001590  4c 5d 20 70 72 69 6e 74  20 65 78 74 65 6e 64 65  |L] print extende|
000015a0  64 20 68 65 6c 70 20 66  6f 72 20 74 68 65 20 44  |d help for the D|
000015b0  4c 4c 27 73 0a 20 20 20  20 20 20 20 20 20 20 20  |LL's.           |
000015c0  20 20 20 70 72 6f 67 72  61 6d 6d 69 6e 67 20 69  |   programming i|
000015d0  6e 74 65 72 66 61 63 65  20 28 41 50 49 29 2e 0a  |nterface (API)..|
000015e0  0a 49 6e 66 6f 2d 5a 49  50 20 20 20 20 20 20 20  |.Info-ZIP       |
000015f0  20 20 20 20 20 20 33 20  4e 6f 76 65 6d 62 65 72  |      3 November|
00001600  20 31 39 39 37 20 28 76  35 2e 33 32 29 20 20 20  | 1997 (v5.32)   |
00001610  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00001620  20 32 0a 0a 55 4e 5a 49  50 28 31 4c 29 20 20 20  | 2..UNZIP(1L)   |
00001630  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00001650  20 20 20 20 20 20 20 20  20 20 20 20 55 4e 5a 49  |            UNZI|
00001660  50 28 31 4c 29 0a 0a 20  20 20 20 20 20 20 2d 63  |P(1L)..       -c|
00001670  20 20 20 20 20 65 78 74  72 61 63 74 20 66 69 6c  |     extract fil|
00001680  65 73 20 20 74 6f 20 20  73 74 64 6f 75 74 2f 73  |es  to  stdout/s|
00001690  63 72 65 65 6e 20 20 28  60 60 43 52 54 27 27 29  |creen  (``CRT'')|
000016a0  2e 20 20 20 54 68 69 73  0a 20 20 20 20 20 20 20  |.   This.       |
000016b0  20 20 20 20 20 20 20 6f  70 74 69 6f 6e 20 20 69  |       option  i|
000016c0  73 20 73 69 6d 69 6c 61  72 20 74 6f 20 74 68 65  |s similar to the|
000016d0  20 2d 70 20 6f 70 74 69  6f 6e 20 65 78 63 65 70  | -p option excep|
000016e0  74 20 74 68 61 74 20 74  68 65 0a 20 20 20 20 20  |t that the.     |
000016f0  20 20 20 20 20 20 20 20  20 6e 61 6d 65 20 6f 66  |         name of|
00001700  20 65 61 63 68 20 66 69  6c 65 20 69 73 20 70 72  | each file is pr|
00001710  69 6e 74 65 64 20 61 73  20 20 69 74 20 20 69 73  |inted as  it  is|
00001720  20 20 65 78 74 72 61 63  74 65 64 2c 0a 20 20 20  |  extracted,.   |
00001730  20 20 20 20 20 20 20 20  20 20 20 74 68 65 20 20  |           the  |
00001740  2d 61 20 6f 70 74 69 6f  6e 20 69 73 20 61 6c 6c  |-a option is all|
00001750  6f 77 65 64 2c 20 61 6e  64 20 41 53 43 49 49 2d  |owed, and ASCII-|
00001760  45 42 43 44 49 43 20 63  6f 6e 76 65 72 2d 0a 20  |EBCDIC conver-. |
00001770  20 20 20 20 20 20 20 20  20 20 20 20 20 73 69 6f  |             sio|
00001780  6e 20 69 73 20 20 61 75  74 6f 6d 61 74 69 63 61  |n is  automatica|
00001790  6c 6c 79 20 20 70 65 72  66 6f 72 6d 65 64 20 20  |lly  performed  |
000017a0  69 66 20 20 61 70 70 72  6f 70 72 69 61 74 65 2e  |if  appropriate.|
000017b0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 54  |.              T|
000017c0  68 69 73 20 20 6f 70 74  69 6f 6e 20 20 69 73 20  |his  option  is |
000017d0  20 6e 6f 74 20 20 6c 69  73 74 65 64 20 20 69 6e  | not  listed  in|
000017e0  20 20 74 68 65 20 20 75  6e 7a 69 70 20 75 73 61  |  the  unzip usa|
000017f0  67 65 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |ge.             |
00001800  20 73 63 72 65 65 6e 2e  0a 0a 20 20 20 20 20 20  | screen...      |
00001810  20 2d 66 20 20 20 20 20  66 72 65 73 68 65 6e 20  | -f     freshen |
00001820  65 78 69 73 74 69 6e 67  20 66 69 6c 65 73 2c 20  |existing files, |
00001830  69 2e 65 2e 2c 20 20 65  78 74 72 61 63 74 20 20  |i.e.,  extract  |
00001840  6f 6e 6c 79 20 20 74 68  6f 73 65 0a 20 20 20 20  |only  those.    |
00001850  20 20 20 20 20 20 20 20  20 20 66 69 6c 65 73 20  |          files |
00001860  74 68 61 74 20 61 6c 72  65 61 64 79 20 65 78 69  |that already exi|
00001870  73 74 20 6f 6e 20 64 69  73 6b 20 61 6e 64 20 74  |st on disk and t|
00001880  68 61 74 20 61 72 65 20  6e 65 77 65 72 0a 20 20  |hat are newer.  |
00001890  20 20 20 20 20 20 20 20  20 20 20 20 74 68 61 6e  |            than|
000018a0  20 74 68 65 20 64 69 73  6b 20 63 6f 70 69 65 73  | the disk copies|
000018b0  2e 20 20 20 42 79 20 20  64 65 66 61 75 6c 74 20  |.   By  default |
000018c0  20 75 6e 7a 69 70 20 20  71 75 65 72 69 65 73 0a  | unzip  queries.|
000018d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 62 65  |              be|
000018e0  66 6f 72 65 20 20 6f 76  65 72 77 72 69 74 69 6e  |fore  overwritin|
000018f0  67 2c 20 20 62 75 74 20  74 68 65 20 2d 6f 20 6f  |g,  but the -o o|
00001900  70 74 69 6f 6e 20 6d 61  79 20 62 65 20 75 73 65  |ption may be use|
00001910  64 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |d.              |
00001920  74 6f 20 73 75 70 70 72  65 73 73 20 74 68 65 20  |to suppress the |
00001930  20 71 75 65 72 69 65 73  2e 20 20 20 4e 6f 74 65  | queries.   Note|
00001940  20 20 74 68 61 74 20 20  75 6e 64 65 72 20 20 6d  |  that  under  m|
00001950  61 6e 79 0a 20 20 20 20  20 20 20 20 20 20 20 20  |any.            |
00001960  20 20 6f 70 65 72 61 74  69 6e 67 20 20 73 79 73  |  operating  sys|
00001970  74 65 6d 73 2c 20 20 74  68 65 20 20 54 5a 20 28  |tems,  the  TZ (|
00001980  74 69 6d 65 7a 6f 6e 65  29 20 65 6e 76 69 72 6f  |timezone) enviro|
00001990  6e 6d 65 6e 74 0a 20 20  20 20 20 20 20 20 20 20  |nment.          |
000019a0  20 20 20 20 76 61 72 69  61 62 6c 65 20 6d 75 73  |    variable mus|
000019b0  74 20 62 65 20 73 65 74  20 63 6f 72 72 65 63 74  |t be set correct|
000019c0  6c 79 20 69 6e 20 6f 72  64 65 72 20 66 6f 72 20  |ly in order for |
000019d0  2d 66 20 20 61 6e 64 0a  20 20 20 20 20 20 20 20  |-f  and.        |
000019e0  20 20 20 20 20 20 2d 75  20 20 74 6f 20 20 77 6f  |      -u  to  wo|
000019f0  72 6b 20 20 70 72 6f 70  65 72 6c 79 20 20 28 75  |rk  properly  (u|
00001a00  6e 64 65 72 20 55 6e 69  78 20 74 68 65 20 76 61  |nder Unix the va|
00001a10  72 69 61 62 6c 65 20 69  73 0a 20 20 20 20 20 20  |riable is.      |
00001a20  20 20 20 20 20 20 20 20  75 73 75 61 6c 6c 79 20  |        usually |
00001a30  73 65 74 20 61 75 74 6f  6d 61 74 69 63 61 6c 6c  |set automaticall|
00001a40  79 29 2e 20 20 54 68 65  20 72 65 61 73 6f 6e 73  |y).  The reasons|
00001a50  20 20 66 6f 72 20 20 74  68 69 73 0a 20 20 20 20  |  for  this.    |
00001a60  20 20 20 20 20 20 20 20  20 20 61 72 65 20 73 6f  |          are so|
00001a70  6d 65 77 68 61 74 20 73  75 62 74 6c 65 20 62 75  |mewhat subtle bu|
00001a80  74 20 68 61 76 65 20 74  6f 20 64 6f 20 77 69 74  |t have to do wit|
00001a90  68 20 74 68 65 20 64 69  66 66 65 72 2d 0a 20 20  |h the differ-.  |
00001aa0  20 20 20 20 20 20 20 20  20 20 20 20 65 6e 63 65  |            ence|
00001ab0  73 20 62 65 74 77 65 65  6e 20 44 4f 53 2d 66 6f  |s between DOS-fo|
00001ac0  72 6d 61 74 20 66 69 6c  65 20 74 69 6d 65 73 20  |rmat file times |
00001ad0  20 28 61 6c 77 61 79 73  20 20 6c 6f 63 61 6c 0a  | (always  local.|
00001ae0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 74 69  |              ti|
00001af0  6d 65 29 20 61 6e 64 20  55 6e 69 78 2d 66 6f 72  |me) and Unix-for|
00001b00  6d 61 74 20 74 69 6d 65  73 20 28 61 6c 77 61 79  |mat times (alway|
00001b10  73 20 69 6e 20 47 4d 54  2f 55 54 43 29 20 61 6e  |s in GMT/UTC) an|
00001b20  64 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |d.              |
00001b30  74 68 65 20 6e 65 63 65  73 73 69 74 79 20 74 6f  |the necessity to|
00001b40  20 63 6f 6d 70 61 72 65  20 74 68 65 20 20 74 77  | compare the  tw|
00001b50  6f 2e 20 20 20 41 20 20  74 79 70 69 63 61 6c 20  |o.   A  typical |
00001b60  20 54 5a 0a 20 20 20 20  20 20 20 20 20 20 20 20  | TZ.            |
00001b70  20 20 76 61 6c 75 65 20  20 69 73 20 20 60 60 50  |  value  is  ``P|
00001b80  53 54 38 50 44 54 27 27  20 20 28 55 53 20 50 61  |ST8PDT''  (US Pa|
00001b90  63 69 66 69 63 20 74 69  6d 65 20 77 69 74 68 20  |cific time with |
00001ba0  61 75 74 6f 2d 0a 20 20  20 20 20 20 20 20 20 20  |auto-.          |
00001bb0  20 20 20 20 6d 61 74 69  63 20 20 61 64 6a 75 73  |    matic  adjus|
00001bc0  74 6d 65 6e 74 20 20 66  6f 72 20 20 44 61 79 6c  |tment  for  Dayl|
00001bd0  69 67 68 74 20 20 53 61  76 69 6e 67 73 20 20 54  |ight  Savings  T|
00001be0  69 6d 65 20 20 6f 72 0a  20 20 20 20 20 20 20 20  |ime  or.        |
00001bf0  20 20 20 20 20 20 60 60  73 75 6d 6d 65 72 20 74  |      ``summer t|
00001c00  69 6d 65 27 27 29 2e 0a  0a 20 20 20 20 20 20 20  |ime'')...       |
00001c10  2d 6c 20 20 20 20 20 6c  69 73 74 20 20 61 72 63  |-l     list  arc|
00001c20  68 69 76 65 20 20 66 69  6c 65 73 20 20 28 73 68  |hive  files  (sh|
00001c30  6f 72 74 20 20 66 6f 72  6d 61 74 29 2e 20 20 20  |ort  format).   |
00001c40  54 68 65 20 6e 61 6d 65  73 2c 0a 20 20 20 20 20  |The names,.     |
00001c50  20 20 20 20 20 20 20 20  20 75 6e 63 6f 6d 70 72  |         uncompr|
00001c60  65 73 73 65 64 20 66 69  6c 65 20 73 69 7a 65 73  |essed file sizes|
00001c70  20 61 6e 64 20 6d 6f 64  69 66 69 63 61 74 69 6f  | and modificatio|
00001c80  6e 20 64 61 74 65 73 20  20 61 6e 64 0a 20 20 20  |n dates  and.   |
00001c90  20 20 20 20 20 20 20 20  20 20 20 74 69 6d 65 73  |           times|
00001ca0  20 20 6f 66 20 20 74 68  65 20 20 73 70 65 63 69  |  of  the  speci|
00001cb0  66 69 65 64 20 20 66 69  6c 65 73 20 61 72 65 20  |fied  files are |
00001cc0  70 72 69 6e 74 65 64 2c  20 61 6c 6f 6e 67 0a 20  |printed, along. |
00001cd0  20 20 20 20 20 20 20 20  20 20 20 20 20 77 69 74  |             wit|
00001ce0  68 20 74 6f 74 61 6c 73  20 66 6f 72 20 61 6c 6c  |h totals for all|
00001cf0  20 66 69 6c 65 73 20 73  70 65 63 69 66 69 65 64  | files specified|
00001d00  2e 20 20 49 66 20 55 6e  5a 69 70 20 20 77 61 73  |.  If UnZip  was|
00001d10  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 63  |.              c|
00001d20  6f 6d 70 69 6c 65 64 20  20 77 69 74 68 20 20 4f  |ompiled  with  O|
00001d30  53 32 5f 45 41 53 20 64  65 66 69 6e 65 64 2c 20  |S2_EAS defined, |
00001d40  74 68 65 20 2d 6c 20 6f  70 74 69 6f 6e 20 61 6c  |the -l option al|
00001d50  73 6f 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |so.             |
00001d60  20 6c 69 73 74 73 20 63  6f 6c 75 6d 6e 73 20 66  | lists columns f|
00001d70  6f 72 20 74 68 65 20 73  69 7a 65 73 20 6f 66 20  |or the sizes of |
00001d80  73 74 6f 72 65 64 20 4f  53 2f 32 20 65 78 74 65  |stored OS/2 exte|
00001d90  6e 64 65 64 0a 20 20 20  20 20 20 20 20 20 20 20  |nded.           |
00001da0  20 20 20 61 74 74 72 69  62 75 74 65 73 20 20 28  |   attributes  (|
00001db0  45 41 73 29 20 20 61 6e  64 20 20 4f 53 2f 32 20  |EAs)  and  OS/2 |
00001dc0  20 61 63 63 65 73 73 20  20 63 6f 6e 74 72 6f 6c  | access  control|
00001dd0  20 6c 69 73 74 73 0a 20  20 20 20 20 20 20 20 20  | lists.         |
00001de0  20 20 20 20 20 28 41 43  4c 73 29 2e 20 20 49 6e  |     (ACLs).  In|
00001df0  20 61 64 64 69 74 69 6f  6e 2c 20 74 68 65 20 7a  | addition, the z|
00001e00  69 70 66 69 6c 65 20 63  6f 6d 6d 65 6e 74 20 61  |ipfile comment a|
00001e10  6e 64 20 69 6e 64 69 2d  0a 20 20 20 20 20 20 20  |nd indi-.       |
00001e20  20 20 20 20 20 20 20 76  69 64 75 61 6c 20 20 66  |       vidual  f|
00001e30  69 6c 65 20 63 6f 6d 6d  65 6e 74 73 20 28 69 66  |ile comments (if|
00001e40  20 61 6e 79 29 20 61 72  65 20 64 69 73 70 6c 61  | any) are displa|
00001e50  79 65 64 2e 20 20 49 66  20 61 0a 20 20 20 20 20  |yed.  If a.     |
00001e60  20 20 20 20 20 20 20 20  20 66 69 6c 65 20 77 61  |         file wa|
00001e70  73 20 61 72 63 68 69 76  65 64 20 66 72 6f 6d 20  |s archived from |
00001e80  61 20 20 73 69 6e 67 6c  65 2d 63 61 73 65 20 20  |a  single-case  |
00001e90  66 69 6c 65 20 20 73 79  73 74 65 6d 0a 20 20 20  |file  system.   |
00001ea0  20 20 20 20 20 20 20 20  20 20 20 28 66 6f 72 20  |           (for |
00001eb0  20 65 78 61 6d 70 6c 65  2c 20 20 74 68 65 20 6f  | example,  the o|
00001ec0  6c 64 20 4d 53 2d 44 4f  53 20 46 41 54 20 66 69  |ld MS-DOS FAT fi|
00001ed0  6c 65 20 73 79 73 74 65  6d 29 20 61 6e 64 0a 20  |le system) and. |
00001ee0  20 20 20 20 20 20 20 20  20 20 20 20 20 74 68 65  |             the|
00001ef0  20 2d 4c 20 6f 70 74 69  6f 6e 20 77 61 73 20 67  | -L option was g|
00001f00  69 76 65 6e 2c 20 74 68  65 20 66 69 6c 65 6e 61  |iven, the filena|
00001f10  6d 65 20 69 73 20 20 63  6f 6e 76 65 72 74 65 64  |me is  converted|
00001f20  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 74  |.              t|
00001f30  6f 20 6c 6f 77 65 72 63  61 73 65 20 61 6e 64 20  |o lowercase and |
00001f40  69 73 20 70 72 65 66 69  78 65 64 20 77 69 74 68  |is prefixed with|
00001f50  20 61 20 63 61 72 65 74  20 28 5e 29 2e 0a 0a 20  | a caret (^)... |
00001f60  20 20 20 20 20 20 2d 70  20 20 20 20 20 65 78 74  |      -p     ext|
00001f70  72 61 63 74 20 20 66 69  6c 65 73 20 20 74 6f 20  |ract  files  to |
00001f80  20 70 69 70 65 20 28 73  74 64 6f 75 74 29 2e 20  | pipe (stdout). |
00001f90  20 4e 6f 74 68 69 6e 67  20 62 75 74 20 74 68 65  | Nothing but the|
00001fa0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 66  |.              f|
00001fb0  69 6c 65 20 64 61 74 61  20 69 73 20 73 65 6e 74  |ile data is sent|
00001fc0  20 74 6f 20 20 73 74 64  6f 75 74 2c 20 20 61 6e  | to  stdout,  an|
00001fd0  64 20 20 74 68 65 20 20  66 69 6c 65 73 20 20 61  |d  the  files  a|
00001fe0  72 65 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |re.             |
00001ff0  20 61 6c 77 61 79 73 20  65 78 74 72 61 63 74 65  | always extracte|
00002000  64 20 69 6e 20 62 69 6e  61 72 79 20 66 6f 72 6d  |d in binary form|
00002010  61 74 2c 20 6a 75 73 74  20 61 73 20 74 68 65 79  |at, just as they|
00002020  20 61 72 65 0a 20 20 20  20 20 20 20 20 20 20 20  | are.           |
00002030  20 20 20 73 74 6f 72 65  64 20 28 6e 6f 20 63 6f  |   stored (no co|
00002040  6e 76 65 72 73 69 6f 6e  73 29 2e 0a 0a 20 20 20  |nversions)...   |
00002050  20 20 20 20 2d 74 20 20  20 20 20 74 65 73 74 20  |    -t     test |
00002060  61 72 63 68 69 76 65 20  20 66 69 6c 65 73 2e 20  |archive  files. |
00002070  20 20 54 68 69 73 20 20  6f 70 74 69 6f 6e 20 20  |  This  option  |
00002080  65 78 74 72 61 63 74 73  20 20 65 61 63 68 0a 20  |extracts  each. |
00002090  20 20 20 20 20 20 20 20  20 20 20 20 20 73 70 65  |             spe|
000020a0  63 69 66 69 65 64 20 20  66 69 6c 65 20 20 69 6e  |cified  file  in|
000020b0  20 20 6d 65 6d 6f 72 79  20 20 61 6e 64 20 20 63  |  memory  and  c|
000020c0  6f 6d 70 61 72 65 73 20  20 74 68 65 20 43 52 43  |ompares  the CRC|
000020d0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 28  |.              (|
000020e0  63 79 63 6c 69 63 20 72  65 64 75 6e 64 61 6e 63  |cyclic redundanc|
000020f0  79 20 63 68 65 63 6b 2c  20 61 6e 20 65 6e 68 61  |y check, an enha|
00002100  6e 63 65 64 20 63 68 65  63 6b 73 75 6d 29 20 20  |nced checksum)  |
00002110  6f 66 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |of.             |
00002120  20 74 68 65 20 20 65 78  70 61 6e 64 65 64 20 20  | the  expanded  |
00002130  66 69 6c 65 20 77 69 74  68 20 74 68 65 20 6f 72  |file with the or|
00002140  69 67 69 6e 61 6c 20 66  69 6c 65 27 73 20 73 74  |iginal file's st|
00002150  6f 72 65 64 0a 20 20 20  20 20 20 20 20 20 20 20  |ored.           |
00002160  20 20 20 43 52 43 20 76  61 6c 75 65 2e 0a 0a 20  |   CRC value... |
00002170  20 20 20 20 20 20 2d 54  20 20 20 20 20 5b 6d 6f  |      -T     [mo|
00002180  73 74 20 4f 53 65 73 5d  20 73 65 74 20 74 68 65  |st OSes] set the|
00002190  20 74 69 6d 65 73 74 61  6d 70 20 6f 6e 20 74 68  | timestamp on th|
000021a0  65 20 61 72 63 68 69 76  65 28 73 29 20 20 74 6f  |e archive(s)  to|
000021b0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 74  |.              t|
000021c0  68 61 74 20 20 6f 66 20  20 74 68 65 20 6e 65 77  |hat  of  the new|
000021d0  65 73 74 20 66 69 6c 65  20 69 6e 20 65 61 63 68  |est file in each|
000021e0  20 6f 6e 65 2e 20 20 54  68 69 73 20 63 6f 72 72  | one.  This corr|
000021f0  65 2d 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |e-.             |
00002200  20 73 70 6f 6e 64 73 20  74 6f 20 7a 69 70 27 73  | sponds to zip's|
00002210  20 2d 67 6f 20 6f 70 74  69 6f 6e 20 65 78 63 65  | -go option exce|
00002220  70 74 20 74 68 61 74 20  20 69 74 20 20 63 61 6e  |pt that  it  can|
00002230  20 20 62 65 0a 20 20 20  20 20 20 20 20 20 20 20  |  be.           |
00002240  20 20 20 75 73 65 64 20  20 20 6f 6e 20 20 20 77  |   used   on   w|
00002250  69 6c 64 63 61 72 64 20  20 7a 69 70 66 69 6c 65  |ildcard  zipfile|
00002260  73 20 20 28 65 2e 67 2e  2c 20 20 60 60 75 6e 7a  |s  (e.g.,  ``unz|
00002270  69 70 20 20 2d 54 0a 0a  49 6e 66 6f 2d 5a 49 50  |ip  -T..Info-ZIP|
00002280  20 20 20 20 20 20 20 20  20 20 20 20 20 33 20 4e  |             3 N|
00002290  6f 76 65 6d 62 65 72 20  31 39 39 37 20 28 76 35  |ovember 1997 (v5|
000022a0  2e 33 32 29 20 20 20 20  20 20 20 20 20 20 20 20  |.32)            |
000022b0  20 20 20 20 20 20 20 20  33 0a 0a 55 4e 5a 49 50  |        3..UNZIP|
000022c0  28 31 4c 29 20 20 20 20  20 20 20 20 20 20 20 20  |(1L)            |
000022d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000022f0  20 20 20 55 4e 5a 49 50  28 31 4c 29 0a 0a 20 20  |   UNZIP(1L)..  |
00002300  20 20 20 20 20 20 20 20  20 20 20 20 5c 2a 2e 7a  |            \*.z|
00002310  69 70 27 27 29 20 61 6e  64 20 69 73 20 6d 75 63  |ip'') and is muc|
00002320  68 20 66 61 73 74 65 72  2e 0a 0a 20 20 20 20 20  |h faster...     |
00002330  20 20 2d 75 20 20 20 20  20 75 70 64 61 74 65 20  |  -u     update |
00002340  20 65 78 69 73 74 69 6e  67 20 20 66 69 6c 65 73  | existing  files|
00002350  20 20 61 6e 64 20 20 63  72 65 61 74 65 20 20 6e  |  and  create  n|
00002360  65 77 20 20 6f 6e 65 73  20 20 69 66 0a 20 20 20  |ew  ones  if.   |
00002370  20 20 20 20 20 20 20 20  20 20 20 6e 65 65 64 65  |           neede|
00002380  64 2e 20 20 20 54 68 69  73 20 6f 70 74 69 6f 6e  |d.   This option|
00002390  20 70 65 72 66 6f 72 6d  73 20 74 68 65 20 73 61  | performs the sa|
000023a0  6d 65 20 66 75 6e 63 74  69 6f 6e 20 61 73 0a 20  |me function as. |
000023b0  20 20 20 20 20 20 20 20  20 20 20 20 20 74 68 65  |             the|
000023c0  20 2d 66 20 6f 70 74 69  6f 6e 2c 20 65 78 74 72  | -f option, extr|
000023d0  61 63 74 69 6e 67 20 28  77 69 74 68 20 71 75 65  |acting (with que|
000023e0  72 79 29 20 20 66 69 6c  65 73 20 20 74 68 61 74  |ry)  files  that|
000023f0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 61  |.              a|
00002400  72 65 20 20 6e 65 77 65  72 20 20 74 68 61 6e 20  |re  newer  than |
00002410  20 74 68 6f 73 65 20 77  69 74 68 20 74 68 65 20  | those with the |
00002420  73 61 6d 65 20 6e 61 6d  65 20 6f 6e 20 64 69 73  |same name on dis|
00002430  6b 2c 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |k,.             |
00002440  20 61 6e 64 20 69 6e 20  61 64 64 69 74 69 6f 6e  | and in addition|
00002450  20 69 74 20 65 78 74 72  61 63 74 73 20 74 68 6f  | it extracts tho|
00002460  73 65 20 66 69 6c 65 73  20 74 68 61 74 20 64 6f  |se files that do|
00002470  20 6e 6f 74 0a 20 20 20  20 20 20 20 20 20 20 20  | not.           |
00002480  20 20 20 61 6c 72 65 61  64 79 20 20 65 78 69 73  |   already  exis|
00002490  74 20 20 6f 6e 20 64 69  73 6b 2e 20 20 53 65 65  |t  on disk.  See|
000024a0  20 2d 66 20 61 62 6f 76  65 20 66 6f 72 20 69 6e  | -f above for in|
000024b0  66 6f 72 6d 61 2d 0a 20  20 20 20 20 20 20 20 20  |forma-.         |
000024c0  20 20 20 20 20 74 69 6f  6e 20 6f 6e 20 73 65 74  |     tion on set|
000024d0  74 69 6e 67 20 74 68 65  20 74 69 6d 65 7a 6f 6e  |ting the timezon|
000024e0  65 20 70 72 6f 70 65 72  6c 79 2e 0a 0a 20 20 20  |e properly...   |
000024f0  20 20 20 20 2d 76 20 20  20 20 20 62 65 20 76 65  |    -v     be ve|
00002500  72 62 6f 73 65 20 6f 72  20 70 72 69 6e 74 20 64  |rbose or print d|
00002510  69 61 67 6e 6f 73 74 69  63 20 76 65 72 73 69 6f  |iagnostic versio|
00002520  6e 20 69 6e 66 6f 2e 20  20 20 54 68 69 73 0a 20  |n info.   This. |
00002530  20 20 20 20 20 20 20 20  20 20 20 20 20 6f 70 74  |             opt|
00002540  69 6f 6e 20 20 68 61 73  20 20 65 76 6f 6c 76 65  |ion  has  evolve|
00002550  64 20 20 61 6e 64 20 20  6e 6f 77 20 20 62 65 68  |d  and  now  beh|
00002560  61 76 65 73 20 20 61 73  20 62 6f 74 68 20 61 6e  |aves  as both an|
00002570  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 6f  |.              o|
00002580  70 74 69 6f 6e 20 61 6e  64 20 61 20 6d 6f 64 69  |ption and a modi|
00002590  66 69 65 72 2e 20 20 41  73 20 61 6e 20 20 6f 70  |fier.  As an  op|
000025a0  74 69 6f 6e 20 20 69 74  20 20 68 61 73 20 20 74  |tion  it  has  t|
000025b0  77 6f 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |wo.             |
000025c0  20 70 75 72 70 6f 73 65  73 3a 20 20 20 77 68 65  | purposes:   whe|
000025d0  6e 20 20 61 20 20 7a 69  70 66 69 6c 65 20 20 69  |n  a  zipfile  i|
000025e0  73 20 20 73 70 65 63 69  66 69 65 64 20 77 69 74  |s  specified wit|
000025f0  68 20 6e 6f 0a 20 20 20  20 20 20 20 20 20 20 20  |h no.           |
00002600  20 20 20 6f 74 68 65 72  20 6f 70 74 69 6f 6e 73  |   other options|
00002610  2c 20 2d 76 20 6c 69 73  74 73 20 20 61 72 63 68  |, -v lists  arch|
00002620  69 76 65 20 20 66 69 6c  65 73 20 20 76 65 72 62  |ive  files  verb|
00002630  6f 73 65 6c 79 2c 0a 20  20 20 20 20 20 20 20 20  |osely,.         |
00002640  20 20 20 20 20 61 64 64  69 6e 67 20 74 6f 20 74  |     adding to t|
00002650  68 65 20 62 61 73 69 63  20 2d 6c 20 69 6e 66 6f  |he basic -l info|
00002660  20 74 68 65 20 63 6f 6d  70 72 65 73 73 69 6f 6e  | the compression|
00002670  20 6d 65 74 68 6f 64 2c  0a 20 20 20 20 20 20 20  | method,.       |
00002680  20 20 20 20 20 20 20 63  6f 6d 70 72 65 73 73 65  |       compresse|
00002690  64 20 73 69 7a 65 2c 20  63 6f 6d 70 72 65 73 73  |d size, compress|
000026a0  69 6f 6e 20 72 61 74 69  6f 20 61 6e 64 20 33 32  |ion ratio and 32|
000026b0  2d 62 69 74 20 20 43 52  43 2e 0a 20 20 20 20 20  |-bit  CRC..     |
000026c0  20 20 20 20 20 20 20 20  20 57 68 65 6e 20 6e 6f  |         When no|
000026d0  20 7a 69 70 66 69 6c 65  20 69 73 20 73 70 65 63  | zipfile is spec|
000026e0  69 66 69 65 64 20 28 74  68 61 74 20 69 73 2c 20  |ified (that is, |
000026f0  74 68 65 20 63 6f 6d 70  6c 65 74 65 0a 20 20 20  |the complete.   |
00002700  20 20 20 20 20 20 20 20  20 20 20 63 6f 6d 6d 61  |           comma|
00002710  6e 64 20 20 69 73 20 20  73 69 6d 70 6c 79 20 20  |nd  is  simply  |
00002720  60 60 75 6e 7a 69 70 20  20 2d 76 27 27 29 2c 20  |``unzip  -v''), |
00002730  20 61 20 20 64 69 61 67  6e 6f 73 74 69 63 0a 20  | a  diagnostic. |
00002740  20 20 20 20 20 20 20 20  20 20 20 20 20 73 63 72  |             scr|
00002750  65 65 6e 20 20 69 73 20  20 70 72 69 6e 74 65 64  |een  is  printed|
00002760  2e 20 20 20 49 6e 20 20  61 64 64 69 74 69 6f 6e  |.   In  addition|
00002770  20 20 74 6f 20 20 74 68  65 20 6e 6f 72 6d 61 6c  |  to  the normal|
00002780  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 68  |.              h|
00002790  65 61 64 65 72 20 77 69  74 68 20 72 65 6c 65 61  |eader with relea|
000027a0  73 65 20 64 61 74 65 20  61 6e 64 20 76 65 72 73  |se date and vers|
000027b0  69 6f 6e 2c 20 20 75 6e  7a 69 70 20 20 6c 69 73  |ion,  unzip  lis|
000027c0  74 73 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |ts.             |
000027d0  20 74 68 65 20 68 6f 6d  65 20 49 6e 66 6f 2d 5a  | the home Info-Z|
000027e0  49 50 20 66 74 70 20 73  69 74 65 20 61 6e 64 20  |IP ftp site and |
000027f0  77 68 65 72 65 20 74 6f  20 66 69 6e 64 20 61 20  |where to find a |
00002800  6c 69 73 74 0a 20 20 20  20 20 20 20 20 20 20 20  |list.           |
00002810  20 20 20 6f 66 20 6f 74  68 65 72 20 66 74 70 20  |   of other ftp |
00002820  61 6e 64 20 6e 6f 6e 2d  66 74 70 20 73 69 74 65  |and non-ftp site|
00002830  73 3b 20 74 68 65 20 74  61 72 67 65 74 20 20 6f  |s; the target  o|
00002840  70 65 72 61 74 2d 0a 20  20 20 20 20 20 20 20 20  |perat-.         |
00002850  20 20 20 20 20 69 6e 67  20 20 73 79 73 74 65 6d  |     ing  system|
00002860  20 20 66 6f 72 20 20 77  68 69 63 68 20 69 74 20  |  for  which it |
00002870  77 61 73 20 63 6f 6d 70  69 6c 65 64 2c 20 61 73  |was compiled, as|
00002880  20 77 65 6c 6c 20 61 73  0a 20 20 20 20 20 20 20  | well as.       |
00002890  20 20 20 20 20 20 20 28  70 6f 73 73 69 62 6c 79  |       (possibly|
000028a0  29 20 74 68 65 20 68 61  72 64 77 61 72 65 20 6f  |) the hardware o|
000028b0  6e 20 77 68 69 63 68 20  69 74 20 20 77 61 73 20  |n which it  was |
000028c0  20 63 6f 6d 70 69 6c 65  64 2c 0a 20 20 20 20 20  | compiled,.     |
000028d0  20 20 20 20 20 20 20 20  20 74 68 65 20 20 63 6f  |         the  co|
000028e0  6d 70 69 6c 65 72 20 61  6e 64 20 76 65 72 73 69  |mpiler and versi|
000028f0  6f 6e 20 75 73 65 64 2c  20 61 6e 64 20 74 68 65  |on used, and the|
00002900  20 63 6f 6d 70 69 6c 61  74 69 6f 6e 0a 20 20 20  | compilation.   |
00002910  20 20 20 20 20 20 20 20  20 20 20 64 61 74 65 3b  |           date;|
00002920  20 61 6e 79 20 73 70 65  63 69 61 6c 20 63 6f 6d  | any special com|
00002930  70 69 6c 61 74 69 6f 6e  20 20 6f 70 74 69 6f 6e  |pilation  option|
00002940  73 20 20 74 68 61 74 20  20 6d 69 67 68 74 0a 20  |s  that  might. |
00002950  20 20 20 20 20 20 20 20  20 20 20 20 20 61 66 66  |             aff|
00002960  65 63 74 20 74 68 65 20  70 72 6f 67 72 61 6d 27  |ect the program'|
00002970  73 20 6f 70 65 72 61 74  69 6f 6e 20 28 73 65 65  |s operation (see|
00002980  20 61 6c 73 6f 20 44 45  43 52 59 50 54 49 4f 4e  | also DECRYPTION|
00002990  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 62  |.              b|
000029a0  65 6c 6f 77 29 3b 20 61  6e 64 20 61 6e 79 20 6f  |elow); and any o|
000029b0  70 74 69 6f 6e 73 20 73  74 6f 72 65 64 20 69 6e  |ptions stored in|
000029c0  20 65 6e 76 69 72 6f 6e  6d 65 6e 74 20 76 61 72  | environment var|
000029d0  69 2d 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |i-.             |
000029e0  20 61 62 6c 65 73 20 20  74 68 61 74 20 20 6d 69  | ables  that  mi|
000029f0  67 68 74 20 20 64 6f 20  20 74 68 65 20 20 73 61  |ght  do  the  sa|
00002a00  6d 65 20 20 28 73 65 65  20 45 4e 56 49 52 4f 4e  |me  (see ENVIRON|
00002a10  4d 45 4e 54 0a 20 20 20  20 20 20 20 20 20 20 20  |MENT.           |
00002a20  20 20 20 4f 50 54 49 4f  4e 53 20 62 65 6c 6f 77  |   OPTIONS below|
00002a30  29 2e 20 20 41 73 20 61  20 6d 6f 64 69 66 69 65  |).  As a modifie|
00002a40  72 20 69 74 20 77 6f 72  6b 73 20 69 6e 20 63 6f  |r it works in co|
00002a50  6e 6a 75 6e 63 2d 0a 20  20 20 20 20 20 20 20 20  |njunc-.         |
00002a60  20 20 20 20 20 74 69 6f  6e 20 20 77 69 74 68 20  |     tion  with |
00002a70  6f 74 68 65 72 20 6f 70  74 69 6f 6e 73 20 28 65  |other options (e|
00002a80  2e 67 2e 2c 20 2d 74 29  20 74 6f 20 70 72 6f 64  |.g., -t) to prod|
00002a90  75 63 65 20 6d 6f 72 65  0a 20 20 20 20 20 20 20  |uce more.       |
00002aa0  20 20 20 20 20 20 20 76  65 72 62 6f 73 65 20 6f  |       verbose o|
00002ab0  72 20 64 65 62 75 67 67  69 6e 67 20 6f 75 74 70  |r debugging outp|
00002ac0  75 74 3b 20 74 68 69 73  20 69 73 20 6e 6f 74 20  |ut; this is not |
00002ad0  79 65 74 20 20 66 75 6c  6c 79 0a 20 20 20 20 20  |yet  fully.     |
00002ae0  20 20 20 20 20 20 20 20  20 69 6d 70 6c 65 6d 65  |         impleme|
00002af0  6e 74 65 64 20 62 75 74  20 77 69 6c 6c 20 62 65  |nted but will be|
00002b00  20 69 6e 20 66 75 74 75  72 65 20 72 65 6c 65 61  | in future relea|
00002b10  73 65 73 2e 0a 0a 20 20  20 20 20 20 20 2d 7a 20  |ses...       -z |
00002b20  20 20 20 20 64 69 73 70  6c 61 79 20 6f 6e 6c 79  |    display only|
00002b30  20 74 68 65 20 61 72 63  68 69 76 65 20 63 6f 6d  | the archive com|
00002b40  6d 65 6e 74 2e 0a 0a 4d  4f 44 49 46 49 45 52 53  |ment...MODIFIERS|
00002b50  0a 20 20 20 20 20 20 20  2d 61 20 20 20 20 20 63  |.       -a     c|
00002b60  6f 6e 76 65 72 74 20 20  74 65 78 74 20 20 66 69  |onvert  text  fi|
00002b70  6c 65 73 2e 20 20 20 4f  72 64 69 6e 61 72 69 6c  |les.   Ordinaril|
00002b80  79 20 20 61 6c 6c 20 20  66 69 6c 65 73 20 20 61  |y  all  files  a|
00002b90  72 65 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |re.             |
00002ba0  20 65 78 74 72 61 63 74  65 64 20 65 78 61 63 74  | extracted exact|
00002bb0  6c 79 20 61 73 20 74 68  65 79 20 61 72 65 20 73  |ly as they are s|
00002bc0  74 6f 72 65 64 20 28 61  73 20 60 60 62 69 6e 61  |tored (as ``bina|
00002bd0  72 79 27 27 0a 20 20 20  20 20 20 20 20 20 20 20  |ry''.           |
00002be0  20 20 20 66 69 6c 65 73  29 2e 20 20 20 54 68 65  |   files).   The|
00002bf0  20 20 2d 61 20 6f 70 74  69 6f 6e 20 63 61 75 73  |  -a option caus|
00002c00  65 73 20 66 69 6c 65 73  20 69 64 65 6e 74 69 66  |es files identif|
00002c10  69 65 64 20 62 79 0a 20  20 20 20 20 20 20 20 20  |ied by.         |
00002c20  20 20 20 20 20 7a 69 70  20 61 73 20 74 65 78 74  |     zip as text|
00002c30  20 66 69 6c 65 73 20 28  74 68 6f 73 65 20 77 69  | files (those wi|
00002c40  74 68 20 74 68 65 20 60  74 27 20 6c 61 62 65 6c  |th the `t' label|
00002c50  20 69 6e 20 7a 69 70 2d  0a 20 20 20 20 20 20 20  | in zip-.       |
00002c60  20 20 20 20 20 20 20 69  6e 66 6f 20 6c 69 73 74  |       info list|
00002c70  69 6e 67 73 2c 20 72 61  74 68 65 72 20 74 68 61  |ings, rather tha|
00002c80  6e 20 60 62 27 29 20 74  6f 20 62 65 20 61 75 74  |n `b') to be aut|
00002c90  6f 6d 61 74 69 63 61 6c  6c 79 0a 20 20 20 20 20  |omatically.     |
00002ca0  20 20 20 20 20 20 20 20  20 65 78 74 72 61 63 74  |         extract|
00002cb0  65 64 20 61 73 20 73 75  63 68 2c 20 63 6f 6e 76  |ed as such, conv|
00002cc0  65 72 74 69 6e 67 20 6c  69 6e 65 20 65 6e 64 69  |erting line endi|
00002cd0  6e 67 73 2c 20 65 6e 64  2d 6f 66 2d 0a 20 20 20  |ngs, end-of-.   |
00002ce0  20 20 20 20 20 20 20 20  20 20 20 66 69 6c 65 20  |           file |
00002cf0  20 63 68 61 72 61 63 74  65 72 73 20 20 61 6e 64  | characters  and|
00002d00  20 20 74 68 65 20 20 63  68 61 72 61 63 74 65 72  |  the  character|
00002d10  20 73 65 74 20 69 74 73  65 6c 66 20 61 73 0a 20  | set itself as. |
00002d20  20 20 20 20 20 20 20 20  20 20 20 20 20 6e 65 63  |             nec|
00002d30  65 73 73 61 72 79 2e 20  20 28 46 6f 72 20 65 78  |essary.  (For ex|
00002d40  61 6d 70 6c 65 2c 20 55  6e 69 78 20 66 69 6c 65  |ample, Unix file|
00002d50  73 20 75 73 65 20 6c 69  6e 65 20 66 65 65 64 73  |s use line feeds|
00002d60  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 28  |.              (|
00002d70  4c 46 73 29 20 66 6f 72  20 65 6e 64 2d 6f 66 2d  |LFs) for end-of-|
00002d80  6c 69 6e 65 20 28 45 4f  4c 29 20 61 6e 64 20 68  |line (EOL) and h|
00002d90  61 76 65 20 6e 6f 20 65  6e 64 2d 6f 66 2d 66 69  |ave no end-of-fi|
00002da0  6c 65 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |le.             |
00002db0  20 28 45 4f 46 29 20 20  6d 61 72 6b 65 72 3b 20  | (EOF)  marker; |
00002dc0  20 4d 61 63 69 6e 74 6f  73 68 65 73 20 20 75 73  | Macintoshes  us|
00002dd0  65 20 20 63 61 72 72 69  61 67 65 20 20 72 65 74  |e  carriage  ret|
00002de0  75 72 6e 73 0a 20 20 20  20 20 20 20 20 20 20 20  |urns.           |
00002df0  20 20 20 28 43 52 73 29  20 20 66 6f 72 20 20 45  |   (CRs)  for  E|
00002e00  4f 4c 73 3b 20 61 6e 64  20 6d 6f 73 74 20 50 43  |OLs; and most PC|
00002e10  20 6f 70 65 72 61 74 69  6e 67 20 73 79 73 74 65  | operating syste|
00002e20  6d 73 20 75 73 65 0a 20  20 20 20 20 20 20 20 20  |ms use.         |
00002e30  20 20 20 20 20 43 52 2b  4c 46 20 66 6f 72 20 45  |     CR+LF for E|
00002e40  4f 4c 73 20 61 6e 64 20  63 6f 6e 74 72 6f 6c 2d  |OLs and control-|
00002e50  5a 20 66 6f 72 20 45 4f  46 2e 20 20 49 6e 20 61  |Z for EOF.  In a|
00002e60  64 64 69 74 69 6f 6e 2c  0a 20 20 20 20 20 20 20  |ddition,.       |
00002e70  20 20 20 20 20 20 20 49  42 4d 20 6d 61 69 6e 66  |       IBM mainf|
00002e80  72 61 6d 65 73 20 61 6e  64 20 74 68 65 20 4d 69  |rames and the Mi|
00002e90  63 68 69 67 61 6e 20 54  65 72 6d 69 6e 61 6c 20  |chigan Terminal |
00002ea0  53 79 73 74 65 6d 20 75  73 65 0a 20 20 20 20 20  |System use.     |
00002eb0  20 20 20 20 20 20 20 20  20 45 42 43 44 49 43 20  |         EBCDIC |
00002ec0  72 61 74 68 65 72 20 74  68 61 6e 20 74 68 65 20  |rather than the |
00002ed0  6d 6f 72 65 20 63 6f 6d  6d 6f 6e 20 41 53 43 49  |more common ASCI|
00002ee0  49 20 20 63 68 61 72 61  63 74 65 72 0a 20 20 20  |I  character.   |
00002ef0  20 20 20 20 20 20 20 20  20 20 20 73 65 74 2c 20  |           set, |
00002f00  20 61 6e 64 20 20 4e 54  20 20 73 75 70 70 6f 72  | and  NT  suppor|
00002f10  74 73 20 20 55 6e 69 63  6f 64 65 2e 29 20 20 4e  |ts  Unicode.)  N|
00002f20  6f 74 65 20 74 68 61 74  20 7a 69 70 27 73 0a 20  |ote that zip's. |
00002f30  20 20 20 20 20 20 20 20  20 20 20 20 20 69 64 65  |             ide|
00002f40  6e 74 69 66 69 63 61 74  69 6f 6e 20 20 6f 66 20  |ntification  of |
00002f50  20 74 65 78 74 20 20 66  69 6c 65 73 20 20 69 73  | text  files  is|
00002f60  20 20 62 79 20 20 6e 6f  20 20 20 6d 65 61 6e 73  |  by  no   means|
00002f70  0a 0a 49 6e 66 6f 2d 5a  49 50 20 20 20 20 20 20  |..Info-ZIP      |
00002f80  20 20 20 20 20 20 20 33  20 4e 6f 76 65 6d 62 65  |       3 Novembe|
00002f90  72 20 31 39 39 37 20 28  76 35 2e 33 32 29 20 20  |r 1997 (v5.32)  |
00002fa0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00002fb0  20 20 34 0a 0a 55 4e 5a  49 50 28 31 4c 29 20 20  |  4..UNZIP(1L)  |
00002fc0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00002fe0  20 20 20 20 20 20 20 20  20 20 20 20 20 55 4e 5a  |             UNZ|
00002ff0  49 50 28 31 4c 29 0a 0a  20 20 20 20 20 20 20 20  |IP(1L)..        |
00003000  20 20 20 20 20 20 70 65  72 66 65 63 74 3b 20 73  |      perfect; s|
00003010  6f 6d 65 20 60 60 74 65  78 74 27 27 20 66 69 6c  |ome ``text'' fil|
00003020  65 73 20 6d 61 79 20 61  63 74 75 61 6c 6c 79 20  |es may actually |
00003030  62 65 20 62 69 6e 61 72  79 0a 20 20 20 20 20 20  |be binary.      |
00003040  20 20 20 20 20 20 20 20  61 6e 64 20 76 69 63 65  |        and vice|
00003050  20 76 65 72 73 61 2e 20  20 75 6e 7a 69 70 20 74  | versa.  unzip t|
00003060  68 65 72 65 66 6f 72 65  20 70 72 69 6e 74 73 20  |herefore prints |
00003070  20 60 60 5b 74 65 78 74  5d 27 27 0a 20 20 20 20  | ``[text]''.    |
00003080  20 20 20 20 20 20 20 20  20 20 6f 72 20 20 60 60  |          or  ``|
00003090  5b 62 69 6e 61 72 79 5d  27 27 20 61 73 20 61 20  |[binary]'' as a |
000030a0  76 69 73 75 61 6c 20 63  68 65 63 6b 20 66 6f 72  |visual check for|
000030b0  20 65 61 63 68 20 66 69  6c 65 20 69 74 0a 20 20  | each file it.  |
000030c0  20 20 20 20 20 20 20 20  20 20 20 20 65 78 74 72  |            extr|
000030d0  61 63 74 73 20 77 68 65  6e 20 75 73 69 6e 67 20  |acts when using |
000030e0  74 68 65 20 2d 61 20 6f  70 74 69 6f 6e 2e 20 20  |the -a option.  |
000030f0  54 68 65 20 2d 61 61 20  20 6f 70 74 69 6f 6e 0a  |The -aa  option.|
00003100  20 20 20 20 20 20 20 20  20 20 20 20 20 20 66 6f  |              fo|
00003110  72 63 65 73 20 20 61 6c  6c 20 20 66 69 6c 65 73  |rces  all  files|
00003120  20 74 6f 20 62 65 20 65  78 74 72 61 63 74 65 64  | to be extracted|
00003130  20 61 73 20 74 65 78 74  2c 20 72 65 67 61 72 64  | as text, regard|
00003140  2d 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |-.              |
00003150  6c 65 73 73 20 6f 66 20  74 68 65 20 73 75 70 70  |less of the supp|
00003160  6f 73 65 64 20 66 69 6c  65 20 74 79 70 65 2e 0a  |osed file type..|
00003170  0a 20 20 20 20 20 20 20  2d 62 20 20 20 20 20 5b  |.       -b     [|
00003180  6e 6f 6e 2d 56 4d 53 5d  20 74 72 65 61 74 20 61  |non-VMS] treat a|
00003190  6c 6c 20 66 69 6c 65 73  20 61 73 20 62 69 6e 61  |ll files as bina|
000031a0  72 79 20 28 6e 6f 20 20  74 65 78 74 20 20 63 6f  |ry (no  text  co|
000031b0  6e 2d 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |n-.             |
000031c0  20 76 65 72 73 69 6f 6e  73 29 2e 20 20 54 68 69  | versions).  Thi|
000031d0  73 20 69 73 20 61 20 73  68 6f 72 74 63 75 74 20  |s is a shortcut |
000031e0  66 6f 72 20 2d 2d 2d 61  2e 0a 0a 20 20 20 20 20  |for ---a...     |
000031f0  20 20 2d 62 20 20 20 20  20 5b 56 4d 53 5d 20 20  |  -b     [VMS]  |
00003200  61 75 74 6f 2d 63 6f 6e  76 65 72 74 20 20 62 69  |auto-convert  bi|
00003210  6e 61 72 79 20 66 69 6c  65 73 20 28 73 65 65 20  |nary files (see |
00003220  2d 61 20 61 62 6f 76 65  29 20 74 6f 0a 20 20 20  |-a above) to.   |
00003230  20 20 20 20 20 20 20 20  20 20 20 66 69 78 65 64  |           fixed|
00003240  2d 6c 65 6e 67 74 68 2c  20 35 31 32 2d 62 79 74  |-length, 512-byt|
00003250  65 20 72 65 63 6f 72 64  20 66 6f 72 6d 61 74 2e  |e record format.|
00003260  20 20 44 6f 75 62 6c 69  6e 67 20 74 68 65 0a 20  |  Doubling the. |
00003270  20 20 20 20 20 20 20 20  20 20 20 20 20 6f 70 74  |             opt|
00003280  69 6f 6e 20 20 28 2d 62  62 29 20 20 66 6f 72 63  |ion  (-bb)  forc|
00003290  65 73 20 20 61 6c 6c 20  66 69 6c 65 73 20 74 6f  |es  all files to|
000032a0  20 62 65 20 65 78 74 72  61 63 74 65 64 20 69 6e  | be extracted in|
000032b0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 74  |.              t|
000032c0  68 69 73 20 66 6f 72 6d  61 74 2e 0a 0a 20 20 20  |his format...   |
000032d0  20 20 20 20 2d 42 20 20  20 20 20 5b 55 6e 69 78  |    -B     [Unix|
000032e0  20 6f 6e 6c 79 2c 20 61  6e 64 20 6f 6e 6c 79 20  | only, and only |
000032f0  69 66 20 20 63 6f 6d 70  69 6c 65 64 20 20 77 69  |if  compiled  wi|
00003300  74 68 20 20 55 4e 49 58  42 41 43 4b 55 50 0a 20  |th  UNIXBACKUP. |
00003310  20 20 20 20 20 20 20 20  20 20 20 20 20 64 65 66  |             def|
00003320  69 6e 65 64 5d 20 20 73  61 76 65 20 20 61 20 20  |ined]  save  a  |
00003330  62 61 63 6b 75 70 20 20  63 6f 70 79 20 6f 66 20  |backup  copy of |
00003340  65 61 63 68 20 6f 76 65  72 77 72 69 74 74 65 6e  |each overwritten|
00003350  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 66  |.              f|
00003360  69 6c 65 20 77 69 74 68  20 61 20 74 69 6c 64 65  |ile with a tilde|
00003370  20 61 70 70 65 6e 64 65  64 20 28 65 2e 67 2e 2c  | appended (e.g.,|
00003380  20 74 68 65 20 6f 6c 64  20 20 63 6f 70 79 20 20  | the old  copy  |
00003390  6f 66 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |of.             |
000033a0  20 60 60 66 6f 6f 27 27  20 20 69 73 20 20 72 65  | ``foo''  is  re|
000033b0  6e 61 6d 65 64 20 74 6f  20 60 60 66 6f 6f 7e 27  |named to ``foo~'|
000033c0  27 29 2e 20 20 54 68 69  73 20 69 73 20 73 69 6d  |').  This is sim|
000033d0  69 6c 61 72 0a 20 20 20  20 20 20 20 20 20 20 20  |ilar.           |
000033e0  20 20 20 74 6f 20 74 68  65 20 64 65 66 61 75 6c  |   to the defaul|
000033f0  74 20 62 65 68 61 76 69  6f 72 20 6f 66 20 65 6d  |t behavior of em|
00003400  61 63 73 28 31 29 20 69  6e 20 20 6d 61 6e 79 20  |acs(1) in  many |
00003410  20 6c 6f 63 61 2d 0a 20  20 20 20 20 20 20 20 20  | loca-.         |
00003420  20 20 20 20 20 74 69 6f  6e 73 2e 0a 0a 20 20 20  |     tions...   |
00003430  20 20 20 20 2d 43 20 20  20 20 20 6d 61 74 63 68  |    -C     match|
00003440  20 20 66 69 6c 65 6e 61  6d 65 73 20 20 63 61 73  |  filenames  cas|
00003450  65 2d 69 6e 73 65 6e 73  69 74 69 76 65 6c 79 2e  |e-insensitively.|
00003460  20 20 75 6e 7a 69 70 27  73 20 70 68 69 2d 0a 20  |  unzip's phi-. |
00003470  20 20 20 20 20 20 20 20  20 20 20 20 20 6c 6f 73  |             los|
00003480  6f 70 68 79 20 69 73 20  60 60 79 6f 75 20 67 65  |ophy is ``you ge|
00003490  74 20 77 68 61 74 20 79  6f 75 20 61 73 6b 20 20  |t what you ask  |
000034a0  66 6f 72 27 27 20 20 28  74 68 69 73 20 20 69 73  |for''  (this  is|
000034b0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 61  |.              a|
000034c0  6c 73 6f 20 72 65 73 70  6f 6e 73 69 62 6c 65 20  |lso responsible |
000034d0  66 6f 72 20 74 68 65 20  2d 4c 2f 2d 55 20 63 68  |for the -L/-U ch|
000034e0  61 6e 67 65 3b 20 73 65  65 20 74 68 65 20 72 65  |ange; see the re|
000034f0  6c 2d 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |l-.             |
00003500  20 65 76 61 6e 74 20 6f  70 74 69 6f 6e 73 20 62  | evant options b|
00003510  65 6c 6f 77 29 2e 20 20  42 65 63 61 75 73 65 20  |elow).  Because |
00003520  20 73 6f 6d 65 20 20 66  69 6c 65 20 20 73 79 73  | some  file  sys|
00003530  74 65 6d 73 0a 20 20 20  20 20 20 20 20 20 20 20  |tems.           |
00003540  20 20 20 61 72 65 20 20  66 75 6c 6c 79 20 20 63  |   are  fully  c|
00003550  61 73 65 2d 73 65 6e 73  69 74 69 76 65 20 28 6e  |ase-sensitive (n|
00003560  6f 74 61 62 6c 79 20 74  68 6f 73 65 20 75 6e 64  |otably those und|
00003570  65 72 20 74 68 65 0a 20  20 20 20 20 20 20 20 20  |er the.         |
00003580  20 20 20 20 20 55 6e 69  78 20 20 6f 70 65 72 61  |     Unix  opera|
00003590  74 69 6e 67 20 20 73 79  73 74 65 6d 29 20 20 61  |ting  system)  a|
000035a0  6e 64 20 20 62 65 63 61  75 73 65 20 20 20 62 6f  |nd  because   bo|
000035b0  74 68 20 20 20 5a 49 50  0a 20 20 20 20 20 20 20  |th   ZIP.       |
000035c0  20 20 20 20 20 20 20 61  72 63 68 69 76 65 73 20  |       archives |
000035d0  61 6e 64 20 75 6e 7a 69  70 20 69 74 73 65 6c 66  |and unzip itself|
000035e0  20 61 72 65 20 70 6f 72  74 61 62 6c 65 20 61 63  | are portable ac|
000035f0  72 6f 73 73 20 70 6c 61  74 2d 0a 20 20 20 20 20  |ross plat-.     |
00003600  20 20 20 20 20 20 20 20  20 66 6f 72 6d 73 2c 20  |         forms, |
00003610  75 6e 7a 69 70 27 73 20  64 65 66 61 75 6c 74 20  |unzip's default |
00003620  62 65 68 61 76 69 6f 72  20 69 73 20 20 74 6f 20  |behavior is  to |
00003630  20 6d 61 74 63 68 20 20  62 6f 74 68 0a 20 20 20  | match  both.   |
00003640  20 20 20 20 20 20 20 20  20 20 20 77 69 6c 64 63  |           wildc|
00003650  61 72 64 20 20 61 6e 64  20 20 6c 69 74 65 72 61  |ard  and  litera|
00003660  6c 20 20 66 69 6c 65 6e  61 6d 65 73 20 63 61 73  |l  filenames cas|
00003670  65 2d 73 65 6e 73 69 74  69 76 65 6c 79 2e 0a 20  |e-sensitively.. |
00003680  20 20 20 20 20 20 20 20  20 20 20 20 20 54 68 61  |             Tha|
00003690  74 20 69 73 2c 20 73 70  65 63 69 66 79 69 6e 67  |t is, specifying|
000036a0  20 20 60 60 6d 61 6b 65  66 69 6c 65 27 27 20 20  |  ``makefile''  |
000036b0  6f 6e 20 20 74 68 65 20  20 63 6f 6d 6d 61 6e 64  |on  the  command|
000036c0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 6c  |.              l|
000036d0  69 6e 65 20 20 77 69 6c  6c 20 20 6f 6e 6c 79 20  |ine  will  only |
000036e0  6d 61 74 63 68 20 60 60  6d 61 6b 65 66 69 6c 65  |match ``makefile|
000036f0  27 27 20 69 6e 20 74 68  65 20 61 72 63 68 69 76  |'' in the archiv|
00003700  65 2c 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |e,.             |
00003710  20 6e 6f 74 20 60 60 4d  61 6b 65 66 69 6c 65 27  | not ``Makefile'|
00003720  27 20 6f 72 20 60 60 4d  41 4b 45 46 49 4c 45 27  |' or ``MAKEFILE'|
00003730  27 20 28 61 6e 64 20 73  69 6d 69 6c 61 72 6c 79  |' (and similarly|
00003740  20 66 6f 72 0a 20 20 20  20 20 20 20 20 20 20 20  | for.           |
00003750  20 20 20 77 69 6c 64 63  61 72 64 20 73 70 65 63  |   wildcard spec|
00003760  69 66 69 63 61 74 69 6f  6e 73 29 2e 20 20 53 69  |ifications).  Si|
00003770  6e 63 65 20 74 68 69 73  20 64 6f 65 73 20 6e 6f  |nce this does no|
00003780  74 20 63 6f 72 2d 0a 20  20 20 20 20 20 20 20 20  |t cor-.         |
00003790  20 20 20 20 20 72 65 73  70 6f 6e 64 20 74 6f 20  |     respond to |
000037a0  20 74 68 65 20 20 62 65  68 61 76 69 6f 72 20 20  | the  behavior  |
000037b0  6f 66 20 20 6d 61 6e 79  20 20 6f 74 68 65 72 20  |of  many  other |
000037c0  20 6f 70 65 72 61 74 2d  0a 20 20 20 20 20 20 20  | operat-.       |
000037d0  20 20 20 20 20 20 20 69  6e 67 2f 66 69 6c 65 20  |       ing/file |
000037e0  20 73 79 73 74 65 6d 73  20 20 28 66 6f 72 20 20  | systems  (for  |
000037f0  65 78 61 6d 70 6c 65 2c  20 20 4f 53 2f 32 20 48  |example,  OS/2 H|
00003800  50 46 53 2c 20 77 68 69  63 68 0a 20 20 20 20 20  |PFS, which.     |
00003810  20 20 20 20 20 20 20 20  20 70 72 65 73 65 72 76  |         preserv|
00003820  65 73 20 6d 69 78 65 64  20 63 61 73 65 20 62 75  |es mixed case bu|
00003830  74 20 69 73 20 6e 6f 74  20 73 65 6e 73 69 74 69  |t is not sensiti|
00003840  76 65 20 20 74 6f 20 20  69 74 29 2c 0a 20 20 20  |ve  to  it),.   |
00003850  20 20 20 20 20 20 20 20  20 20 20 74 68 65 20 20  |           the  |
00003860  2d 43 20 20 6f 70 74 69  6f 6e 20 20 6d 61 79 20  |-C  option  may |
00003870  20 62 65 20 75 73 65 64  20 74 6f 20 66 6f 72 63  | be used to forc|
00003880  65 20 61 6c 6c 20 66 69  6c 65 6e 61 6d 65 0a 20  |e all filename. |
00003890  20 20 20 20 20 20 20 20  20 20 20 20 20 6d 61 74  |             mat|
000038a0  63 68 65 73 20 74 6f 20  62 65 20 20 63 61 73 65  |ches to be  case|
000038b0  2d 69 6e 73 65 6e 73 69  74 69 76 65 2e 20 20 20  |-insensitive.   |
000038c0  49 6e 20 20 74 68 65 20  20 65 78 61 6d 70 6c 65  |In  the  example|
000038d0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 61  |.              a|
000038e0  62 6f 76 65 2c 20 20 61  6c 6c 20 20 74 68 72 65  |bove,  all  thre|
000038f0  65 20 20 66 69 6c 65 73  20 20 77 6f 75 6c 64 20  |e  files  would |
00003900  74 68 65 6e 20 6d 61 74  63 68 20 60 60 6d 61 6b  |then match ``mak|
00003910  65 2d 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |e-.             |
00003920  20 66 69 6c 65 27 27 20  28 6f 72 20 60 60 6d 61  | file'' (or ``ma|
00003930  6b 65 2a 27 27 2c 20 6f  72 20 73 69 6d 69 6c 61  |ke*'', or simila|
00003940  72 29 2e 20 20 54 68 65  20 20 2d 43 20 20 6f 70  |r).  The  -C  op|
00003950  74 69 6f 6e 0a 20 20 20  20 20 20 20 20 20 20 20  |tion.           |
00003960  20 20 20 61 66 66 65 63  74 73 20 20 66 69 6c 65  |   affects  file|
00003970  73 20 69 6e 20 62 6f 74  68 20 74 68 65 20 6e 6f  |s in both the no|
00003980  72 6d 61 6c 20 66 69 6c  65 20 6c 69 73 74 20 61  |rmal file list a|
00003990  6e 64 20 74 68 65 0a 20  20 20 20 20 20 20 20 20  |nd the.         |
000039a0  20 20 20 20 20 65 78 63  6c 75 64 65 64 2d 66 69  |     excluded-fi|
000039b0  6c 65 20 6c 69 73 74 20  28 78 6c 69 73 74 29 2e  |le list (xlist).|
000039c0  0a 0a 20 20 20 20 20 20  20 2d 6a 20 20 20 20 20  |..       -j     |
000039d0  6a 75 6e 6b 20 70 61 74  68 73 2e 20 20 54 68 65  |junk paths.  The|
000039e0  20 61 72 63 68 69 76 65  27 73 20 64 69 72 65 63  | archive's direc|
000039f0  74 6f 72 79 20 20 73 74  72 75 63 74 75 72 65 20  |tory  structure |
00003a00  20 69 73 0a 20 20 20 20  20 20 20 20 20 20 20 20  | is.            |
00003a10  20 20 6e 6f 74 20 20 72  65 63 72 65 61 74 65 64  |  not  recreated|
00003a20  3b 20 20 61 6c 6c 20 20  66 69 6c 65 73 20 20 61  |;  all  files  a|
00003a30  72 65 20 20 64 65 70 6f  73 69 74 65 64 20 20 69  |re  deposited  i|
00003a40  6e 20 74 68 65 0a 20 20  20 20 20 20 20 20 20 20  |n the.          |
00003a50  20 20 20 20 65 78 74 72  61 63 74 69 6f 6e 20 64  |    extraction d|
00003a60  69 72 65 63 74 6f 72 79  20 28 62 79 20 64 65 66  |irectory (by def|
00003a70  61 75 6c 74 2c 20 74 68  65 20 63 75 72 72 65 6e  |ault, the curren|
00003a80  74 20 6f 6e 65 29 2e 0a  0a 20 20 20 20 20 20 20  |t one)...       |
00003a90  2d 4c 20 20 20 20 20 63  6f 6e 76 65 72 74 20 74  |-L     convert t|
00003aa0  6f 20 6c 6f 77 65 72 63  61 73 65 20 61 6e 79 20  |o lowercase any |
00003ab0  66 69 6c 65 6e 61 6d 65  20 6f 72 69 67 69 6e 61  |filename origina|
00003ac0  74 69 6e 67 20 6f 6e 20  61 6e 0a 20 20 20 20 20  |ting on an.     |
00003ad0  20 20 20 20 20 20 20 20  20 75 70 70 65 72 63 61  |         upperca|
00003ae0  73 65 2d 6f 6e 6c 79 20  6f 70 65 72 61 74 69 6e  |se-only operatin|
00003af0  67 20 20 73 79 73 74 65  6d 20 20 6f 72 20 20 66  |g  system  or  f|
00003b00  69 6c 65 20 20 73 79 73  74 65 6d 2e 0a 20 20 20  |ile  system..   |
00003b10  20 20 20 20 20 20 20 20  20 20 20 28 54 68 69 73  |           (This|
00003b20  20 20 77 61 73 20 20 75  6e 7a 69 70 27 73 20 20  |  was  unzip's  |
00003b30  64 65 66 61 75 6c 74 20  20 62 65 68 61 76 69 6f  |default  behavio|
00003b40  72 20 20 69 6e 20 72 65  6c 65 61 73 65 73 0a 20  |r  in releases. |
00003b50  20 20 20 20 20 20 20 20  20 20 20 20 20 70 72 69  |             pri|
00003b60  6f 72 20 74 6f 20 35 2e  31 31 3b 20 74 68 65 20  |or to 5.11; the |
00003b70  6e 65 77 20 64 65 66 61  75 6c 74 20 62 65 68 61  |new default beha|
00003b80  76 69 6f 72 20 69 73 20  20 69 64 65 6e 74 69 2d  |vior is  identi-|
00003b90  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 63  |.              c|
00003ba0  61 6c 20 20 74 6f 20 20  74 68 65 20 6f 6c 64 20  |al  to  the old |
00003bb0  62 65 68 61 76 69 6f 72  20 77 69 74 68 20 74 68  |behavior with th|
00003bc0  65 20 2d 55 20 6f 70 74  69 6f 6e 2c 20 77 68 69  |e -U option, whi|
00003bd0  63 68 0a 0a 49 6e 66 6f  2d 5a 49 50 20 20 20 20  |ch..Info-ZIP    |
00003be0  20 20 20 20 20 20 20 20  20 33 20 4e 6f 76 65 6d  |         3 Novem|
00003bf0  62 65 72 20 31 39 39 37  20 28 76 35 2e 33 32 29  |ber 1997 (v5.32)|
00003c00  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00003c10  20 20 20 20 35 0a 0a 55  4e 5a 49 50 28 31 4c 29  |    5..UNZIP(1L)|
00003c20  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00003c40  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 55  |               U|
00003c50  4e 5a 49 50 28 31 4c 29  0a 0a 20 20 20 20 20 20  |NZIP(1L)..      |
00003c60  20 20 20 20 20 20 20 20  69 73 20 6e 6f 77 20 6f  |        is now o|
00003c70  62 73 6f 6c 65 74 65 20  61 6e 64 20 77 69 6c 6c  |bsolete and will|
00003c80  20 62 65 20 20 72 65 6d  6f 76 65 64 20 20 69 6e  | be  removed  in|
00003c90  20 20 61 20 20 66 75 74  75 72 65 0a 20 20 20 20  |  a  future.    |
00003ca0  20 20 20 20 20 20 20 20  20 20 72 65 6c 65 61 73  |          releas|
00003cb0  65 2e 29 20 20 20 20 44  65 70 65 6e 64 69 6e 67  |e.)    Depending|
00003cc0  20 20 20 6f 6e 20 20 20  74 68 65 20 20 61 72 63  |   on   the  arc|
00003cd0  68 69 76 65 72 2c 20 20  66 69 6c 65 73 0a 20 20  |hiver,  files.  |
00003ce0  20 20 20 20 20 20 20 20  20 20 20 20 61 72 63 68  |            arch|
00003cf0  69 76 65 64 20 75 6e 64  65 72 20 73 69 6e 67 6c  |ived under singl|
00003d00  65 2d 63 61 73 65 20 66  69 6c 65 20 73 79 73 74  |e-case file syst|
00003d10  65 6d 73 20 20 28 56 4d  53 2c 20 20 6f 6c 64 0a  |ems  (VMS,  old.|
00003d20  20 20 20 20 20 20 20 20  20 20 20 20 20 20 4d 53  |              MS|
00003d30  2d 44 4f 53 20 20 46 41  54 2c 20 20 65 74 63 2e  |-DOS  FAT,  etc.|
00003d40  29 20 20 6d 61 79 20 62  65 20 73 74 6f 72 65 64  |)  may be stored|
00003d50  20 61 73 20 61 6c 6c 2d  75 70 70 65 72 63 61 73  | as all-uppercas|
00003d60  65 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |e.              |
00003d70  6e 61 6d 65 73 3b 20 20  74 68 69 73 20 20 63 61  |names;  this  ca|
00003d80  6e 20 20 62 65 20 20 75  67 6c 79 20 20 6f 72 20  |n  be  ugly  or |
00003d90  20 69 6e 63 6f 6e 76 65  6e 69 65 6e 74 20 20 77  | inconvenient  w|
00003da0  68 65 6e 0a 20 20 20 20  20 20 20 20 20 20 20 20  |hen.            |
00003db0  20 20 65 78 74 72 61 63  74 69 6e 67 20 74 6f 20  |  extracting to |
00003dc0  61 20 63 61 73 65 2d 70  72 65 73 65 72 76 69 6e  |a case-preservin|
00003dd0  67 20 66 69 6c 65 20 73  79 73 74 65 6d 20 73 75  |g file system su|
00003de0  63 68 20 61 73 0a 20 20  20 20 20 20 20 20 20 20  |ch as.          |
00003df0  20 20 20 20 4f 53 2f 32  20 48 50 46 53 20 6f 72  |    OS/2 HPFS or|
00003e00  20 61 20 63 61 73 65 2d  73 65 6e 73 69 74 69 76  | a case-sensitiv|
00003e10  65 20 20 6f 6e 65 20 20  73 75 63 68 20 20 61 73  |e  one  such  as|
00003e20  20 20 75 6e 64 65 72 0a  20 20 20 20 20 20 20 20  |  under.        |
00003e30  20 20 20 20 20 20 55 6e  69 78 2e 20 20 20 42 79  |      Unix.   By|
00003e40  20 20 64 65 66 61 75 6c  74 20 20 75 6e 7a 69 70  |  default  unzip|
00003e50  20 20 6c 69 73 74 73 20  61 6e 64 20 65 78 74 72  |  lists and extr|
00003e60  61 63 74 73 20 73 75 63  68 0a 20 20 20 20 20 20  |acts such.      |
00003e70  20 20 20 20 20 20 20 20  66 69 6c 65 6e 61 6d 65  |        filename|
00003e80  73 20 20 65 78 61 63 74  6c 79 20 20 61 73 20 20  |s  exactly  as  |
00003e90  74 68 65 79 27 72 65 20  20 73 74 6f 72 65 64 20  |they're  stored |
00003ea0  20 28 65 78 63 65 70 74  69 6e 67 0a 20 20 20 20  | (excepting.    |
00003eb0  20 20 20 20 20 20 20 20  20 20 74 72 75 6e 63 61  |          trunca|
00003ec0  74 69 6f 6e 2c 20 20 63  6f 6e 76 65 72 73 69 6f  |tion,  conversio|
00003ed0  6e 20 20 6f 66 20 75 6e  73 75 70 70 6f 72 74 65  |n  of unsupporte|
00003ee0  64 20 63 68 61 72 61 63  74 65 72 73 2c 0a 20 20  |d characters,.  |
00003ef0  20 20 20 20 20 20 20 20  20 20 20 20 65 74 63 2e  |            etc.|
00003f00  29 3b 20 74 68 69 73 20  6f 70 74 69 6f 6e 20 63  |); this option c|
00003f10  61 75 73 65 73 20 74 68  65 20 6e 61 6d 65 73 20  |auses the names |
00003f20  20 6f 66 20 20 61 6c 6c  20 20 66 69 6c 65 73 0a  | of  all  files.|
00003f30  20 20 20 20 20 20 20 20  20 20 20 20 20 20 66 72  |              fr|
00003f40  6f 6d 20 20 63 65 72 74  61 69 6e 20 73 79 73 74  |om  certain syst|
00003f50  65 6d 73 20 74 6f 20 62  65 20 63 6f 6e 76 65 72  |ems to be conver|
00003f60  74 65 64 20 74 6f 20 6c  6f 77 65 72 63 61 73 65  |ted to lowercase|
00003f70  2e 0a 0a 20 20 20 20 20  20 20 2d 4d 20 20 20 20  |...       -M    |
00003f80  20 70 69 70 65 20 61 6c  6c 20 6f 75 74 70 75 74  | pipe all output|
00003f90  20 74 68 72 6f 75 67 68  20 61 6e 20 69 6e 74 65  | through an inte|
00003fa0  72 6e 61 6c 20 20 70 61  67 65 72 20 20 73 69 6d  |rnal  pager  sim|
00003fb0  69 6c 61 72 0a 20 20 20  20 20 20 20 20 20 20 20  |ilar.           |
00003fc0  20 20 20 74 6f 20 20 74  68 65 20 20 55 6e 69 78  |   to  the  Unix|
00003fd0  6d 6f 72 65 28 31 29 20  20 63 6f 6d 6d 61 6e 64  |more(1)  command|
00003fe0  2e 20 20 20 41 74 20 20  74 68 65 20 20 65 6e 64  |.   At  the  end|
00003ff0  20 20 6f 66 20 61 0a 20  20 20 20 20 20 20 20 20  |  of a.         |
00004000  20 20 20 20 20 73 63 72  65 65 6e 66 75 6c 20 20  |     screenful  |
00004010  6f 66 20 20 20 6f 75 74  70 75 74 2c 20 20 20 75  |of   output,   u|
00004020  6e 7a 69 70 20 20 20 70  61 75 73 65 73 20 20 20  |nzip   pauses   |
00004030  77 69 74 68 20 20 20 61  0a 20 20 20 20 20 20 20  |with   a.       |
00004040  20 20 20 20 20 20 20 60  60 2d 2d 4d 6f 72 65 2d  |       ``--More-|
00004050  2d 27 27 20 20 70 72 6f  6d 70 74 3b 20 20 74 68  |-''  prompt;  th|
00004060  65 20 20 6e 65 78 74 20  20 73 63 72 65 65 6e 66  |e  next  screenf|
00004070  75 6c 20 20 6d 61 79 20  62 65 0a 20 20 20 20 20  |ul  may be.     |
00004080  20 20 20 20 20 20 20 20  20 76 69 65 77 65 64 20  |         viewed |
00004090  62 79 20 70 72 65 73 73  69 6e 67 20 74 68 65 20  |by pressing the |
000040a0  45 6e 74 65 72 20 28 52  65 74 75 72 6e 29 20 20  |Enter (Return)  |
000040b0  6b 65 79 20 20 6f 72 20  20 74 68 65 0a 20 20 20  |key  or  the.   |
000040c0  20 20 20 20 20 20 20 20  20 20 20 73 70 61 63 65  |           space|
000040d0  20 62 61 72 2e 20 20 75  6e 7a 69 70 20 63 61 6e  | bar.  unzip can|
000040e0  20 62 65 20 74 65 72 6d  69 6e 61 74 65 64 20 62  | be terminated b|
000040f0  79 20 70 72 65 73 73 69  6e 67 20 74 68 65 0a 20  |y pressing the. |
00004100  20 20 20 20 20 20 20 20  20 20 20 20 20 60 60 71  |             ``q|
00004110  27 27 20 6b 65 79 20 61  6e 64 2c 20 6f 6e 20 73  |'' key and, on s|
00004120  6f 6d 65 20 20 73 79 73  74 65 6d 73 2c 20 20 74  |ome  systems,  t|
00004130  68 65 20 20 45 6e 74 65  72 2f 52 65 74 75 72 6e  |he  Enter/Return|
00004140  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 6b  |.              k|
00004150  65 79 2e 20 20 20 55 6e  6c 69 6b 65 20 20 55 6e  |ey.   Unlike  Un|
00004160  69 78 20 20 6d 6f 72 65  28 31 29 2c 20 20 74 68  |ix  more(1),  th|
00004170  65 72 65 20 69 73 20 6e  6f 20 66 6f 72 77 61 72  |ere is no forwar|
00004180  64 2d 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |d-.             |
00004190  20 73 65 61 72 63 68 69  6e 67 20 20 6f 72 20 20  | searching  or  |
000041a0  65 64 69 74 69 6e 67 20  20 63 61 70 61 62 69 6c  |editing  capabil|
000041b0  69 74 79 2e 20 20 20 41  6c 73 6f 2c 20 20 20 75  |ity.   Also,   u|
000041c0  6e 7a 69 70 0a 20 20 20  20 20 20 20 20 20 20 20  |nzip.           |
000041d0  20 20 20 64 6f 65 73 6e  27 74 20 20 6e 6f 74 69  |   doesn't  noti|
000041e0  63 65 20 20 69 66 20 20  6c 6f 6e 67 20 6c 69 6e  |ce  if  long lin|
000041f0  65 73 20 77 72 61 70 20  61 74 20 74 68 65 20 65  |es wrap at the e|
00004200  64 67 65 20 6f 66 0a 20  20 20 20 20 20 20 20 20  |dge of.         |
00004210  20 20 20 20 20 74 68 65  20 73 63 72 65 65 6e 2c  |     the screen,|
00004220  20 65 66 66 65 63 74 69  76 65 6c 79 20 72 65 73  | effectively res|
00004230  75 6c 74 69 6e 67 20 69  6e 20 20 74 68 65 20 20  |ulting in  the  |
00004240  70 72 69 6e 74 69 6e 67  0a 20 20 20 20 20 20 20  |printing.       |
00004250  20 20 20 20 20 20 20 6f  66 20 20 74 77 6f 20 20  |       of  two  |
00004260  6f 72 20 6d 6f 72 65 20  6c 69 6e 65 73 20 61 6e  |or more lines an|
00004270  64 20 74 68 65 20 6c 69  6b 65 6c 69 68 6f 6f 64  |d the likelihood|
00004280  20 74 68 61 74 20 73 6f  6d 65 0a 20 20 20 20 20  | that some.     |
00004290  20 20 20 20 20 20 20 20  20 74 65 78 74 20 77 69  |         text wi|
000042a0  6c 6c 20 73 63 72 6f 6c  6c 20 6f 66 66 20 74 68  |ll scroll off th|
000042b0  65 20 74 6f 70 20 6f 66  20 74 68 65 20 20 73 63  |e top of the  sc|
000042c0  72 65 65 6e 20 20 62 65  66 6f 72 65 0a 20 20 20  |reen  before.   |
000042d0  20 20 20 20 20 20 20 20  20 20 20 62 65 69 6e 67  |           being|
000042e0  20 76 69 65 77 65 64 2e  20 20 4f 6e 20 73 6f 6d  | viewed.  On som|
000042f0  65 20 73 79 73 74 65 6d  73 20 74 68 65 20 6e 75  |e systems the nu|
00004300  6d 62 65 72 20 6f 66 20  61 76 61 69 6c 2d 0a 20  |mber of avail-. |
00004310  20 20 20 20 20 20 20 20  20 20 20 20 20 61 62 6c  |             abl|
00004320  65 20 6c 69 6e 65 73 20  6f 6e 20 74 68 65 20 73  |e lines on the s|
00004330  63 72 65 65 6e 20 69 73  20 6e 6f 74 20 64 65 74  |creen is not det|
00004340  65 63 74 65 64 2c 20 69  6e 20 20 77 68 69 63 68  |ected, in  which|
00004350  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 63  |.              c|
00004360  61 73 65 20 75 6e 7a 69  70 20 61 73 73 75 6d 65  |ase unzip assume|
00004370  73 20 74 68 65 20 68 65  69 67 68 74 20 69 73 20  |s the height is |
00004380  32 34 20 6c 69 6e 65 73  2e 0a 0a 20 20 20 20 20  |24 lines...     |
00004390  20 20 2d 6e 20 20 20 20  20 6e 65 76 65 72 20 20  |  -n     never  |
000043a0  6f 76 65 72 77 72 69 74  65 20 65 78 69 73 74 69  |overwrite existi|
000043b0  6e 67 20 66 69 6c 65 73  2e 20 20 49 66 20 61 20  |ng files.  If a |
000043c0  66 69 6c 65 20 61 6c 72  65 61 64 79 0a 20 20 20  |file already.   |
000043d0  20 20 20 20 20 20 20 20  20 20 20 65 78 69 73 74  |           exist|
000043e0  73 2c 20 73 6b 69 70 20  74 68 65 20 65 78 74 72  |s, skip the extr|
000043f0  61 63 74 69 6f 6e 20 6f  66 20 20 74 68 61 74 20  |action of  that |
00004400  20 66 69 6c 65 20 20 77  69 74 68 6f 75 74 0a 20  | file  without. |
00004410  20 20 20 20 20 20 20 20  20 20 20 20 20 70 72 6f  |             pro|
00004420  6d 70 74 69 6e 67 2e 20  20 20 20 42 79 20 20 20  |mpting.    By   |
00004430  64 65 66 61 75 6c 74 20  20 20 75 6e 7a 69 70 20  |default   unzip |
00004440  20 71 75 65 72 69 65 73  20 20 62 65 66 6f 72 65  | queries  before|
00004450  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 65  |.              e|
00004460  78 74 72 61 63 74 69 6e  67 20 61 6e 79 20 66 69  |xtracting any fi|
00004470  6c 65 20 74 68 61 74 20  61 6c 72 65 61 64 79 20  |le that already |
00004480  65 78 69 73 74 73 3b 20  20 74 68 65 20 20 75 73  |exists;  the  us|
00004490  65 72 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |er.             |
000044a0  20 6d 61 79 20 20 63 68  6f 6f 73 65 20 20 74 6f  | may  choose  to|
000044b0  20 20 6f 76 65 72 77 72  69 74 65 20 20 6f 6e 6c  |  overwrite  onl|
000044c0  79 20 20 74 68 65 20 63  75 72 72 65 6e 74 20 66  |y  the current f|
000044d0  69 6c 65 2c 0a 20 20 20  20 20 20 20 20 20 20 20  |ile,.           |
000044e0  20 20 20 6f 76 65 72 77  72 69 74 65 20 61 6c 6c  |   overwrite all|
000044f0  20 66 69 6c 65 73 2c 20  73 6b 69 70 20 65 78 74  | files, skip ext|
00004500  72 61 63 74 69 6f 6e 20  6f 66 20 74 68 65 20 63  |raction of the c|
00004510  75 72 72 65 6e 74 0a 20  20 20 20 20 20 20 20 20  |urrent.         |
00004520  20 20 20 20 20 66 69 6c  65 2c 20 20 73 6b 69 70  |     file,  skip|
00004530  20 20 65 78 74 72 61 63  74 69 6f 6e 20 20 6f 66  |  extraction  of|
00004540  20 20 61 6c 6c 20 65 78  69 73 74 69 6e 67 20 66  |  all existing f|
00004550  69 6c 65 73 2c 20 6f 72  0a 20 20 20 20 20 20 20  |iles, or.       |
00004560  20 20 20 20 20 20 20 72  65 6e 61 6d 65 20 74 68  |       rename th|
00004570  65 20 63 75 72 72 65 6e  74 20 66 69 6c 65 2e 0a  |e current file..|
00004580  0a 20 20 20 20 20 20 20  2d 4e 20 20 20 20 20 5b  |.       -N     [|
00004590  41 6d 69 67 61 5d 20 65  78 74 72 61 63 74 20 66  |Amiga] extract f|
000045a0  69 6c 65 20 63 6f 6d 6d  65 6e 74 73 20 61 73 20  |ile comments as |
000045b0  20 41 6d 69 67 61 20 20  66 69 6c 65 6e 6f 74 65  | Amiga  filenote|
000045c0  73 2e 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |s..             |
000045d0  20 46 69 6c 65 20 20 63  6f 6d 6d 65 6e 74 73 20  | File  comments |
000045e0  20 61 72 65 20 20 63 72  65 61 74 65 64 20 20 77  | are  created  w|
000045f0  69 74 68 20 74 68 65 20  2d 63 20 6f 70 74 69 6f  |ith the -c optio|
00004600  6e 20 6f 66 0a 20 20 20  20 20 20 20 20 20 20 20  |n of.           |
00004610  20 20 20 7a 69 70 28 31  4c 29 2c 20 6f 72 20 77  |   zip(1L), or w|
00004620  69 74 68 20 74 68 65 20  2d 4e 20 6f 70 74 69 6f  |ith the -N optio|
00004630  6e 20 6f 66 20 74 68 65  20 41 6d 69 67 61 20 70  |n of the Amiga p|
00004640  6f 72 74 20 6f 66 0a 20  20 20 20 20 20 20 20 20  |ort of.         |
00004650  20 20 20 20 20 7a 69 70  28 31 4c 29 2c 20 77 68  |     zip(1L), wh|
00004660  69 63 68 20 73 74 6f 72  65 73 20 66 69 6c 65 6e  |ich stores filen|
00004670  6f 74 65 73 20 61 73 20  63 6f 6d 6d 65 6e 74 73  |otes as comments|
00004680  2e 0a 0a 20 20 20 20 20  20 20 2d 6f 20 20 20 20  |...       -o    |
00004690  20 6f 76 65 72 77 72 69  74 65 20 20 65 78 69 73  | overwrite  exis|
000046a0  74 69 6e 67 20 20 66 69  6c 65 73 20 77 69 74 68  |ting  files with|
000046b0  6f 75 74 20 70 72 6f 6d  70 74 69 6e 67 2e 20 20  |out prompting.  |
000046c0  54 68 69 73 0a 20 20 20  20 20 20 20 20 20 20 20  |This.           |
000046d0  20 20 20 69 73 20 61 20  64 61 6e 67 65 72 6f 75  |   is a dangerou|
000046e0  73 20 6f 70 74 69 6f 6e  2c 20 73 6f 20 75 73 65  |s option, so use|
000046f0  20 69 74 20 77 69 74 68  20 63 61 72 65 2e 20 20  | it with care.  |
00004700  28 49 74 20 69 73 0a 20  20 20 20 20 20 20 20 20  |(It is.         |
00004710  20 20 20 20 20 6f 66 74  65 6e 20 75 73 65 64 20  |     often used |
00004720  77 69 74 68 20 2d 66 2c  20 68 6f 77 65 76 65 72  |with -f, however|
00004730  2c 20 61 6e 64 20 69 73  20 74 68 65 20 6f 6e 6c  |, and is the onl|
00004740  79 20 77 61 79 20 74 6f  0a 20 20 20 20 20 20 20  |y way to.       |
00004750  20 20 20 20 20 20 20 6f  76 65 72 77 72 69 74 65  |       overwrite|
00004760  20 64 69 72 65 63 74 6f  72 79 20 45 41 73 20 75  | directory EAs u|
00004770  6e 64 65 72 20 4f 53 2f  32 2e 29 0a 0a 20 20 20  |nder OS/2.)..   |
00004780  20 20 20 20 2d 50 20 70  61 73 73 77 6f 72 64 0a  |    -P password.|
00004790  20 20 20 20 20 20 20 20  20 20 20 20 20 20 75 73  |              us|
000047a0  65 20 70 61 73 73 77 6f  72 64 20 74 6f 20 64 65  |e password to de|
000047b0  63 72 79 70 74 20 65 6e  63 72 79 70 74 65 64 20  |crypt encrypted |
000047c0  20 7a 69 70 66 69 6c 65  20 20 65 6e 74 72 69 65  | zipfile  entrie|
000047d0  73 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |s.              |
000047e0  28 69 66 20 61 6e 79 29  2e 20 20 54 48 49 53 20  |(if any).  THIS |
000047f0  49 53 20 49 4e 53 45 43  55 52 45 21 20 20 4d 61  |IS INSECURE!  Ma|
00004800  6e 79 20 6d 75 6c 74 69  2d 75 73 65 72 20 6f 70  |ny multi-user op|
00004810  65 72 2d 0a 20 20 20 20  20 20 20 20 20 20 20 20  |er-.            |
00004820  20 20 61 74 69 6e 67 20  73 79 73 74 65 6d 73 20  |  ating systems |
00004830  70 72 6f 76 69 64 65 20  77 61 79 73 20 66 6f 72  |provide ways for|
00004840  20 61 6e 79 20 75 73 65  72 20 74 6f 20 73 65 65  | any user to see|
00004850  20 20 74 68 65 0a 0a 49  6e 66 6f 2d 5a 49 50 20  |  the..Info-ZIP |
00004860  20 20 20 20 20 20 20 20  20 20 20 20 33 20 4e 6f  |            3 No|
00004870  76 65 6d 62 65 72 20 31  39 39 37 20 28 76 35 2e  |vember 1997 (v5.|
00004880  33 32 29 20 20 20 20 20  20 20 20 20 20 20 20 20  |32)             |
00004890  20 20 20 20 20 20 20 36  0a 0a 55 4e 5a 49 50 28  |       6..UNZIP(|
000048a0  31 4c 29 20 20 20 20 20  20 20 20 20 20 20 20 20  |1L)             |
000048b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000048d0  20 20 55 4e 5a 49 50 28  31 4c 29 0a 0a 20 20 20  |  UNZIP(1L)..   |
000048e0  20 20 20 20 20 20 20 20  20 20 20 63 75 72 72 65  |           curre|
000048f0  6e 74 20 20 63 6f 6d 6d  61 6e 64 20 20 6c 69 6e  |nt  command  lin|
00004900  65 20 20 6f 66 20 20 61  6e 79 20 6f 74 68 65 72  |e  of  any other|
00004910  20 75 73 65 72 3b 20 65  76 65 6e 20 6f 6e 0a 20  | user; even on. |
00004920  20 20 20 20 20 20 20 20  20 20 20 20 20 73 74 61  |             sta|
00004930  6e 64 2d 61 6c 6f 6e 65  20 73 79 73 74 65 6d 73  |nd-alone systems|
00004940  20 74 68 65 72 65 20 69  73 20 61 6c 77 61 79 73  | there is always|
00004950  20 74 68 65 20 20 74 68  72 65 61 74 20 20 6f 66  | the  threat  of|
00004960  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 6f  |.              o|
00004970  76 65 72 2d 74 68 65 2d  73 68 6f 75 6c 64 65 72  |ver-the-shoulder|
00004980  20 20 70 65 65 6b 69 6e  67 2e 20 20 20 53 74 6f  |  peeking.   Sto|
00004990  72 69 6e 67 20 74 68 65  20 70 6c 61 69 6e 74 65  |ring the plainte|
000049a0  78 74 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |xt.             |
000049b0  20 70 61 73 73 77 6f 72  64 20 61 73 20 70 61 72  | password as par|
000049c0  74 20 6f 66 20 61 20 63  6f 6d 6d 61 6e 64 20 6c  |t of a command l|
000049d0  69 6e 65 20 69 6e 20 61  6e 20 20 61 75 74 6f 6d  |ine in an  autom|
000049e0  61 74 65 64 0a 20 20 20  20 20 20 20 20 20 20 20  |ated.           |
000049f0  20 20 20 73 63 72 69 70  74 20 20 69 73 20 20 65  |   script  is  e|
00004a00  76 65 6e 20 77 6f 72 73  65 2e 20 20 57 68 65 6e  |ven worse.  When|
00004a10  65 76 65 72 20 70 6f 73  73 69 62 6c 65 2c 20 75  |ever possible, u|
00004a20  73 65 20 74 68 65 0a 20  20 20 20 20 20 20 20 20  |se the.         |
00004a30  20 20 20 20 20 6e 6f 6e  2d 65 63 68 6f 69 6e 67  |     non-echoing|
00004a40  2c 20 69 6e 74 65 72 61  63 74 69 76 65 20 70 72  |, interactive pr|
00004a50  6f 6d 70 74 20 74 6f 20  65 6e 74 65 72 20 70 61  |ompt to enter pa|
00004a60  73 73 77 6f 72 64 73 2e  0a 20 20 20 20 20 20 20  |sswords..       |
00004a70  20 20 20 20 20 20 20 28  41 6e 64 20 20 77 68 65  |       (And  whe|
00004a80  72 65 20 73 65 63 75 72  69 74 79 20 69 73 20 74  |re security is t|
00004a90  72 75 6c 79 20 69 6d 70  6f 72 74 61 6e 74 2c 20  |ruly important, |
00004aa0  75 73 65 20 73 74 72 6f  6e 67 0a 20 20 20 20 20  |use strong.     |
00004ab0  20 20 20 20 20 20 20 20  20 65 6e 63 72 79 70 74  |         encrypt|
00004ac0  69 6f 6e 20 73 75 63 68  20 61 73 20 50 72 65 74  |ion such as Pret|
00004ad0  74 79 20 47 6f 6f 64 20  50 72 69 76 61 63 79 20  |ty Good Privacy |
00004ae0  20 69 6e 73 74 65 61 64  20 20 6f 66 0a 20 20 20  | instead  of.   |
00004af0  20 20 20 20 20 20 20 20  20 20 20 74 68 65 20 72  |           the r|
00004b00  65 6c 61 74 69 76 65 6c  79 20 77 65 61 6b 20 65  |elatively weak e|
00004b10  6e 63 72 79 70 74 69 6f  6e 20 70 72 6f 76 69 64  |ncryption provid|
00004b20  65 64 20 62 79 20 73 74  61 6e 64 61 72 64 0a 20  |ed by standard. |
00004b30  20 20 20 20 20 20 20 20  20 20 20 20 20 7a 69 70  |             zip|
00004b40  66 69 6c 65 20 75 74 69  6c 69 74 69 65 73 2e 29  |file utilities.)|
00004b50  0a 0a 20 20 20 20 20 20  20 2d 71 20 20 20 20 20  |..       -q     |
00004b60  70 65 72 66 6f 72 6d 20  6f 70 65 72 61 74 69 6f  |perform operatio|
00004b70  6e 73 20 71 75 69 65 74  6c 79 20 28 2d 71 71 20  |ns quietly (-qq |
00004b80  20 3d 20 20 65 76 65 6e  20 20 71 75 69 65 74 65  | =  even  quiete|
00004b90  72 29 2e 0a 20 20 20 20  20 20 20 20 20 20 20 20  |r)..            |
00004ba0  20 20 4f 72 64 69 6e 61  72 69 6c 79 20 75 6e 7a  |  Ordinarily unz|
00004bb0  69 70 20 70 72 69 6e 74  73 20 74 68 65 20 6e 61  |ip prints the na|
00004bc0  6d 65 73 20 6f 66 20 74  68 65 20 66 69 6c 65 73  |mes of the files|
00004bd0  20 69 74 27 73 0a 20 20  20 20 20 20 20 20 20 20  | it's.          |
00004be0  20 20 20 20 65 78 74 72  61 63 74 69 6e 67 20 6f  |    extracting o|
00004bf0  72 20 74 65 73 74 69 6e  67 2c 20 74 68 65 20 65  |r testing, the e|
00004c00  78 74 72 61 63 74 69 6f  6e 20 6d 65 74 68 6f 64  |xtraction method|
00004c10  73 2c 20 20 61 6e 79 0a  20 20 20 20 20 20 20 20  |s,  any.        |
00004c20  20 20 20 20 20 20 66 69  6c 65 20 20 6f 72 20 7a  |      file  or z|
00004c30  69 70 66 69 6c 65 20 63  6f 6d 6d 65 6e 74 73 20  |ipfile comments |
00004c40  74 68 61 74 20 6d 61 79  20 62 65 20 73 74 6f 72  |that may be stor|
00004c50  65 64 20 69 6e 20 74 68  65 0a 20 20 20 20 20 20  |ed in the.      |
00004c60  20 20 20 20 20 20 20 20  61 72 63 68 69 76 65 2c  |        archive,|
00004c70  20 61 6e 64 20 70 6f 73  73 69 62 6c 79 20 61 20  | and possibly a |
00004c80  73 75 6d 6d 61 72 79 20  77 68 65 6e 20 66 69 6e  |summary when fin|
00004c90  69 73 68 65 64 20 20 77  69 74 68 0a 20 20 20 20  |ished  with.    |
00004ca0  20 20 20 20 20 20 20 20  20 20 65 61 63 68 20 20  |          each  |
00004cb0  61 72 63 68 69 76 65 2e  20 20 20 54 68 65 20 20  |archive.   The  |
00004cc0  2d 71 5b 71 5d 20 20 6f  70 74 69 6f 6e 73 20 20  |-q[q]  options  |
00004cd0  73 75 70 70 72 65 73 73  20 20 74 68 65 0a 20 20  |suppress  the.  |
00004ce0  20 20 20 20 20 20 20 20  20 20 20 20 70 72 69 6e  |            prin|
00004cf0  74 69 6e 67 20 6f 66 20  73 6f 6d 65 20 6f 72 20  |ting of some or |
00004d00  61 6c 6c 20 6f 66 20 74  68 65 73 65 20 6d 65 73  |all of these mes|
00004d10  73 61 67 65 73 2e 0a 0a  20 20 20 20 20 20 20 2d  |sages...       -|
00004d20  73 20 20 20 20 20 5b 4f  53 2f 32 2c 20 4e 54 2c  |s     [OS/2, NT,|
00004d30  20 4d 53 2d 44 4f 53 5d  20 63 6f 6e 76 65 72 74  | MS-DOS] convert|
00004d40  20 73 70 61 63 65 73 20  69 6e 20 20 66 69 6c 65  | spaces in  file|
00004d50  6e 61 6d 65 73 20 20 74  6f 0a 20 20 20 20 20 20  |names  to.      |
00004d60  20 20 20 20 20 20 20 20  75 6e 64 65 72 73 63 6f  |        undersco|
00004d70  72 65 73 2e 20 20 20 53  69 6e 63 65 20 61 6c 6c  |res.   Since all|
00004d80  20 50 43 20 6f 70 65 72  61 74 69 6e 67 20 73 79  | PC operating sy|
00004d90  73 74 65 6d 73 20 61 6c  6c 6f 77 0a 20 20 20 20  |stems allow.    |
00004da0  20 20 20 20 20 20 20 20  20 20 73 70 61 63 65 73  |          spaces|
00004db0  20 69 6e 20 20 66 69 6c  65 6e 61 6d 65 73 2c 20  | in  filenames, |
00004dc0  20 75 6e 7a 69 70 20 20  62 79 20 20 64 65 66 61  | unzip  by  defa|
00004dd0  75 6c 74 20 20 65 78 74  72 61 63 74 73 0a 20 20  |ult  extracts.  |
00004de0  20 20 20 20 20 20 20 20  20 20 20 20 66 69 6c 65  |            file|
00004df0  6e 61 6d 65 73 20 20 20  20 20 77 69 74 68 20 20  |names     with  |
00004e00  20 20 20 73 70 61 63 65  73 20 20 20 20 20 69 6e  |   spaces     in|
00004e10  74 61 63 74 20 20 20 20  20 28 65 2e 67 2e 2c 0a  |tact     (e.g.,.|
00004e20  20 20 20 20 20 20 20 20  20 20 20 20 20 20 60 60  |              ``|
00004e30  45 41 20 44 41 54 41 2e  20 53 46 27 27 29 2e 20  |EA DATA. SF''). |
00004e40  20 54 68 69 73 20 63 61  6e 20 20 62 65 20 20 61  | This can  be  a|
00004e50  77 6b 77 61 72 64 2c 20  20 68 6f 77 65 76 65 72  |wkward,  however|
00004e60  2c 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |,.              |
00004e70  73 69 6e 63 65 20 4d 53  2d 44 4f 53 20 69 6e 20  |since MS-DOS in |
00004e80  70 61 72 74 69 63 75 6c  61 72 20 64 6f 65 73 20  |particular does |
00004e90  6e 6f 74 20 67 72 61 63  65 66 75 6c 6c 79 20 73  |not gracefully s|
00004ea0  75 70 2d 0a 20 20 20 20  20 20 20 20 20 20 20 20  |up-.            |
00004eb0  20 20 70 6f 72 74 20 73  70 61 63 65 73 20 69 6e  |  port spaces in|
00004ec0  20 66 69 6c 65 6e 61 6d  65 73 2e 20 20 43 6f 6e  | filenames.  Con|
00004ed0  76 65 72 73 69 6f 6e 20  6f 66 20 73 70 61 63 65  |version of space|
00004ee0  73 20 20 74 6f 0a 20 20  20 20 20 20 20 20 20 20  |s  to.          |
00004ef0  20 20 20 20 75 6e 64 65  72 73 63 6f 72 65 73 20  |    underscores |
00004f00  20 63 61 6e 20 20 65 6c  69 6d 69 6e 61 74 65 20  | can  eliminate |
00004f10  74 68 65 20 61 77 6b 77  61 72 64 6e 65 73 73 20  |the awkwardness |
00004f20  69 6e 20 73 6f 6d 65 0a  20 20 20 20 20 20 20 20  |in some.        |
00004f30  20 20 20 20 20 20 63 61  73 65 73 2e 0a 0a 20 20  |      cases...  |
00004f40  20 20 20 20 20 2d 55 20  20 20 20 20 28 6f 62 73  |     -U     (obs|
00004f50  6f 6c 65 74 65 3b 20 74  6f 20 62 65 20 72 65 6d  |olete; to be rem|
00004f60  6f 76 65 64 20 69 6e 20  61 20 66 75 74 75 72 65  |oved in a future|
00004f70  20 72 65 6c 65 61 73 65  29 20 6c 65 61 76 65 0a  | release) leave.|
00004f80  20 20 20 20 20 20 20 20  20 20 20 20 20 20 66 69  |              fi|
00004f90  6c 65 6e 61 6d 65 73 20  20 75 70 70 65 72 63 61  |lenames  upperca|
00004fa0  73 65 20 20 69 66 20 63  72 65 61 74 65 64 20 75  |se  if created u|
00004fb0  6e 64 65 72 20 4d 53 2d  44 4f 53 2c 20 56 4d 53  |nder MS-DOS, VMS|
00004fc0  2c 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |,.              |
00004fd0  65 74 63 2e 20 20 53 65  65 20 2d 4c 20 61 62 6f  |etc.  See -L abo|
00004fe0  76 65 2e 0a 0a 20 20 20  20 20 20 20 2d 56 20 20  |ve...       -V  |
00004ff0  20 20 20 72 65 74 61 69  6e 20 28 56 4d 53 29 20  |   retain (VMS) |
00005000  66 69 6c 65 20 76 65 72  73 69 6f 6e 20 6e 75 6d  |file version num|
00005010  62 65 72 73 2e 20 20 56  4d 53 20 20 66 69 6c 65  |bers.  VMS  file|
00005020  73 20 20 63 61 6e 0a 20  20 20 20 20 20 20 20 20  |s  can.         |
00005030  20 20 20 20 20 62 65 20  20 73 74 6f 72 65 64 20  |     be  stored |
00005040  20 77 69 74 68 20 20 61  20 20 76 65 72 73 69 6f  | with  a  versio|
00005050  6e 20 20 6e 75 6d 62 65  72 2c 20 69 6e 20 74 68  |n  number, in th|
00005060  65 20 66 6f 72 6d 61 74  0a 20 20 20 20 20 20 20  |e format.       |
00005070  20 20 20 20 20 20 20 66  69 6c 65 2e 65 78 74 3b  |       file.ext;|
00005080  23 23 2e 20 20 42 79 20  64 65 66 61 75 6c 74 20  |##.  By default |
00005090  74 68 65 20 60 60 3b 23  23 27 27 20 20 76 65 72  |the ``;##''  ver|
000050a0  73 69 6f 6e 20 20 6e 75  6d 2d 0a 20 20 20 20 20  |sion  num-.     |
000050b0  20 20 20 20 20 20 20 20  20 62 65 72 73 20 20 61  |         bers  a|
000050c0  72 65 20 20 73 74 72 69  70 70 65 64 2c 20 62 75  |re  stripped, bu|
000050d0  74 20 74 68 69 73 20 6f  70 74 69 6f 6e 20 61 6c  |t this option al|
000050e0  6c 6f 77 73 20 74 68 65  6d 20 74 6f 0a 20 20 20  |lows them to.   |
000050f0  20 20 20 20 20 20 20 20  20 20 20 62 65 20 72 65  |           be re|
00005100  74 61 69 6e 65 64 2e 20  20 28 4f 6e 20 66 69 6c  |tained.  (On fil|
00005110  65 20 73 79 73 74 65 6d  73 20 74 68 61 74 20 6c  |e systems that l|
00005120  69 6d 69 74 20 66 69 6c  65 6e 61 6d 65 73 0a 20  |imit filenames. |
00005130  20 20 20 20 20 20 20 20  20 20 20 20 20 74 6f 20  |             to |
00005140  20 70 61 72 74 69 63 75  6c 61 72 6c 79 20 73 68  | particularly sh|
00005150  6f 72 74 20 6c 65 6e 67  74 68 73 2c 20 74 68 65  |ort lengths, the|
00005160  20 76 65 72 73 69 6f 6e  20 6e 75 6d 62 65 72 73  | version numbers|
00005170  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 6d  |.              m|
00005180  61 79 20 62 65 20 74 72  75 6e 63 61 74 65 64 20  |ay be truncated |
00005190  6f 72 20 20 73 74 72 69  70 70 65 64 20 20 72 65  |or  stripped  re|
000051a0  67 61 72 64 6c 65 73 73  20 20 6f 66 20 20 74 68  |gardless  of  th|
000051b0  69 73 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |is.             |
000051c0  20 6f 70 74 69 6f 6e 2e  29 0a 0a 20 20 20 20 20  | option.)..     |
000051d0  20 20 2d 58 20 20 20 20  20 5b 56 4d 53 2c 20 55  |  -X     [VMS, U|
000051e0  6e 69 78 2c 20 4f 53 2f  32 2c 20 4e 54 5d 20 72  |nix, OS/2, NT] r|
000051f0  65 73 74 6f 72 65 20 6f  77 6e 65 72 2f 70 72 6f  |estore owner/pro|
00005200  74 65 63 74 69 6f 6e 20  69 6e 66 6f 0a 20 20 20  |tection info.   |
00005210  20 20 20 20 20 20 20 20  20 20 20 28 55 49 43 73  |           (UICs|
00005220  29 20 75 6e 64 65 72 20  56 4d 53 2c 20 6f 72 20  |) under VMS, or |
00005230  75 73 65 72 20 61 6e 64  20 67 72 6f 75 70 20 69  |user and group i|
00005240  6e 66 6f 20 20 28 55 49  44 2f 47 49 44 29 0a 20  |nfo  (UID/GID). |
00005250  20 20 20 20 20 20 20 20  20 20 20 20 20 75 6e 64  |             und|
00005260  65 72 20 20 55 6e 69 78  2c 20 20 6f 72 20 20 61  |er  Unix,  or  a|
00005270  63 63 65 73 73 20 63 6f  6e 74 72 6f 6c 20 6c 69  |ccess control li|
00005280  73 74 73 20 28 41 43 4c  73 29 20 75 6e 64 65 72  |sts (ACLs) under|
00005290  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 63  |.              c|
000052a0  65 72 74 61 69 6e 20 20  6e 65 74 77 6f 72 6b 2d  |ertain  network-|
000052b0  65 6e 61 62 6c 65 64 20  20 76 65 72 73 69 6f 6e  |enabled  version|
000052c0  73 20 20 6f 66 20 20 4f  53 2f 32 20 20 28 57 61  |s  of  OS/2  (Wa|
000052d0  72 70 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |rp.             |
000052e0  20 53 65 72 76 65 72 20  20 77 69 74 68 20 20 49  | Server  with  I|
000052f0  42 4d 20 20 4c 41 4e 20  53 65 72 76 65 72 2f 52  |BM  LAN Server/R|
00005300  65 71 75 65 73 74 65 72  20 33 2e 30 20 74 6f 20  |equester 3.0 to |
00005310  35 2e 30 3b 0a 20 20 20  20 20 20 20 20 20 20 20  |5.0;.           |
00005320  20 20 20 57 61 72 70 20  43 6f 6e 6e 65 63 74 20  |   Warp Connect |
00005330  77 69 74 68 20 49 42 4d  20 50 65 65 72 20 31 2e  |with IBM Peer 1.|
00005340  30 29 2c 20 6f 72 20 20  73 65 63 75 72 69 74 79  |0), or  security|
00005350  20 20 41 43 4c 73 0a 20  20 20 20 20 20 20 20 20  |  ACLs.         |
00005360  20 20 20 20 20 75 6e 64  65 72 20 20 57 69 6e 64  |     under  Wind|
00005370  6f 77 73 20 4e 54 2e 20  20 49 6e 20 6d 6f 73 74  |ows NT.  In most|
00005380  20 63 61 73 65 73 20 74  68 69 73 20 77 69 6c 6c  | cases this will|
00005390  20 72 65 71 75 69 72 65  0a 20 20 20 20 20 20 20  | require.       |
000053a0  20 20 20 20 20 20 20 73  70 65 63 69 61 6c 20 73  |       special s|
000053b0  79 73 74 65 6d 20 70 72  69 76 69 6c 65 67 65 73  |ystem privileges|
000053c0  2c 20 61 6e 64 20 64 6f  75 62 6c 69 6e 67 20 74  |, and doubling t|
000053d0  68 65 20 20 6f 70 74 69  6f 6e 0a 20 20 20 20 20  |he  option.     |
000053e0  20 20 20 20 20 20 20 20  20 28 2d 58 58 29 20 20  |         (-XX)  |
000053f0  75 6e 64 65 72 20 20 4e  54 20 20 69 6e 73 74 72  |under  NT  instr|
00005400  75 63 74 73 20 75 6e 7a  69 70 20 74 6f 20 75 73  |ucts unzip to us|
00005410  65 20 70 72 69 76 69 6c  65 67 65 73 0a 20 20 20  |e privileges.   |
00005420  20 20 20 20 20 20 20 20  20 20 20 66 6f 72 20 65  |           for e|
00005430  78 74 72 61 63 74 69 6f  6e 3b 20 62 75 74 20 75  |xtraction; but u|
00005440  6e 64 65 72 20 55 6e 69  78 2c 20 66 6f 72 20 65  |nder Unix, for e|
00005450  78 61 6d 70 6c 65 2c 20  61 20 75 73 65 72 0a 20  |xample, a user. |
00005460  20 20 20 20 20 20 20 20  20 20 20 20 20 77 68 6f  |             who|
00005470  20 20 62 65 6c 6f 6e 67  73 20 20 74 6f 20 20 73  |  belongs  to  s|
00005480  65 76 65 72 61 6c 20 20  67 72 6f 75 70 73 20 63  |everal  groups c|
00005490  61 6e 20 72 65 73 74 6f  72 65 20 66 69 6c 65 73  |an restore files|
000054a0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 6f  |.              o|
000054b0  77 6e 65 64 20 62 79 20  61 6e 79 20 6f 66 20 74  |wned by any of t|
000054c0  68 6f 73 65 20 67 72 6f  75 70 73 2c 20 61 73 20  |hose groups, as |
000054d0  6c 6f 6e 67 20 61 73 20  20 74 68 65 20 20 75 73  |long as  the  us|
000054e0  65 72 0a 0a 49 6e 66 6f  2d 5a 49 50 20 20 20 20  |er..Info-ZIP    |
000054f0  20 20 20 20 20 20 20 20  20 33 20 4e 6f 76 65 6d  |         3 Novem|
00005500  62 65 72 20 31 39 39 37  20 28 76 35 2e 33 32 29  |ber 1997 (v5.32)|
00005510  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00005520  20 20 20 20 37 0a 0a 55  4e 5a 49 50 28 31 4c 29  |    7..UNZIP(1L)|
00005530  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00005550  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 55  |               U|
00005560  4e 5a 49 50 28 31 4c 29  0a 0a 20 20 20 20 20 20  |NZIP(1L)..      |
00005570  20 20 20 20 20 20 20 20  49 44 73 20 20 6d 61 74  |        IDs  mat|
00005580  63 68 20 68 69 73 20 6f  72 20 68 65 72 20 6f 77  |ch his or her ow|
00005590  6e 2e 20 20 4e 6f 74 65  20 74 68 61 74 20 6f 72  |n.  Note that or|
000055a0  64 69 6e 61 72 79 20 66  69 6c 65 0a 20 20 20 20  |dinary file.    |
000055b0  20 20 20 20 20 20 20 20  20 20 61 74 74 72 69 62  |          attrib|
000055c0  75 74 65 73 20 61 72 65  20 61 6c 77 61 79 73 20  |utes are always |
000055d0  72 65 73 74 6f 72 65 64  2d 2d 74 68 69 73 20 6f  |restored--this o|
000055e0  70 74 69 6f 6e 20 61 70  70 6c 69 65 73 0a 20 20  |ption applies.  |
000055f0  20 20 20 20 20 20 20 20  20 20 20 20 6f 6e 6c 79  |            only|
00005600  20 74 6f 20 6f 70 74 69  6f 6e 61 6c 2c 20 65 78  | to optional, ex|
00005610  74 72 61 20 6f 77 6e 65  72 73 68 69 70 20 69 6e  |tra ownership in|
00005620  66 6f 20 61 76 61 69 6c  61 62 6c 65 20 6f 6e 0a  |fo available on.|
00005630  20 20 20 20 20 20 20 20  20 20 20 20 20 20 73 6f  |              so|
00005640  6d 65 20 6f 70 65 72 61  74 69 6e 67 20 73 79 73  |me operating sys|
00005650  74 65 6d 73 2e 20 20 5b  4e 54 27 73 20 61 63 63  |tems.  [NT's acc|
00005660  65 73 73 20 63 6f 6e 74  72 6f 6c 20 6c 69 73 74  |ess control list|
00005670  73 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |s.              |
00005680  64 6f 20 20 6e 6f 74 20  20 61 70 70 65 61 72 20  |do  not  appear |
00005690  20 74 6f 20 20 62 65 20  20 65 73 70 65 63 69 61  | to  be  especia|
000056a0  6c 6c 79 20 63 6f 6d 70  61 74 69 62 6c 65 20 77  |lly compatible w|
000056b0  69 74 68 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ith.            |
000056c0  20 20 4f 53 2f 32 27 73  2c 20 73 6f 20 6e 6f 20  |  OS/2's, so no |
000056d0  61 74 74 65 6d 70 74 20  20 69 73 20 20 6d 61 64  |attempt  is  mad|
000056e0  65 20 20 61 74 20 20 63  72 6f 73 73 2d 70 6c 61  |e  at  cross-pla|
000056f0  74 66 6f 72 6d 0a 20 20  20 20 20 20 20 20 20 20  |tform.          |
00005700  20 20 20 20 70 6f 72 74  61 62 69 6c 69 74 79 20  |    portability |
00005710  20 6f 66 20 61 63 63 65  73 73 20 70 72 69 76 69  | of access privi|
00005720  6c 65 67 65 73 2e 20 20  49 74 20 69 73 20 6e 6f  |leges.  It is no|
00005730  74 20 63 6c 65 61 72 0a  20 20 20 20 20 20 20 20  |t clear.        |
00005740  20 20 20 20 20 20 75 6e  64 65 72 20 77 68 61 74  |      under what|
00005750  20 63 6f 6e 64 69 74 69  6f 6e 73 20 74 68 69 73  | conditions this|
00005760  20 20 77 6f 75 6c 64 20  20 65 76 65 72 20 20 62  |  would  ever  b|
00005770  65 20 20 75 73 65 66 75  6c 0a 20 20 20 20 20 20  |e  useful.      |
00005780  20 20 20 20 20 20 20 20  61 6e 79 77 61 79 2e 5d  |        anyway.]|
00005790  0a 0a 20 20 20 20 20 20  20 2d 24 20 20 20 20 20  |..       -$     |
000057a0  5b 4d 53 2d 44 4f 53 2c  20 20 4f 53 2f 32 2c 20  |[MS-DOS,  OS/2, |
000057b0  4e 54 5d 20 72 65 73 74  6f 72 65 20 74 68 65 20  |NT] restore the |
000057c0  76 6f 6c 75 6d 65 20 6c  61 62 65 6c 20 69 66 20  |volume label if |
000057d0  74 68 65 0a 20 20 20 20  20 20 20 20 20 20 20 20  |the.            |
000057e0  20 20 65 78 74 72 61 63  74 69 6f 6e 20 6d 65 64  |  extraction med|
000057f0  69 75 6d 20 69 73 20 72  65 6d 6f 76 61 62 6c 65  |ium is removable|
00005800  20 28 65 2e 67 2e 2c 20  61 20 20 64 69 73 6b 65  | (e.g., a  diske|
00005810  74 74 65 29 2e 0a 20 20  20 20 20 20 20 20 20 20  |tte)..          |
00005820  20 20 20 20 44 6f 75 62  6c 69 6e 67 20 20 74 68  |    Doubling  th|
00005830  65 20 6f 70 74 69 6f 6e  20 28 2d 24 24 29 20 61  |e option (-$$) a|
00005840  6c 6c 6f 77 73 20 66 69  78 65 64 20 6d 65 64 69  |llows fixed medi|
00005850  61 20 28 68 61 72 64 0a  20 20 20 20 20 20 20 20  |a (hard.        |
00005860  20 20 20 20 20 20 64 69  73 6b 73 29 20 74 6f 20  |      disks) to |
00005870  62 65 20 6c 61 62 65 6c  6c 65 64 20 61 73 20 77  |be labelled as w|
00005880  65 6c 6c 2e 20 20 42 79  20 64 65 66 61 75 6c 74  |ell.  By default|
00005890  2c 20 20 76 6f 6c 75 6d  65 0a 20 20 20 20 20 20  |,  volume.      |
000058a0  20 20 20 20 20 20 20 20  6c 61 62 65 6c 73 20 61  |        labels a|
000058b0  72 65 20 69 67 6e 6f 72  65 64 2e 0a 0a 45 4e 56  |re ignored...ENV|
000058c0  49 52 4f 4e 4d 45 4e 54  20 4f 50 54 49 4f 4e 53  |IRONMENT OPTIONS|
000058d0  0a 20 20 20 20 20 20 20  75 6e 7a 69 70 27 73 20  |.       unzip's |
000058e0  20 64 65 66 61 75 6c 74  20 20 62 65 68 61 76 69  | default  behavi|
000058f0  6f 72 20 20 6d 61 79 20  20 62 65 20 20 6d 6f 64  |or  may  be  mod|
00005900  69 66 69 65 64 20 20 76  69 61 20 6f 70 74 69 6f  |ified  via optio|
00005910  6e 73 0a 20 20 20 20 20  20 20 70 6c 61 63 65 64  |ns.       placed|
00005920  20 69 6e 20 61 6e 20 65  6e 76 69 72 6f 6e 6d 65  | in an environme|
00005930  6e 74 20 76 61 72 69 61  62 6c 65 2e 20 20 54 68  |nt variable.  Th|
00005940  69 73 20 63 61 6e 20 62  65 20 64 6f 6e 65 20 20  |is can be done  |
00005950  77 69 74 68 0a 20 20 20  20 20 20 20 61 6e 79 20  |with.       any |
00005960  20 6f 70 74 69 6f 6e 2c  20 20 62 75 74 20 20 69  | option,  but  i|
00005970  74 20 69 73 20 70 72 6f  62 61 62 6c 79 20 6d 6f  |t is probably mo|
00005980  73 74 20 75 73 65 66 75  6c 20 77 69 74 68 20 74  |st useful with t|
00005990  68 65 20 2d 61 2c 0a 20  20 20 20 20 20 20 2d 4c  |he -a,.       -L|
000059a0  2c 20 2d 43 2c 20 2d 71  2c 20 2d 6f 2c 20 6f 72  |, -C, -q, -o, or|
000059b0  20 2d 6e 20 6d 6f 64 69  66 69 65 72 73 3a 20 20  | -n modifiers:  |
000059c0  6d 61 6b 65 20 75 6e 7a  69 70 20 20 61 75 74 6f  |make unzip  auto|
000059d0  2d 63 6f 6e 76 65 72 74  0a 20 20 20 20 20 20 20  |-convert.       |
000059e0  74 65 78 74 20 20 66 69  6c 65 73 20 20 62 79 20  |text  files  by |
000059f0  20 64 65 66 61 75 6c 74  2c 20 20 6d 61 6b 65 20  | default,  make |
00005a00  20 69 74 20 63 6f 6e 76  65 72 74 20 66 69 6c 65  | it convert file|
00005a10  6e 61 6d 65 73 20 66 72  6f 6d 0a 20 20 20 20 20  |names from.     |
00005a20  20 20 75 70 70 65 72 63  61 73 65 20 73 79 73 74  |  uppercase syst|
00005a30  65 6d 73 20 74 6f 20 6c  6f 77 65 72 63 61 73 65  |ems to lowercase|
00005a40  2c 20 6d 61 6b 65 20 69  74 20 6d 61 74 63 68 20  |, make it match |
00005a50  6e 61 6d 65 73 20 20 63  61 73 65 2d 0a 20 20 20  |names  case-.   |
00005a60  20 20 20 20 69 6e 73 65  6e 73 69 74 69 76 65 6c  |    insensitivel|
00005a70  79 2c 20 20 6d 61 6b 65  20 20 69 74 20 20 71 75  |y,  make  it  qu|
00005a80  69 65 74 65 72 2c 20 6f  72 20 6d 61 6b 65 20 69  |ieter, or make i|
00005a90  74 20 61 6c 77 61 79 73  20 6f 76 65 72 2d 0a 20  |t always over-. |
00005aa0  20 20 20 20 20 20 77 72  69 74 65 20 6f 72 20 6e  |      write or n|
00005ab0  65 76 65 72 20 6f 76 65  72 77 72 69 74 65 20 66  |ever overwrite f|
00005ac0  69 6c 65 73 20 61 73 20  69 74 20 65 78 74 72 61  |iles as it extra|
00005ad0  63 74 73 20 20 74 68 65  6d 2e 20 20 20 46 6f 72  |cts  them.   For|
00005ae0  0a 20 20 20 20 20 20 20  65 78 61 6d 70 6c 65 2c  |.       example,|
00005af0  20 20 74 6f 20 20 6d 61  6b 65 20 20 75 6e 7a 69  |  to  make  unzi|
00005b00  70 20 61 63 74 20 61 73  20 71 75 69 65 74 6c 79  |p act as quietly|
00005b10  20 61 73 20 70 6f 73 73  69 62 6c 65 2c 20 6f 6e  | as possible, on|
00005b20  6c 79 0a 20 20 20 20 20  20 20 72 65 70 6f 72 74  |ly.       report|
00005b30  69 6e 67 20 65 72 72 6f  72 73 2c 20 6f 6e 65 20  |ing errors, one |
00005b40  77 6f 75 6c 64 20 75 73  65 20 6f 6e 65 20 6f 66  |would use one of|
00005b50  20 74 68 65 20 66 6f 6c  6c 6f 77 69 6e 67 20 20  | the following  |
00005b60  63 6f 6d 2d 0a 20 20 20  20 20 20 20 6d 61 6e 64  |com-.       mand|
00005b70  73 3a 0a 0a 20 20 20 20  20 20 20 20 20 20 20 55  |s:..           U|
00005b80  4e 5a 49 50 3d 2d 71 71  3b 20 65 78 70 6f 72 74  |NZIP=-qq; export|
00005b90  20 55 4e 5a 49 50 20 20  20 20 55 6e 69 78 20 42  | UNZIP    Unix B|
00005ba0  6f 75 72 6e 65 20 73 68  65 6c 6c 0a 20 20 20 20  |ourne shell.    |
00005bb0  20 20 20 20 20 20 20 73  65 74 65 6e 76 20 55 4e  |       setenv UN|
00005bc0  5a 49 50 20 2d 71 71 20  20 20 20 20 20 20 20 20  |ZIP -qq         |
00005bd0  20 20 55 6e 69 78 20 43  20 73 68 65 6c 6c 0a 20  |  Unix C shell. |
00005be0  20 20 20 20 20 20 20 20  20 20 73 65 74 20 55 4e  |          set UN|
00005bf0  5a 49 50 3d 2d 71 71 20  20 20 20 20 20 20 20 20  |ZIP=-qq         |
00005c00  20 20 20 20 20 4f 53 2f  32 20 6f 72 20 4d 53 2d  |     OS/2 or MS-|
00005c10  44 4f 53 0a 20 20 20 20  20 20 20 20 20 20 20 64  |DOS.           d|
00005c20  65 66 69 6e 65 20 55 4e  5a 49 50 5f 4f 50 54 53  |efine UNZIP_OPTS|
00005c30  20 22 2d 71 71 22 20 20  20 20 56 4d 53 20 28 71  | "-qq"    VMS (q|
00005c40  75 6f 74 65 73 20 66 6f  72 20 6c 6f 77 65 72 63  |uotes for lowerc|
00005c50  61 73 65 29 0a 0a 20 20  20 20 20 20 20 45 6e 76  |ase)..       Env|
00005c60  69 72 6f 6e 6d 65 6e 74  20 20 6f 70 74 69 6f 6e  |ironment  option|
00005c70  73 20 61 72 65 2c 20 69  6e 20 65 66 66 65 63 74  |s are, in effect|
00005c80  2c 20 63 6f 6e 73 69 64  65 72 65 64 20 74 6f 20  |, considered to |
00005c90  62 65 20 6a 75 73 74 0a  20 20 20 20 20 20 20 6c  |be just.       l|
00005ca0  69 6b 65 20 61 6e 79 20  6f 74 68 65 72 20 63 6f  |ike any other co|
00005cb0  6d 6d 61 6e 64 2d 6c 69  6e 65 20 6f 70 74 69 6f  |mmand-line optio|
00005cc0  6e 73 2c 20 65 78 63 65  70 74 20 74 68 61 74 20  |ns, except that |
00005cd0  74 68 65 79 20 20 61 72  65 0a 20 20 20 20 20 20  |they  are.      |
00005ce0  20 65 66 66 65 63 74 69  76 65 6c 79 20 20 74 68  | effectively  th|
00005cf0  65 20 20 66 69 72 73 74  20 20 6f 70 74 69 6f 6e  |e  first  option|
00005d00  73 20 20 6f 6e 20 74 68  65 20 63 6f 6d 6d 61 6e  |s  on the comman|
00005d10  64 20 6c 69 6e 65 2e 20  20 54 6f 0a 20 20 20 20  |d line.  To.    |
00005d20  20 20 20 6f 76 65 72 72  69 64 65 20 61 6e 20 65  |   override an e|
00005d30  6e 76 69 72 6f 6e 6d 65  6e 74 20 6f 70 74 69 6f  |nvironment optio|
00005d40  6e 2c 20 6f 6e 65 20 6d  61 79 20 20 75 73 65 20  |n, one may  use |
00005d50  20 74 68 65 20 20 60 60  6d 69 6e 75 73 0a 20 20  | the  ``minus.  |
00005d60  20 20 20 20 20 6f 70 65  72 61 74 6f 72 27 27 20  |     operator'' |
00005d70  74 6f 20 72 65 6d 6f 76  65 20 69 74 2e 20 20 46  |to remove it.  F|
00005d80  6f 72 20 69 6e 73 74 61  6e 63 65 2c 20 74 6f 20  |or instance, to |
00005d90  6f 76 65 72 72 69 64 65  20 6f 6e 65 20 6f 66 0a  |override one of.|
00005da0  20 20 20 20 20 20 20 74  68 65 20 71 75 69 65 74  |       the quiet|
00005db0  2d 66 6c 61 67 73 20 69  6e 20 74 68 65 20 65 78  |-flags in the ex|
00005dc0  61 6d 70 6c 65 20 61 62  6f 76 65 2c 20 75 73 65  |ample above, use|
00005dd0  20 74 68 65 20 63 6f 6d  6d 61 6e 64 0a 0a 20 20  | the command..  |
00005de0  20 20 20 20 20 20 20 20  20 75 6e 7a 69 70 20 2d  |         unzip -|
00005df0  2d 71 5b 6f 74 68 65 72  20 6f 70 74 69 6f 6e 73  |-q[other options|
00005e00  5d 20 7a 69 70 66 69 6c  65 0a 0a 20 20 20 20 20  |] zipfile..     |
00005e10  20 20 54 68 65 20 66 69  72 73 74 20 68 79 70 68  |  The first hyph|
00005e20  65 6e 20 69 73 20 74 68  65 20 6e 6f 72 6d 61 6c  |en is the normal|
00005e30  20 73 77 69 74 63 68 20  63 68 61 72 61 63 74 65  | switch characte|
00005e40  72 2c 20 20 61 6e 64 20  20 74 68 65 0a 20 20 20  |r,  and  the.   |
00005e50  20 20 20 20 73 65 63 6f  6e 64 20 20 69 73 20 61  |    second  is a|
00005e60  20 6d 69 6e 75 73 20 73  69 67 6e 2c 20 61 63 74  | minus sign, act|
00005e70  69 6e 67 20 6f 6e 20 74  68 65 20 71 20 6f 70 74  |ing on the q opt|
00005e80  69 6f 6e 2e 20 20 54 68  75 73 20 74 68 65 0a 20  |ion.  Thus the. |
00005e90  20 20 20 20 20 20 65 66  66 65 63 74 20 68 65 72  |      effect her|
00005ea0  65 20 69 73 20 74 6f 20  63 61 6e 63 65 6c 20 6f  |e is to cancel o|
00005eb0  6e 65 20 20 71 75 61 6e  74 75 6d 20 20 6f 66 20  |ne  quantum  of |
00005ec0  20 71 75 69 65 74 6e 65  73 73 2e 20 20 20 54 6f  | quietness.   To|
00005ed0  0a 20 20 20 20 20 20 20  63 61 6e 63 65 6c 20 20  |.       cancel  |
00005ee0  62 6f 74 68 20 20 71 75  69 65 74 20 20 66 6c 61  |both  quiet  fla|
00005ef0  67 73 2c 20 20 74 77 6f  20 20 28 6f 72 20 6d 6f  |gs,  two  (or mo|
00005f00  72 65 29 20 6d 69 6e 75  73 65 73 20 6d 61 79 20  |re) minuses may |
00005f10  62 65 0a 20 20 20 20 20  20 20 75 73 65 64 3a 0a  |be.       used:.|
00005f20  0a 20 20 20 20 20 20 20  20 20 20 20 75 6e 7a 69  |.           unzi|
00005f30  70 20 2d 74 2d 2d 71 20  7a 69 70 66 69 6c 65 0a  |p -t--q zipfile.|
00005f40  20 20 20 20 20 20 20 20  20 20 20 75 6e 7a 69 70  |           unzip|
00005f50  20 2d 2d 2d 71 74 20 7a  69 70 66 69 6c 65 0a 0a  | ---qt zipfile..|
00005f60  20 20 20 20 20 20 20 28  74 68 65 20 74 77 6f 20  |       (the two |
00005f70  61 72 65 20 65 71 75 69  76 61 6c 65 6e 74 29 2e  |are equivalent).|
00005f80  20 20 54 68 69 73 20 6d  61 79 20 73 65 65 6d 20  |  This may seem |
00005f90  61 77 6b 77 61 72 64 20  20 6f 72 20 20 63 6f 6e  |awkward  or  con|
00005fa0  2d 0a 20 20 20 20 20 20  20 66 75 73 69 6e 67 2c  |-.       fusing,|
00005fb0  20 20 62 75 74 20 20 69  74 20 69 73 20 72 65 61  |  but  it is rea|
00005fc0  73 6f 6e 61 62 6c 79 20  69 6e 74 75 69 74 69 76  |sonably intuitiv|
00005fd0  65 3a 20 20 6a 75 73 74  20 69 67 6e 6f 72 65 20  |e:  just ignore |
00005fe0  74 68 65 0a 0a 49 6e 66  6f 2d 5a 49 50 20 20 20  |the..Info-ZIP   |
00005ff0  20 20 20 20 20 20 20 20  20 20 33 20 4e 6f 76 65  |          3 Nove|
00006000  6d 62 65 72 20 31 39 39  37 20 28 76 35 2e 33 32  |mber 1997 (v5.32|
00006010  29 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |)               |
00006020  20 20 20 20 20 38 0a 0a  55 4e 5a 49 50 28 31 4c  |     8..UNZIP(1L|
00006030  29 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |)               |
00006040  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00006060  55 4e 5a 49 50 28 31 4c  29 0a 0a 20 20 20 20 20  |UNZIP(1L)..     |
00006070  20 20 66 69 72 73 74 20  68 79 70 68 65 6e 20 61  |  first hyphen a|
00006080  6e 64 20 67 6f 20 66 72  6f 6d 20 74 68 65 72 65  |nd go from there|
00006090  2e 20 20 20 49 74 20 20  69 73 20 20 61 6c 73 6f  |.   It  is  also|
000060a0  20 20 63 6f 6e 73 69 73  74 65 6e 74 0a 20 20 20  |  consistent.   |
000060b0  20 20 20 20 77 69 74 68  20 74 68 65 20 62 65 68  |    with the beh|
000060c0  61 76 69 6f 72 20 6f 66  20 55 6e 69 78 20 6e 69  |avior of Unix ni|
000060d0  63 65 28 31 29 2e 0a 0a  20 20 20 20 20 20 20 41  |ce(1)...       A|
000060e0  73 20 20 73 75 67 67 65  73 74 65 64 20 20 62 79  |s  suggested  by|
000060f0  20 74 68 65 20 65 78 61  6d 70 6c 65 73 20 61 62  | the examples ab|
00006100  6f 76 65 2c 20 74 68 65  20 64 65 66 61 75 6c 74  |ove, the default|
00006110  20 76 61 72 69 61 62 6c  65 0a 20 20 20 20 20 20  | variable.      |
00006120  20 6e 61 6d 65 73 20 61  72 65 20 55 4e 5a 49 50  | names are UNZIP|
00006130  5f 4f 50 54 53 20 66 6f  72 20 56 4d 53 20 28 77  |_OPTS for VMS (w|
00006140  68 65 72 65 20 20 74 68  65 20 20 73 79 6d 62 6f  |here  the  symbo|
00006150  6c 20 20 75 73 65 64 20  20 74 6f 0a 20 20 20 20  |l  used  to.    |
00006160  20 20 20 69 6e 73 74 61  6c 6c 20 75 6e 7a 69 70  |   install unzip|
00006170  20 61 73 20 61 20 66 6f  72 65 69 67 6e 20 63 6f  | as a foreign co|
00006180  6d 6d 61 6e 64 20 77 6f  75 6c 64 20 6f 74 68 65  |mmand would othe|
00006190  72 77 69 73 65 20 62 65  20 63 6f 6e 2d 0a 20 20  |rwise be con-.  |
000061a0  20 20 20 20 20 66 75 73  65 64 20 77 69 74 68 20  |     fused with |
000061b0  74 68 65 20 65 6e 76 69  72 6f 6e 6d 65 6e 74 20  |the environment |
000061c0  76 61 72 69 61 62 6c 65  29 2c 20 61 6e 64 20 20  |variable), and  |
000061d0  55 4e 5a 49 50 20 20 66  6f 72 20 20 61 6c 6c 0a  |UNZIP  for  all.|
000061e0  20 20 20 20 20 20 20 6f  74 68 65 72 20 20 6f 70  |       other  op|
000061f0  65 72 61 74 69 6e 67 20  73 79 73 74 65 6d 73 2e  |erating systems.|
00006200  20 20 46 6f 72 20 63 6f  6d 70 61 74 69 62 69 6c  |  For compatibil|
00006210  69 74 79 20 77 69 74 68  20 7a 69 70 28 31 4c 29  |ity with zip(1L)|
00006220  2c 0a 20 20 20 20 20 20  20 55 4e 5a 49 50 4f 50  |,.       UNZIPOP|
00006230  54 20 69 73 20 61 6c 73  6f 20 61 63 63 65 70 74  |T is also accept|
00006240  65 64 20 28 64 6f 6e 27  74 20 61 73 6b 29 2e 20  |ed (don't ask). |
00006250  20 49 66 20 62 6f 74 68  20 55 4e 5a 49 50 20 20  | If both UNZIP  |
00006260  61 6e 64 0a 20 20 20 20  20 20 20 55 4e 5a 49 50  |and.       UNZIP|
00006270  4f 50 54 20 20 61 72 65  20 20 64 65 66 69 6e 65  |OPT  are  define|
00006280  64 2c 20 20 68 6f 77 65  76 65 72 2c 20 20 55 4e  |d,  however,  UN|
00006290  5a 49 50 20 74 61 6b 65  73 20 70 72 65 63 65 64  |ZIP takes preced|
000062a0  65 6e 63 65 2e 0a 20 20  20 20 20 20 20 75 6e 7a  |ence..       unz|
000062b0  69 70 27 73 20 64 69 61  67 6e 6f 73 74 69 63 20  |ip's diagnostic |
000062c0  6f 70 74 69 6f 6e 20 28  2d 76 20 77 69 74 68 20  |option (-v with |
000062d0  6e 6f 20 7a 69 70 66 69  6c 65 20 6e 61 6d 65 29  |no zipfile name)|
000062e0  20 63 61 6e 20 62 65 0a  20 20 20 20 20 20 20 75  | can be.       u|
000062f0  73 65 64 20 20 74 6f 20  20 63 68 65 63 6b 20 20  |sed  to  check  |
00006300  74 68 65 20 76 61 6c 75  65 73 20 6f 66 20 61 6c  |the values of al|
00006310  6c 20 66 6f 75 72 20 70  6f 73 73 69 62 6c 65 20  |l four possible |
00006320  75 6e 7a 69 70 20 61 6e  64 0a 20 20 20 20 20 20  |unzip and.      |
00006330  20 7a 69 70 69 6e 66 6f  20 65 6e 76 69 72 6f 6e  | zipinfo environ|
00006340  6d 65 6e 74 20 76 61 72  69 61 62 6c 65 73 2e 0a  |ment variables..|
00006350  0a 20 20 20 20 20 20 20  54 68 65 20 74 69 6d 65  |.       The time|
00006360  7a 6f 6e 65 20 76 61 72  69 61 62 6c 65 20 28 54  |zone variable (T|
00006370  5a 29 20 73 68 6f 75 6c  64 20 62 65 20 73 65 74  |Z) should be set|
00006380  20 61 63 63 6f 72 64 69  6e 67 20 74 6f 20 20 74  | according to  t|
00006390  68 65 0a 20 20 20 20 20  20 20 6c 6f 63 61 6c 20  |he.       local |
000063a0  20 74 69 6d 65 7a 6f 6e  65 20 69 6e 20 6f 72 64  | timezone in ord|
000063b0  65 72 20 66 6f 72 20 74  68 65 20 2d 66 20 61 6e  |er for the -f an|
000063c0  64 20 2d 75 20 74 6f 20  6f 70 65 72 61 74 65 20  |d -u to operate |
000063d0  63 6f 72 2d 0a 20 20 20  20 20 20 20 72 65 63 74  |cor-.       rect|
000063e0  6c 79 2e 20 20 53 65 65  20 74 68 65 20 64 65 73  |ly.  See the des|
000063f0  63 72 69 70 74 69 6f 6e  20 20 6f 66 20 20 2d 66  |cription  of  -f|
00006400  20 20 61 62 6f 76 65 20  20 66 6f 72 20 20 64 65  |  above  for  de|
00006410  74 61 69 6c 73 2e 0a 20  20 20 20 20 20 20 54 68  |tails..       Th|
00006420  69 73 20 20 76 61 72 69  61 62 6c 65 20 20 6d 61  |is  variable  ma|
00006430  79 20 20 61 6c 73 6f 20  62 65 20 6e 65 63 65 73  |y  also be neces|
00006440  73 61 72 79 20 69 6e 20  6f 72 64 65 72 20 66 6f  |sary in order fo|
00006450  72 20 74 69 6d 65 73 2d  0a 20 20 20 20 20 20 20  |r times-.       |
00006460  74 61 6d 70 73 20 6f 6e  20 65 78 74 72 61 63 74  |tamps on extract|
00006470  65 64 20 66 69 6c 65 73  20 74 6f 20 62 65 20 73  |ed files to be s|
00006480  65 74 20 63 6f 72 72 65  63 74 6c 79 2e 20 20 55  |et correctly.  U|
00006490  6e 64 65 72 20 20 57 69  6e 2d 0a 20 20 20 20 20  |nder  Win-.     |
000064a0  20 20 64 6f 77 73 20 20  39 35 2f 4e 54 20 75 6e  |  dows  95/NT un|
000064b0  7a 69 70 20 73 68 6f 75  6c 64 20 6b 6e 6f 77 20  |zip should know |
000064c0  74 68 65 20 63 6f 72 72  65 63 74 20 74 69 6d 65  |the correct time|
000064d0  7a 6f 6e 65 20 65 76 65  6e 20 69 66 0a 20 20 20  |zone even if.   |
000064e0  20 20 20 20 54 5a 20 69  73 20 75 6e 73 65 74 2c  |    TZ is unset,|
000064f0  20 61 73 73 75 6d 69 6e  67 20 74 68 65 20 74 69  | assuming the ti|
00006500  6d 65 7a 6f 6e 65 20 69  73 20 63 6f 72 72 65 63  |mezone is correc|
00006510  74 6c 79 20 73 65 74 20  69 6e 20 74 68 65 0a 20  |tly set in the. |
00006520  20 20 20 20 20 20 43 6f  6e 74 72 6f 6c 20 50 61  |      Control Pa|
00006530  6e 65 6c 2e 0a 0a 44 45  43 52 59 50 54 49 4f 4e  |nel...DECRYPTION|
00006540  0a 20 20 20 20 20 20 20  45 6e 63 72 79 70 74 65  |.       Encrypte|
00006550  64 20 20 61 72 63 68 69  76 65 73 20 20 61 72 65  |d  archives  are|
00006560  20 66 75 6c 6c 79 20 73  75 70 70 6f 72 74 65 64  | fully supported|
00006570  20 62 79 20 49 6e 66 6f  2d 5a 49 50 20 73 6f 66  | by Info-ZIP sof|
00006580  74 2d 0a 20 20 20 20 20  20 20 77 61 72 65 2c 20  |t-.       ware, |
00006590  62 75 74 20 64 75 65 20  74 6f 20 55 6e 69 74 65  |but due to Unite|
000065a0  64 20 53 74 61 74 65 73  20 20 65 78 70 6f 72 74  |d States  export|
000065b0  20 20 72 65 73 74 72 69  63 74 69 6f 6e 73 2c 20  |  restrictions, |
000065c0  20 74 68 65 0a 20 20 20  20 20 20 20 65 6e 63 72  | the.       encr|
000065d0  79 70 74 69 6f 6e 20 20  61 6e 64 20 20 64 65 63  |yption  and  dec|
000065e0  72 79 70 74 69 6f 6e 20  20 73 6f 75 72 63 65 73  |ryption  sources|
000065f0  20 61 72 65 20 6e 6f 74  20 70 61 63 6b 61 67 65  | are not package|
00006600  64 20 77 69 74 68 0a 20  20 20 20 20 20 20 74 68  |d with.       th|
00006610  65 20 72 65 67 75 6c 61  72 20 75 6e 7a 69 70 20  |e regular unzip |
00006620  61 6e 64 20 7a 69 70 20  64 69 73 74 72 69 62 75  |and zip distribu|
00006630  74 69 6f 6e 73 2e 20 20  53 69 6e 63 65 20 74 68  |tions.  Since th|
00006640  65 20 20 63 72 79 70 74  0a 20 20 20 20 20 20 20  |e  crypt.       |
00006650  73 6f 75 72 63 65 73 20  20 77 65 72 65 20 20 77  |sources  were  w|
00006660  72 69 74 74 65 6e 20 20  62 79 20 20 45 75 72 6f  |ritten  by  Euro|
00006670  70 65 61 6e 73 2c 20 20  68 6f 77 65 76 65 72 2c  |peans,  however,|
00006680  20 20 74 68 65 79 20 61  72 65 0a 20 20 20 20 20  |  they are.     |
00006690  20 20 66 72 65 65 6c 79  20 61 76 61 69 6c 61 62  |  freely availab|
000066a0  6c 65 20 61 74 20 73 69  74 65 73 20 74 68 72 6f  |le at sites thro|
000066b0  75 67 68 6f 75 74 20 74  68 65 20 20 77 6f 72 6c  |ughout the  worl|
000066c0  64 3b 20 20 73 65 65 20  20 74 68 65 0a 20 20 20  |d;  see  the.   |
000066d0  20 20 20 20 66 69 6c 65  20 20 60 60 57 48 45 52  |    file  ``WHER|
000066e0  45 27 27 20 69 6e 20 61  6e 79 20 49 6e 66 6f 2d  |E'' in any Info-|
000066f0  5a 49 50 20 73 6f 75 72  63 65 20 6f 72 20 62 69  |ZIP source or bi|
00006700  6e 61 72 79 20 64 69 73  74 72 69 62 75 2d 0a 20  |nary distribu-. |
00006710  20 20 20 20 20 20 74 69  6f 6e 20 66 6f 72 20 6c  |      tion for l|
00006720  6f 63 61 74 69 6f 6e 73  20 62 6f 74 68 20 69 6e  |ocations both in|
00006730  73 69 64 65 20 61 6e 64  20 6f 75 74 73 69 64 65  |side and outside|
00006740  20 74 68 65 20 55 53 2e  0a 0a 20 20 20 20 20 20  | the US...      |
00006750  20 42 65 63 61 75 73 65  20 6f 66 20 74 68 65 20  | Because of the |
00006760  73 65 70 61 72 61 74 65  20 20 64 69 73 74 72 69  |separate  distri|
00006770  62 75 74 69 6f 6e 2c 20  20 6e 6f 74 20 20 61 6c  |bution,  not  al|
00006780  6c 20 20 63 6f 6d 70 69  6c 65 64 0a 20 20 20 20  |l  compiled.    |
00006790  20 20 20 76 65 72 73 69  6f 6e 73 20 20 6f 66 20  |   versions  of |
000067a0  75 6e 7a 69 70 20 73 75  70 70 6f 72 74 20 64 65  |unzip support de|
000067b0  63 72 79 70 74 69 6f 6e  2e 20 20 54 6f 20 63 68  |cryption.  To ch|
000067c0  65 63 6b 20 61 20 76 65  72 73 69 6f 6e 0a 20 20  |eck a version.  |
000067d0  20 20 20 20 20 66 6f 72  20 63 72 79 70 74 20 73  |     for crypt s|
000067e0  75 70 70 6f 72 74 2c 20  65 69 74 68 65 72 20 61  |upport, either a|
000067f0  74 74 65 6d 70 74 20 74  6f 20 74 65 73 74 20 20  |ttempt to test  |
00006800  6f 72 20 20 65 78 74 72  61 63 74 20 20 61 6e 0a  |or  extract  an.|
00006810  20 20 20 20 20 20 20 65  6e 63 72 79 70 74 65 64  |       encrypted|
00006820  20 61 72 63 68 69 76 65  2c 20 6f 72 20 65 6c 73  | archive, or els|
00006830  65 20 63 68 65 63 6b 20  75 6e 7a 69 70 27 73 20  |e check unzip's |
00006840  64 69 61 67 6e 6f 73 74  69 63 20 73 63 72 65 65  |diagnostic scree|
00006850  6e 0a 20 20 20 20 20 20  20 28 73 65 65 20 74 68  |n.       (see th|
00006860  65 20 2d 76 20 6f 70 74  69 6f 6e 20 61 62 6f 76  |e -v option abov|
00006870  65 29 20 66 6f 72 20 60  60 5b 64 65 63 72 79 70  |e) for ``[decryp|
00006880  74 69 6f 6e 5d 27 27 20  61 73 20 20 6f 6e 65 20  |tion]'' as  one |
00006890  20 6f 66 0a 20 20 20 20  20 20 20 74 68 65 20 73  | of.       the s|
000068a0  70 65 63 69 61 6c 20 63  6f 6d 70 69 6c 61 74 69  |pecial compilati|
000068b0  6f 6e 20 6f 70 74 69 6f  6e 73 2e 0a 0a 20 20 20  |on options...   |
000068c0  20 20 20 20 41 73 20 20  6e 6f 74 65 64 20 20 61  |    As  noted  a|
000068d0  62 6f 76 65 2c 20 20 74  68 65 20 20 2d 50 20 20  |bove,  the  -P  |
000068e0  6f 70 74 69 6f 6e 20 6d  61 79 20 62 65 20 75 73  |option may be us|
000068f0  65 64 20 74 6f 20 73 75  70 70 6c 79 20 61 0a 20  |ed to supply a. |
00006900  20 20 20 20 20 20 70 61  73 73 77 6f 72 64 20 6f  |      password o|
00006910  6e 20 74 68 65 20 63 6f  6d 6d 61 6e 64 20 6c 69  |n the command li|
00006920  6e 65 2c 20 62 75 74 20  61 74 20 61 20 63 6f 73  |ne, but at a cos|
00006930  74 20 20 69 6e 20 20 73  65 63 75 72 69 74 79 2e  |t  in  security.|
00006940  0a 20 20 20 20 20 20 20  54 68 65 20 20 70 72 65  |.       The  pre|
00006950  66 65 72 72 65 64 20 64  65 63 72 79 70 74 69 6f  |ferred decryptio|
00006960  6e 20 6d 65 74 68 6f 64  20 69 73 20 73 69 6d 70  |n method is simp|
00006970  6c 79 20 74 6f 20 65 78  74 72 61 63 74 20 6e 6f  |ly to extract no|
00006980  72 2d 0a 20 20 20 20 20  20 20 6d 61 6c 6c 79 3b  |r-.       mally;|
00006990  20 69 66 20 61 20 7a 69  70 66 69 6c 65 20 6d 65  | if a zipfile me|
000069a0  6d 62 65 72 20 69 73 20  65 6e 63 72 79 70 74 65  |mber is encrypte|
000069b0  64 2c 20 75 6e 7a 69 70  20 77 69 6c 6c 20 70 72  |d, unzip will pr|
000069c0  6f 6d 70 74 0a 20 20 20  20 20 20 20 66 6f 72 20  |ompt.       for |
000069d0  20 74 68 65 20 20 70 61  73 73 77 6f 72 64 20 20  | the  password  |
000069e0  77 69 74 68 6f 75 74 20  20 65 63 68 6f 69 6e 67  |without  echoing|
000069f0  20 77 68 61 74 20 69 73  20 74 79 70 65 64 2e 20  | what is typed. |
00006a00  20 75 6e 7a 69 70 0a 20  20 20 20 20 20 20 63 6f  | unzip.       co|
00006a10  6e 74 69 6e 75 65 73 20  74 6f 20 75 73 65 20 74  |ntinues to use t|
00006a20  68 65 20 73 61 6d 65 20  70 61 73 73 77 6f 72 64  |he same password|
00006a30  20 61 73 20 6c 6f 6e 67  20 61 73 20 20 69 74 20  | as long as  it |
00006a40  20 61 70 70 65 61 72 73  0a 20 20 20 20 20 20 20  | appears.       |
00006a50  74 6f 20 20 62 65 20 20  76 61 6c 69 64 2c 20 20  |to  be  valid,  |
00006a60  62 79 20 20 74 65 73 74  69 6e 67 20 61 20 31 32  |by  testing a 12|
00006a70  2d 62 79 74 65 20 68 65  61 64 65 72 20 6f 6e 20  |-byte header on |
00006a80  65 61 63 68 20 66 69 6c  65 2e 0a 20 20 20 20 20  |each file..     |
00006a90  20 20 54 68 65 20 63 6f  72 72 65 63 74 20 70 61  |  The correct pa|
00006aa0  73 73 77 6f 72 64 20 77  69 6c 6c 20 61 6c 77 61  |ssword will alwa|
00006ab0  79 73 20 20 63 68 65 63  6b 20 20 6f 75 74 20 20  |ys  check  out  |
00006ac0  61 67 61 69 6e 73 74 20  20 74 68 65 0a 20 20 20  |against  the.   |
00006ad0  20 20 20 20 68 65 61 64  65 72 2c 20 20 62 75 74  |    header,  but|
00006ae0  20 20 74 68 65 72 65 20  69 73 20 61 20 31 2d 69  |  there is a 1-i|
00006af0  6e 2d 32 35 36 20 63 68  61 6e 63 65 20 74 68 61  |n-256 chance tha|
00006b00  74 20 61 6e 20 69 6e 63  6f 72 72 65 63 74 0a 20  |t an incorrect. |
00006b10  20 20 20 20 20 20 70 61  73 73 77 6f 72 64 20 77  |      password w|
00006b20  69 6c 6c 20 61 73 20 77  65 6c 6c 2e 20 20 28 54  |ill as well.  (T|
00006b30  68 69 73 20 69 73 20 61  20 73 65 63 75 72 69 74  |his is a securit|
00006b40  79 20 66 65 61 74 75 72  65 20 6f 66 20 74 68 65  |y feature of the|
00006b50  0a 20 20 20 20 20 20 20  50 4b 57 41 52 45 20 20  |.       PKWARE  |
00006b60  20 7a 69 70 66 69 6c 65  20 20 66 6f 72 6d 61 74  | zipfile  format|
00006b70  3b 20 20 69 74 20 20 68  65 6c 70 73 20 20 70 72  |;  it  helps  pr|
00006b80  65 76 65 6e 74 20 20 62  72 75 74 65 2d 66 6f 72  |event  brute-for|
00006b90  63 65 0a 20 20 20 20 20  20 20 61 74 74 61 63 6b  |ce.       attack|
00006ba0  73 20 74 68 61 74 20 6d  69 67 68 74 20 6f 74 68  |s that might oth|
00006bb0  65 72 77 69 73 65 20 67  61 69 6e 20 61 20 6c 61  |erwise gain a la|
00006bc0  72 67 65 20 73 70 65 65  64 20 20 61 64 76 61 6e  |rge speed  advan|
00006bd0  74 61 67 65 0a 20 20 20  20 20 20 20 62 79 20 20  |tage.       by  |
00006be0  74 65 73 74 69 6e 67 20  20 6f 6e 6c 79 20 74 68  |testing  only th|
00006bf0  65 20 68 65 61 64 65 72  2e 29 20 20 49 6e 20 74  |e header.)  In t|
00006c00  68 65 20 63 61 73 65 20  74 68 61 74 20 61 6e 20  |he case that an |
00006c10  69 6e 63 6f 72 2d 0a 20  20 20 20 20 20 20 72 65  |incor-.       re|
00006c20  63 74 20 70 61 73 73 77  6f 72 64 20 69 73 20 67  |ct password is g|
00006c30  69 76 65 6e 20 20 62 75  74 20 20 69 74 20 20 70  |iven  but  it  p|
00006c40  61 73 73 65 73 20 20 74  68 65 20 20 68 65 61 64  |asses  the  head|
00006c50  65 72 20 20 74 65 73 74  0a 0a 49 6e 66 6f 2d 5a  |er  test..Info-Z|
00006c60  49 50 20 20 20 20 20 20  20 20 20 20 20 20 20 33  |IP             3|
00006c70  20 4e 6f 76 65 6d 62 65  72 20 31 39 39 37 20 28  | November 1997 (|
00006c80  76 35 2e 33 32 29 20 20  20 20 20 20 20 20 20 20  |v5.32)          |
00006c90  20 20 20 20 20 20 20 20  20 20 39 0a 0a 55 4e 5a  |          9..UNZ|
00006ca0  49 50 28 31 4c 29 20 20  20 20 20 20 20 20 20 20  |IP(1L)          |
00006cb0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00006cd0  20 20 20 20 20 55 4e 5a  49 50 28 31 4c 29 0a 0a  |     UNZIP(1L)..|
00006ce0  20 20 20 20 20 20 20 61  6e 79 77 61 79 2c 20 20  |       anyway,  |
00006cf0  65 69 74 68 65 72 20 61  6e 20 69 6e 63 6f 72 72  |either an incorr|
00006d00  65 63 74 20 43 52 43 20  77 69 6c 6c 20 62 65 20  |ect CRC will be |
00006d10  67 65 6e 65 72 61 74 65  64 20 66 6f 72 20 74 68  |generated for th|
00006d20  65 0a 20 20 20 20 20 20  20 65 78 74 72 61 63 74  |e.       extract|
00006d30  65 64 20 64 61 74 61 20  6f 72 20 65 6c 73 65 20  |ed data or else |
00006d40  75 6e 7a 69 70 20 77 69  6c 6c 20 66 61 69 6c 20  |unzip will fail |
00006d50  64 75 72 69 6e 67 20 74  68 65 20 20 65 78 74 72  |during the  extr|
00006d60  61 63 2d 0a 20 20 20 20  20 20 20 74 69 6f 6e 20  |ac-.       tion |
00006d70  20 62 65 63 61 75 73 65  20 20 74 68 65 20 60 60  | because  the ``|
00006d80  64 65 63 72 79 70 74 65  64 27 27 20 62 79 74 65  |decrypted'' byte|
00006d90  73 20 64 6f 20 6e 6f 74  20 63 6f 6e 73 74 69 74  |s do not constit|
00006da0  75 74 65 20 61 0a 20 20  20 20 20 20 20 76 61 6c  |ute a.       val|
00006db0  69 64 20 63 6f 6d 70 72  65 73 73 65 64 20 64 61  |id compressed da|
00006dc0  74 61 20 73 74 72 65 61  6d 2e 0a 0a 20 20 20 20  |ta stream...    |
00006dd0  20 20 20 49 66 20 74 68  65 20 66 69 72 73 74 20  |   If the first |
00006de0  70 61 73 73 77 6f 72 64  20 66 61 69 6c 73 20 74  |password fails t|
00006df0  68 65 20 68 65 61 64 65  72 20 63 68 65 63 6b 20  |he header check |
00006e00  6f 6e 20 73 6f 6d 65 20  66 69 6c 65 2c 0a 20 20  |on some file,.  |
00006e10  20 20 20 20 20 75 6e 7a  69 70 20 20 77 69 6c 6c  |     unzip  will|
00006e20  20 20 70 72 6f 6d 70 74  20 20 66 6f 72 20 61 6e  |  prompt  for an|
00006e30  6f 74 68 65 72 20 70 61  73 73 77 6f 72 64 2c 20  |other password, |
00006e40  61 6e 64 20 73 6f 20 6f  6e 20 75 6e 74 69 6c 0a  |and so on until.|
00006e50  20 20 20 20 20 20 20 61  6c 6c 20 66 69 6c 65 73  |       all files|
00006e60  20 61 72 65 20 65 78 74  72 61 63 74 65 64 2e 20  | are extracted. |
00006e70  20 49 66 20 20 61 20 20  70 61 73 73 77 6f 72 64  | If  a  password|
00006e80  20 20 69 73 20 20 6e 6f  74 20 20 6b 6e 6f 77 6e  |  is  not  known|
00006e90  2c 0a 20 20 20 20 20 20  20 65 6e 74 65 72 69 6e  |,.       enterin|
00006ea0  67 20 20 61 20 6e 75 6c  6c 20 70 61 73 73 77 6f  |g  a null passwo|
00006eb0  72 64 20 28 74 68 61 74  20 69 73 2c 20 6a 75 73  |rd (that is, jus|
00006ec0  74 20 61 20 63 61 72 72  69 61 67 65 20 72 65 74  |t a carriage ret|
00006ed0  75 72 6e 0a 20 20 20 20  20 20 20 6f 72 20 60 60  |urn.       or ``|
00006ee0  45 6e 74 65 72 27 27 29  20 69 73 20 74 61 6b 65  |Enter'') is take|
00006ef0  6e 20 61 73 20 61 20 73  69 67 6e 61 6c 20 20 74  |n as a signal  t|
00006f00  6f 20 20 73 6b 69 70 20  20 61 6c 6c 20 20 66 75  |o  skip  all  fu|
00006f10  72 74 68 65 72 0a 20 20  20 20 20 20 20 70 72 6f  |rther.       pro|
00006f20  6d 70 74 69 6e 67 2e 20  20 20 4f 6e 6c 79 20 75  |mpting.   Only u|
00006f30  6e 65 6e 63 72 79 70 74  65 64 20 66 69 6c 65 73  |nencrypted files|
00006f40  20 69 6e 20 74 68 65 20  61 72 63 68 69 76 65 28  | in the archive(|
00006f50  73 29 20 77 69 6c 6c 0a  20 20 20 20 20 20 20 74  |s) will.       t|
00006f60  68 65 72 65 61 66 74 65  72 20 62 65 20 65 78 74  |hereafter be ext|
00006f70  72 61 63 74 65 64 2e 20  20 28 49 6e 20 66 61 63  |racted.  (In fac|
00006f80  74 2c 20 74 68 61 74 27  73 20 6e 6f 74 20 71 75  |t, that's not qu|
00006f90  69 74 65 20 74 72 75 65  3b 0a 20 20 20 20 20 20  |ite true;.      |
00006fa0  20 6f 6c 64 65 72 20 20  76 65 72 73 69 6f 6e 73  | older  versions|
00006fb0  20 20 6f 66 20 20 7a 69  70 28 31 4c 29 20 61 6e  |  of  zip(1L) an|
00006fc0  64 20 7a 69 70 63 6c 6f  61 6b 28 31 4c 29 20 61  |d zipcloak(1L) a|
00006fd0  6c 6c 6f 77 65 64 20 6e  75 6c 6c 0a 20 20 20 20  |llowed null.    |
00006fe0  20 20 20 70 61 73 73 77  6f 72 64 73 2c 20 73 6f  |   passwords, so|
00006ff0  20 75 6e 7a 69 70 20 63  68 65 63 6b 73 20 65 61  | unzip checks ea|
00007000  63 68 20 65 6e 63 72 79  70 74 65 64 20 66 69 6c  |ch encrypted fil|
00007010  65 20 74 6f 20 20 73 65  65 20 20 69 66 0a 20 20  |e to  see  if.  |
00007020  20 20 20 20 20 74 68 65  20 6e 75 6c 6c 20 70 61  |     the null pa|
00007030  73 73 77 6f 72 64 20 77  6f 72 6b 73 2e 20 20 54  |ssword works.  T|
00007040  68 69 73 20 6d 61 79 20  72 65 73 75 6c 74 20 69  |his may result i|
00007050  6e 20 60 60 66 61 6c 73  65 20 70 6f 73 69 2d 0a  |n ``false posi-.|
00007060  20 20 20 20 20 20 20 74  69 76 65 73 27 27 20 61  |       tives'' a|
00007070  6e 64 20 65 78 74 72 61  63 74 69 6f 6e 20 65 72  |nd extraction er|
00007080  72 6f 72 73 2c 20 61 73  20 6e 6f 74 65 64 20 61  |rors, as noted a|
00007090  62 6f 76 65 2e 29 0a 0a  20 20 20 20 20 20 20 41  |bove.)..       A|
000070a0  72 63 68 69 76 65 73 20  65 6e 63 72 79 70 74 65  |rchives encrypte|
000070b0  64 20 20 77 69 74 68 20  20 38 2d 62 69 74 20 20  |d  with  8-bit  |
000070c0  70 61 73 73 77 6f 72 64  73 20 20 28 66 6f 72 20  |passwords  (for |
000070d0  20 65 78 61 6d 70 6c 65  2c 0a 20 20 20 20 20 20  | example,.      |
000070e0  20 70 61 73 73 77 6f 72  64 73 20 20 77 69 74 68  | passwords  with|
000070f0  20 20 61 63 63 65 6e 74  65 64 20 20 45 75 72 6f  |  accented  Euro|
00007100  70 65 61 6e 20 63 68 61  72 61 63 74 65 72 73 29  |pean characters)|
00007110  20 6d 61 79 20 6e 6f 74  20 62 65 0a 20 20 20 20  | may not be.    |
00007120  20 20 20 70 6f 72 74 61  62 6c 65 20 61 63 72 6f  |   portable acro|
00007130  73 73 20 20 73 79 73 74  65 6d 73 20 20 61 6e 64  |ss  systems  and|
00007140  2f 6f 72 20 20 6f 74 68  65 72 20 20 61 72 63 68  |/or  other  arch|
00007150  69 76 65 72 73 2e 20 20  20 54 68 69 73 0a 20 20  |ivers.   This.  |
00007160  20 20 20 20 20 70 72 6f  62 6c 65 6d 20 20 73 74  |     problem  st|
00007170  65 6d 73 20 20 66 72 6f  6d 20 20 74 68 65 20 75  |ems  from  the u|
00007180  73 65 20 6f 66 20 6d 75  6c 74 69 70 6c 65 20 65  |se of multiple e|
00007190  6e 63 6f 64 69 6e 67 20  6d 65 74 68 6f 64 73 0a  |ncoding methods.|
000071a0  20 20 20 20 20 20 20 66  6f 72 20 73 75 63 68 20  |       for such |
000071b0  63 68 61 72 61 63 74 65  72 73 2c 20 69 6e 63 6c  |characters, incl|
000071c0  75 64 69 6e 67 20 4c 61  74 69 6e 2d 31 20 20 28  |uding Latin-1  (|
000071d0  49 53 4f 20 20 38 38 35  39 2d 31 29 20 20 61 6e  |ISO  8859-1)  an|
000071e0  64 0a 20 20 20 20 20 20  20 4f 45 4d 20 20 63 6f  |d.       OEM  co|
000071f0  64 65 20 20 70 61 67 65  20 20 38 35 30 2e 20 20  |de  page  850.  |
00007200  20 44 4f 53 20 20 50 4b  5a 49 50 20 32 2e 30 34  | DOS  PKZIP 2.04|
00007210  67 20 75 73 65 73 20 74  68 65 20 4f 45 4d 20 63  |g uses the OEM c|
00007220  6f 64 65 0a 20 20 20 20  20 20 20 70 61 67 65 3b  |ode.       page;|
00007230  20 57 69 6e 64 6f 77 73  20 50 4b 5a 49 50 20 32  | Windows PKZIP 2|
00007240  2e 35 30 20 75 73 65 73  20 4c 61 74 69 6e 2d 31  |.50 uses Latin-1|
00007250  20 20 28 61 6e 64 20 20  69 73 20 20 74 68 65 72  |  (and  is  ther|
00007260  65 66 6f 72 65 0a 20 20  20 20 20 20 20 69 6e 63  |efore.       inc|
00007270  6f 6d 70 61 74 69 62 6c  65 20 20 77 69 74 68 20  |ompatible  with |
00007280  20 44 4f 53 20 50 4b 5a  49 50 29 3b 20 49 6e 66  | DOS PKZIP); Inf|
00007290  6f 2d 5a 49 50 20 75 73  65 73 20 74 68 65 20 4f  |o-ZIP uses the O|
000072a0  45 4d 20 63 6f 64 65 0a  20 20 20 20 20 20 20 70  |EM code.       p|
000072b0  61 67 65 20 6f 6e 20 44  4f 53 2c 20 4f 53 2f 32  |age on DOS, OS/2|
000072c0  20 61 6e 64 20 57 69 6e  33 2e 78 20 70 6f 72 74  | and Win3.x port|
000072d0  73 20 62 75 74 20 4c 61  74 69 6e 2d 31 20 20 65  |s but Latin-1  e|
000072e0  76 65 72 79 77 68 65 72  65 0a 20 20 20 20 20 20  |verywhere.      |
000072f0  20 65 6c 73 65 3b 20 61  6e 64 20 4e 69 63 6f 20  | else; and Nico |
00007300  4d 61 6b 27 73 20 57 69  6e 5a 69 70 20 36 2e 78  |Mak's WinZip 6.x|
00007310  20 64 6f 65 73 20 6e 6f  74 20 61 6c 6c 6f 77 20  | does not allow |
00007320  38 2d 62 69 74 20 70 61  73 73 2d 0a 20 20 20 20  |8-bit pass-.    |
00007330  20 20 20 77 6f 72 64 73  20 61 74 20 61 6c 6c 2e  |   words at all.|
00007340  20 20 55 6e 5a 69 70 20  35 2e 33 20 61 74 74 65  |  UnZip 5.3 atte|
00007350  6d 70 74 73 20 74 6f 20  75 73 65 20 74 68 65 20  |mpts to use the |
00007360  64 65 66 61 75 6c 74 20  63 68 61 72 2d 0a 20 20  |default char-.  |
00007370  20 20 20 20 20 61 63 74  65 72 20 73 65 74 20 66  |     acter set f|
00007380  69 72 73 74 20 28 65 2e  67 2e 2c 20 4c 61 74 69  |irst (e.g., Lati|
00007390  6e 2d 31 29 2c 20 66 6f  6c 6c 6f 77 65 64 20 62  |n-1), followed b|
000073a0  79 20 74 68 65 20 61 6c  74 65 72 6e 61 74 65 0a  |y the alternate.|
000073b0  20 20 20 20 20 20 20 6f  6e 65 20 28 65 2e 67 2e  |       one (e.g.|
000073c0  2c 20 4f 45 4d 20 63 6f  64 65 20 70 61 67 65 29  |, OEM code page)|
000073d0  20 74 6f 20 74 65 73 74  20 20 70 61 73 73 77 6f  | to test  passwo|
000073e0  72 64 73 2e 20 20 20 4f  6e 20 20 45 42 43 44 49  |rds.   On  EBCDI|
000073f0  43 0a 20 20 20 20 20 20  20 73 79 73 74 65 6d 73  |C.       systems|
00007400  2c 20 20 69 66 20 20 62  6f 74 68 20 20 6f 66 20  |,  if  both  of |
00007410  74 68 65 73 65 20 66 61  69 6c 2c 20 45 42 43 44  |these fail, EBCD|
00007420  49 43 20 65 6e 63 6f 64  69 6e 67 20 77 69 6c 6c  |IC encoding will|
00007430  20 62 65 0a 20 20 20 20  20 20 20 74 65 73 74 65  | be.       teste|
00007440  64 20 61 73 20 61 20 20  6c 61 73 74 20 20 72 65  |d as a  last  re|
00007450  73 6f 72 74 2e 20 20 20  28 53 69 6e 63 65 20 20  |sort.   (Since  |
00007460  74 68 65 72 65 20 20 61  72 65 20 20 6e 6f 20 20  |there  are  no  |
00007470  6b 6e 6f 77 6e 0a 20 20  20 20 20 20 20 61 72 63  |known.       arc|
00007480  68 69 76 65 72 73 20 20  74 68 61 74 20 20 65 6e  |hivers  that  en|
00007490  63 72 79 70 74 20 20 75  73 69 6e 67 20 45 42 43  |crypt  using EBC|
000074a0  44 49 43 20 65 6e 63 6f  64 69 6e 67 2c 20 45 42  |DIC encoding, EB|
000074b0  43 44 49 43 20 69 73 0a  20 20 20 20 20 20 20 6e  |CDIC is.       n|
000074c0  6f 74 20 74 65 73 74 65  64 20 6f 6e 20 6e 6f 6e  |ot tested on non|
000074d0  2d 45 42 43 44 49 43 20  73 79 73 74 65 6d 73 2e  |-EBCDIC systems.|
000074e0  29 20 20 49 53 4f 20 20  63 68 61 72 61 63 74 65  |)  ISO  characte|
000074f0  72 20 20 65 6e 63 6f 64  2d 0a 20 20 20 20 20 20  |r  encod-.      |
00007500  20 69 6e 67 73 20 6f 74  68 65 72 20 74 68 61 6e  | ings other than|
00007510  20 4c 61 74 69 6e 2d 31  20 61 72 65 20 6e 6f 74  | Latin-1 are not|
00007520  20 73 75 70 70 6f 72 74  65 64 2e 0a 0a 45 58 41  | supported...EXA|
00007530  4d 50 4c 45 53 0a 20 20  20 20 20 20 20 54 6f 20  |MPLES.       To |
00007540  20 75 73 65 20 20 75 6e  7a 69 70 20 20 74 6f 20  | use  unzip  to |
00007550  65 78 74 72 61 63 74 20  61 6c 6c 20 6d 65 6d 62  |extract all memb|
00007560  65 72 73 20 6f 66 20 74  68 65 20 61 72 63 68 69  |ers of the archi|
00007570  76 65 20 6c 65 74 2d 0a  20 20 20 20 20 20 20 74  |ve let-.       t|
00007580  65 72 73 2e 7a 69 70 20  69 6e 74 6f 20 74 68 65  |ers.zip into the|
00007590  20 20 63 75 72 72 65 6e  74 20 20 64 69 72 65 63  |  current  direc|
000075a0  74 6f 72 79 20 20 61 6e  64 20 20 73 75 62 64 69  |tory  and  subdi|
000075b0  72 65 63 74 6f 72 69 65  73 0a 20 20 20 20 20 20  |rectories.      |
000075c0  20 62 65 6c 6f 77 20 69  74 2c 20 63 72 65 61 74  | below it, creat|
000075d0  69 6e 67 20 61 6e 79 20  73 75 62 64 69 72 65 63  |ing any subdirec|
000075e0  74 6f 72 69 65 73 20 61  73 20 6e 65 63 65 73 73  |tories as necess|
000075f0  61 72 79 3a 0a 0a 20 20  20 20 20 20 20 20 20 20  |ary:..          |
00007600  20 75 6e 7a 69 70 20 6c  65 74 74 65 72 73 0a 0a  | unzip letters..|
00007610  20 20 20 20 20 20 20 54  6f 20 20 65 78 74 72 61  |       To  extra|
00007620  63 74 20 20 61 6c 6c 20  20 6d 65 6d 62 65 72 73  |ct  all  members|
00007630  20 20 6f 66 20 6c 65 74  74 65 72 73 2e 7a 69 70  |  of letters.zip|
00007640  20 69 6e 74 6f 20 74 68  65 20 63 75 72 72 65 6e  | into the curren|
00007650  74 0a 20 20 20 20 20 20  20 64 69 72 65 63 74 6f  |t.       directo|
00007660  72 79 20 6f 6e 6c 79 3a  0a 0a 20 20 20 20 20 20  |ry only:..      |
00007670  20 20 20 20 20 75 6e 7a  69 70 20 2d 6a 20 6c 65  |     unzip -j le|
00007680  74 74 65 72 73 0a 0a 20  20 20 20 20 20 20 54 6f  |tters..       To|
00007690  20 74 65 73 74 20 6c 65  74 74 65 72 73 2e 7a 69  | test letters.zi|
000076a0  70 2c 20 70 72 69 6e 74  69 6e 67 20 6f 6e 6c 79  |p, printing only|
000076b0  20 61 20 73 75 6d 6d 61  72 79 20 6d 65 73 73 61  | a summary messa|
000076c0  67 65 20 69 6e 64 69 2d  0a 20 20 20 20 20 20 20  |ge indi-.       |
000076d0  63 61 74 69 6e 67 20 77  68 65 74 68 65 72 20 74  |cating whether t|
000076e0  68 65 20 61 72 63 68 69  76 65 20 69 73 20 4f 4b  |he archive is OK|
000076f0  20 6f 72 20 6e 6f 74 3a  0a 0a 20 20 20 20 20 20  | or not:..      |
00007700  20 20 20 20 20 75 6e 7a  69 70 20 2d 74 71 20 6c  |     unzip -tq l|
00007710  65 74 74 65 72 73 0a 0a  20 20 20 20 20 20 20 54  |etters..       T|
00007720  6f 20 20 74 65 73 74 20  20 61 6c 6c 20 20 7a 69  |o  test  all  zi|
00007730  70 66 69 6c 65 73 20 69  6e 20 74 68 65 20 63 75  |pfiles in the cu|
00007740  72 72 65 6e 74 20 64 69  72 65 63 74 6f 72 79 2c  |rrent directory,|
00007750  20 70 72 69 6e 74 69 6e  67 0a 0a 49 6e 66 6f 2d  | printing..Info-|
00007760  5a 49 50 20 20 20 20 20  20 20 20 20 20 20 20 20  |ZIP             |
00007770  33 20 4e 6f 76 65 6d 62  65 72 20 31 39 39 37 20  |3 November 1997 |
00007780  28 76 35 2e 33 32 29 20  20 20 20 20 20 20 20 20  |(v5.32)         |
00007790  20 20 20 20 20 20 20 20  20 20 31 30 0a 0a 55 4e  |          10..UN|
000077a0  5a 49 50 28 31 4c 29 20  20 20 20 20 20 20 20 20  |ZIP(1L)         |
000077b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000077d0  20 20 20 20 20 20 55 4e  5a 49 50 28 31 4c 29 0a  |      UNZIP(1L).|
000077e0  0a 20 20 20 20 20 20 20  6f 6e 6c 79 20 74 68 65  |.       only the|
000077f0  20 73 75 6d 6d 61 72 69  65 73 3a 0a 0a 20 20 20  | summaries:..   |
00007800  20 20 20 20 20 20 20 20  75 6e 7a 69 70 20 2d 74  |        unzip -t|
00007810  71 20 5c 2a 2e 7a 69 70  0a 0a 20 20 20 20 20 20  |q \*.zip..      |
00007820  20 28 54 68 65 20 62 61  63 6b 73 6c 61 73 68 20  | (The backslash |
00007830  62 65 66 6f 72 65 20 74  68 65 20 61 73 74 65 72  |before the aster|
00007840  69 73 6b 20 69 73 20 6f  6e 6c 79 20 72 65 71 75  |isk is only requ|
00007850  69 72 65 64 20 69 66 20  74 68 65 0a 20 20 20 20  |ired if the.    |
00007860  20 20 20 73 68 65 6c 6c  20 20 65 78 70 61 6e 64  |   shell  expand|
00007870  73 20 20 77 69 6c 64 63  61 72 64 73 2c 20 61 73  |s  wildcards, as|
00007880  20 69 6e 20 55 6e 69 78  3b 20 64 6f 75 62 6c 65  | in Unix; double|
00007890  20 71 75 6f 74 65 73 20  63 6f 75 6c 64 0a 20 20  | quotes could.  |
000078a0  20 20 20 20 20 68 61 76  65 20 20 62 65 65 6e 20  |     have  been |
000078b0  20 75 73 65 64 20 20 69  6e 73 74 65 61 64 2c 20  | used  instead, |
000078c0  20 61 73 20 20 69 6e 20  20 74 68 65 20 20 73 6f  | as  in  the  so|
000078d0  75 72 63 65 20 20 20 65  78 61 6d 70 6c 65 73 0a  |urce   examples.|
000078e0  20 20 20 20 20 20 20 62  65 6c 6f 77 2e 29 20 20  |       below.)  |
000078f0  54 6f 20 65 78 74 72 61  63 74 20 74 6f 20 73 74  |To extract to st|
00007900  61 6e 64 61 72 64 20 6f  75 74 70 75 74 20 61 6c  |andard output al|
00007910  6c 20 6d 65 6d 62 65 72  73 20 6f 66 20 6c 65 74  |l members of let|
00007920  2d 0a 20 20 20 20 20 20  20 74 65 72 73 2e 7a 69  |-.       ters.zi|
00007930  70 20 77 68 6f 73 65 20  6e 61 6d 65 73 20 65 6e  |p whose names en|
00007940  64 20 69 6e 20 2e 74 65  78 2c 20 61 75 74 6f 2d  |d in .tex, auto-|
00007950  63 6f 6e 76 65 72 74 69  6e 67 20 20 74 6f 20 20  |converting  to  |
00007960  74 68 65 0a 20 20 20 20  20 20 20 6c 6f 63 61 6c  |the.       local|
00007970  20 20 65 6e 64 2d 6f 66  2d 6c 69 6e 65 20 20 63  |  end-of-line  c|
00007980  6f 6e 76 65 6e 74 69 6f  6e 20 20 61 6e 64 20 70  |onvention  and p|
00007990  69 70 69 6e 67 20 74 68  65 20 6f 75 74 70 75 74  |iping the output|
000079a0  20 69 6e 74 6f 0a 20 20  20 20 20 20 20 6d 6f 72  | into.       mor|
000079b0  65 28 31 29 3a 0a 0a 20  20 20 20 20 20 20 20 20  |e(1):..         |
000079c0  20 20 75 6e 7a 69 70 20  2d 63 61 20 6c 65 74 74  |  unzip -ca lett|
000079d0  65 72 73 20 5c 2a 2e 74  65 78 20 7c 20 6d 6f 72  |ers \*.tex | mor|
000079e0  65 0a 0a 20 20 20 20 20  20 20 54 6f 20 65 78 74  |e..       To ext|
000079f0  72 61 63 74 20 74 68 65  20 62 69 6e 61 72 79 20  |ract the binary |
00007a00  66 69 6c 65 20 70 61 70  65 72 31 2e 64 76 69 20  |file paper1.dvi |
00007a10  74 6f 20 20 73 74 61 6e  64 61 72 64 20 20 6f 75  |to  standard  ou|
00007a20  74 70 75 74 0a 20 20 20  20 20 20 20 61 6e 64 20  |tput.       and |
00007a30  70 69 70 65 20 69 74 20  74 6f 20 61 20 70 72 69  |pipe it to a pri|
00007a40  6e 74 69 6e 67 20 70 72  6f 67 72 61 6d 3a 0a 0a  |nting program:..|
00007a50  20 20 20 20 20 20 20 20  20 20 20 75 6e 7a 69 70  |           unzip|
00007a60  20 2d 70 20 61 72 74 69  63 6c 65 73 20 70 61 70  | -p articles pap|
00007a70  65 72 31 2e 64 76 69 20  7c 20 64 76 69 70 73 0a  |er1.dvi | dvips.|
00007a80  0a 20 20 20 20 20 20 20  54 6f 20 20 65 78 74 72  |.       To  extr|
00007a90  61 63 74 20 61 6c 6c 20  46 4f 52 54 52 41 4e 20  |act all FORTRAN |
00007aa0  61 6e 64 20 43 20 73 6f  75 72 63 65 20 66 69 6c  |and C source fil|
00007ab0  65 73 2d 2d 2a 2e 66 2c  20 2a 2e 63 2c 20 2a 2e  |es--*.f, *.c, *.|
00007ac0  68 2c 0a 20 20 20 20 20  20 20 61 6e 64 20 4d 61  |h,.       and Ma|
00007ad0  6b 65 66 69 6c 65 2d 2d  69 6e 74 6f 20 74 68 65  |kefile--into the|
00007ae0  20 2f 74 6d 70 20 64 69  72 65 63 74 6f 72 79 3a  | /tmp directory:|
00007af0  0a 0a 20 20 20 20 20 20  20 20 20 20 20 75 6e 7a  |..           unz|
00007b00  69 70 20 73 6f 75 72 63  65 2e 7a 69 70 20 22 2a  |ip source.zip "*|
00007b10  2e 5b 66 63 68 5d 22 20  4d 61 6b 65 66 69 6c 65  |.[fch]" Makefile|
00007b20  20 2d 64 20 2f 74 6d 70  0a 0a 20 20 20 20 20 20  | -d /tmp..      |
00007b30  20 28 74 68 65 20 64 6f  75 62 6c 65 20 71 75 6f  | (the double quo|
00007b40  74 65 73 20 61 72 65 20  6e 65 63 65 73 73 61 72  |tes are necessar|
00007b50  79 20 6f 6e 6c 79 20 69  6e 20 55 6e 69 78 20 61  |y only in Unix a|
00007b60  6e 64 20 6f 6e 6c 79 20  20 69 66 0a 20 20 20 20  |nd only  if.    |
00007b70  20 20 20 67 6c 6f 62 62  69 6e 67 20 20 69 73 20  |   globbing  is |
00007b80  20 74 75 72 6e 65 64 20  20 6f 6e 29 2e 20 20 20  | turned  on).   |
00007b90  54 6f 20 20 65 78 74 72  61 63 74 20 61 6c 6c 20  |To  extract all |
00007ba0  46 4f 52 54 52 41 4e 20  61 6e 64 20 43 0a 20 20  |FORTRAN and C.  |
00007bb0  20 20 20 20 20 73 6f 75  72 63 65 20 66 69 6c 65  |     source file|
00007bc0  73 2c 20 72 65 67 61 72  64 6c 65 73 73 20 6f 66  |s, regardless of|
00007bd0  20 63 61 73 65 20 28 65  2e 67 2e 2c 20 62 6f 74  | case (e.g., bot|
00007be0  68 20 2a 2e 63 20 61 6e  64 20 20 2a 2e 43 2c 0a  |h *.c and  *.C,.|
00007bf0  20 20 20 20 20 20 20 61  6e 64 20 61 6e 79 20 6d  |       and any m|
00007c00  61 6b 65 66 69 6c 65 2c  20 4d 61 6b 65 66 69 6c  |akefile, Makefil|
00007c10  65 2c 20 4d 41 4b 45 46  49 4c 45 20 6f 72 20 73  |e, MAKEFILE or s|
00007c20  69 6d 69 6c 61 72 29 3a  0a 0a 20 20 20 20 20 20  |imilar):..      |
00007c30  20 20 20 20 20 75 6e 7a  69 70 20 2d 43 20 73 6f  |     unzip -C so|
00007c40  75 72 63 65 2e 7a 69 70  20 22 2a 2e 5b 66 63 68  |urce.zip "*.[fch|
00007c50  5d 22 20 6d 61 6b 65 66  69 6c 65 20 2d 64 20 2f  |]" makefile -d /|
00007c60  74 6d 70 0a 0a 20 20 20  20 20 20 20 54 6f 20 65  |tmp..       To e|
00007c70  78 74 72 61 63 74 20 61  6e 79 20 73 75 63 68 20  |xtract any such |
00007c80  66 69 6c 65 73 20 62 75  74 20 63 6f 6e 76 65 72  |files but conver|
00007c90  74 20 61 6e 79 20 75 70  70 65 72 63 61 73 65 20  |t any uppercase |
00007ca0  4d 53 2d 44 4f 53 0a 20  20 20 20 20 20 20 6f 72  |MS-DOS.       or|
00007cb0  20 56 4d 53 20 6e 61 6d  65 73 20 74 6f 20 6c 6f  | VMS names to lo|
00007cc0  77 65 72 63 61 73 65 20  61 6e 64 20 63 6f 6e 76  |wercase and conv|
00007cd0  65 72 74 20 74 68 65 20  6c 69 6e 65 2d 65 6e 64  |ert the line-end|
00007ce0  69 6e 67 73 20 20 6f 66  0a 20 20 20 20 20 20 20  |ings  of.       |
00007cf0  61 6c 6c 20 6f 66 20 74  68 65 20 66 69 6c 65 73  |all of the files|
00007d00  20 74 6f 20 74 68 65 20  6c 6f 63 61 6c 20 73 74  | to the local st|
00007d10  61 6e 64 61 72 64 20 28  77 69 74 68 6f 75 74 20  |andard (without |
00007d20  72 65 73 70 65 63 74 20  74 6f 0a 20 20 20 20 20  |respect to.     |
00007d30  20 20 61 6e 79 20 66 69  6c 65 73 20 74 68 61 74  |  any files that|
00007d40  20 6d 69 67 68 74 20 62  65 20 6d 61 72 6b 65 64  | might be marked|
00007d50  20 60 60 62 69 6e 61 72  79 27 27 29 3a 0a 0a 20  | ``binary''):.. |
00007d60  20 20 20 20 20 20 20 20  20 20 75 6e 7a 69 70 20  |          unzip |
00007d70  2d 61 61 43 4c 20 73 6f  75 72 63 65 2e 7a 69 70  |-aaCL source.zip|
00007d80  20 22 2a 2e 5b 66 63 68  5d 22 20 6d 61 6b 65 66  | "*.[fch]" makef|
00007d90  69 6c 65 20 2d 64 20 2f  74 6d 70 0a 0a 20 20 20  |ile -d /tmp..   |
00007da0  20 20 20 20 54 6f 20 65  78 74 72 61 63 74 20 6f  |    To extract o|
00007db0  6e 6c 79 20 6e 65 77 65  72 20 76 65 72 73 69 6f  |nly newer versio|
00007dc0  6e 73 20 6f 66 20 74 68  65 20 66 69 6c 65 73 20  |ns of the files |
00007dd0  61 6c 72 65 61 64 79 20  69 6e 20 74 68 65 0a 20  |already in the. |
00007de0  20 20 20 20 20 20 63 75  72 72 65 6e 74 20 20 64  |      current  d|
00007df0  69 72 65 63 74 6f 72 79  2c 20 77 69 74 68 6f 75  |irectory, withou|
00007e00  74 20 71 75 65 72 79 69  6e 67 20 28 4e 4f 54 45  |t querying (NOTE|
00007e10  3a 20 20 62 65 20 63 61  72 65 66 75 6c 20 6f 66  |:  be careful of|
00007e20  0a 20 20 20 20 20 20 20  75 6e 7a 69 70 70 69 6e  |.       unzippin|
00007e30  67 20 20 69 6e 20 20 6f  6e 65 20 20 20 74 69 6d  |g  in  one   tim|
00007e40  65 7a 6f 6e 65 20 20 20  61 20 20 20 7a 69 70 66  |ezone   a   zipf|
00007e50  69 6c 65 20 20 20 63 72  65 61 74 65 64 20 20 20  |ile   created   |
00007e60  69 6e 0a 20 20 20 20 20  20 20 61 6e 6f 74 68 65  |in.       anothe|
00007e70  72 2d 2d 5a 49 50 20 20  61 72 63 68 69 76 65 73  |r--ZIP  archives|
00007e80  20 6f 74 68 65 72 20 74  68 61 6e 20 74 68 6f 73  | other than thos|
00007e90  65 20 63 72 65 61 74 65  64 20 62 79 20 5a 69 70  |e created by Zip|
00007ea0  20 32 2e 31 0a 20 20 20  20 20 20 20 6f 72 20 6c  | 2.1.       or l|
00007eb0  61 74 65 72 20 63 6f 6e  74 61 69 6e 20 6e 6f 20  |ater contain no |
00007ec0  74 69 6d 65 7a 6f 6e 65  20 69 6e 66 6f 72 6d 61  |timezone informa|
00007ed0  74 69 6f 6e 2c 20 61 6e  64 20 61 20 20 60 60 6e  |tion, and a  ``n|
00007ee0  65 77 65 72 27 27 0a 20  20 20 20 20 20 20 66 69  |ewer''.       fi|
00007ef0  6c 65 20 66 72 6f 6d 20  61 6e 20 65 61 73 74 65  |le from an easte|
00007f00  72 6e 20 74 69 6d 65 7a  6f 6e 65 20 6d 61 79 2c  |rn timezone may,|
00007f10  20 69 6e 20 66 61 63 74  2c 20 62 65 20 6f 6c 64  | in fact, be old|
00007f20  65 72 29 3a 0a 0a 20 20  20 20 20 20 20 20 20 20  |er):..          |
00007f30  20 75 6e 7a 69 70 20 2d  66 6f 20 73 6f 75 72 63  | unzip -fo sourc|
00007f40  65 73 0a 0a 20 20 20 20  20 20 20 54 6f 20 65 78  |es..       To ex|
00007f50  74 72 61 63 74 20 6e 65  77 65 72 20 76 65 72 73  |tract newer vers|
00007f60  69 6f 6e 73 20 6f 66 20  74 68 65 20 66 69 6c 65  |ions of the file|
00007f70  73 20 61 6c 72 65 61 64  79 20 69 6e 20 74 68 65  |s already in the|
00007f80  20 63 75 72 2d 0a 20 20  20 20 20 20 20 72 65 6e  | cur-.       ren|
00007f90  74 20 64 69 72 65 63 74  6f 72 79 20 61 6e 64 20  |t directory and |
00007fa0  74 6f 20 63 72 65 61 74  65 20 61 6e 79 20 66 69  |to create any fi|
00007fb0  6c 65 73 20 6e 6f 74 20  20 61 6c 72 65 61 64 79  |les not  already|
00007fc0  20 20 74 68 65 72 65 0a  20 20 20 20 20 20 20 28  |  there.       (|
00007fd0  73 61 6d 65 20 63 61 76  65 61 74 20 61 73 20 70  |same caveat as p|
00007fe0  72 65 76 69 6f 75 73 20  65 78 61 6d 70 6c 65 29  |revious example)|
00007ff0  3a 0a 0a 20 20 20 20 20  20 20 20 20 20 20 75 6e  |:..           un|
00008000  7a 69 70 20 2d 75 6f 20  73 6f 75 72 63 65 73 0a  |zip -uo sources.|
00008010  0a 20 20 20 20 20 20 20  54 6f 20 20 64 69 73 70  |.       To  disp|
00008020  6c 61 79 20 20 61 20 20  64 69 61 67 6e 6f 73 74  |lay  a  diagnost|
00008030  69 63 20 20 73 63 72 65  65 6e 20 73 68 6f 77 69  |ic  screen showi|
00008040  6e 67 20 77 68 69 63 68  20 75 6e 7a 69 70 20 61  |ng which unzip a|
00008050  6e 64 0a 0a 49 6e 66 6f  2d 5a 49 50 20 20 20 20  |nd..Info-ZIP    |
00008060  20 20 20 20 20 20 20 20  20 33 20 4e 6f 76 65 6d  |         3 Novem|
00008070  62 65 72 20 31 39 39 37  20 28 76 35 2e 33 32 29  |ber 1997 (v5.32)|
00008080  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00008090  20 20 20 31 31 0a 0a 55  4e 5a 49 50 28 31 4c 29  |   11..UNZIP(1L)|
000080a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000080c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 55  |               U|
000080d0  4e 5a 49 50 28 31 4c 29  0a 0a 20 20 20 20 20 20  |NZIP(1L)..      |
000080e0  20 7a 69 70 69 6e 66 6f  20 20 6f 70 74 69 6f 6e  | zipinfo  option|
000080f0  73 20 20 61 72 65 20 20  73 74 6f 72 65 64 20 20  |s  are  stored  |
00008100  69 6e 20 20 65 6e 76 69  72 6f 6e 6d 65 6e 74 20  |in  environment |
00008110  20 76 61 72 69 61 62 6c  65 73 2c 0a 20 20 20 20  | variables,.    |
00008120  20 20 20 77 68 65 74 68  65 72 20 20 64 65 63 72  |   whether  decr|
00008130  79 70 74 69 6f 6e 20 20  73 75 70 70 6f 72 74 20  |yption  support |
00008140  77 61 73 20 63 6f 6d 70  69 6c 65 64 20 69 6e 2c  |was compiled in,|
00008150  20 74 68 65 20 63 6f 6d  70 69 6c 65 72 0a 20 20  | the compiler.  |
00008160  20 20 20 20 20 77 69 74  68 20 77 68 69 63 68 20  |     with which |
00008170  75 6e 7a 69 70 20 77 61  73 20 63 6f 6d 70 69 6c  |unzip was compil|
00008180  65 64 2c 20 65 74 63 2e  3a 0a 0a 20 20 20 20 20  |ed, etc.:..     |
00008190  20 20 20 20 20 20 75 6e  7a 69 70 20 2d 76 0a 0a  |      unzip -v..|
000081a0  20 20 20 20 20 20 20 49  6e 20 74 68 65 20 6c 61  |       In the la|
000081b0  73 74 20 66 69 76 65 20  65 78 61 6d 70 6c 65 73  |st five examples|
000081c0  2c 20 61 73 73 75 6d 65  20 74 68 61 74 20 55 4e  |, assume that UN|
000081d0  5a 49 50 20 6f 72 20 55  4e 5a 49 50 5f 4f 50 54  |ZIP or UNZIP_OPT|
000081e0  53 0a 20 20 20 20 20 20  20 69 73 20 73 65 74 20  |S.       is set |
000081f0  74 6f 20 2d 71 2e 20 20  54 6f 20 64 6f 20 61 20  |to -q.  To do a |
00008200  73 69 6e 67 6c 79 20 71  75 69 65 74 20 6c 69 73  |singly quiet lis|
00008210  74 69 6e 67 3a 0a 0a 20  20 20 20 20 20 20 20 20  |ting:..         |
00008220  20 20 75 6e 7a 69 70 20  2d 6c 20 66 69 6c 65 2e  |  unzip -l file.|
00008230  7a 69 70 0a 0a 20 20 20  20 20 20 20 54 6f 20 64  |zip..       To d|
00008240  6f 20 61 20 64 6f 75 62  6c 79 20 71 75 69 65 74  |o a doubly quiet|
00008250  20 6c 69 73 74 69 6e 67  3a 0a 0a 20 20 20 20 20  | listing:..     |
00008260  20 20 20 20 20 20 75 6e  7a 69 70 20 2d 71 6c 20  |      unzip -ql |
00008270  66 69 6c 65 2e 7a 69 70  0a 0a 20 20 20 20 20 20  |file.zip..      |
00008280  20 28 4e 6f 74 65 20 20  74 68 61 74 20 20 74 68  | (Note  that  th|
00008290  65 20 60 60 2e 7a 69 70  27 27 20 69 73 20 67 65  |e ``.zip'' is ge|
000082a0  6e 65 72 61 6c 6c 79 20  6e 6f 74 20 6e 65 63 65  |nerally not nece|
000082b0  73 73 61 72 79 2e 29 20  20 54 6f 0a 20 20 20 20  |ssary.)  To.    |
000082c0  20 20 20 64 6f 20 61 20  73 74 61 6e 64 61 72 64  |   do a standard|
000082d0  20 6c 69 73 74 69 6e 67  3a 0a 0a 20 20 20 20 20  | listing:..     |
000082e0  20 20 20 20 20 20 75 6e  7a 69 70 20 2d 2d 71 6c  |      unzip --ql|
000082f0  20 66 69 6c 65 2e 7a 69  70 0a 20 20 20 20 20 20  | file.zip.      |
00008300  20 6f 72 0a 20 20 20 20  20 20 20 20 20 20 20 75  | or.           u|
00008310  6e 7a 69 70 20 2d 6c 2d  71 20 66 69 6c 65 2e 7a  |nzip -l-q file.z|
00008320  69 70 0a 20 20 20 20 20  20 20 6f 72 0a 20 20 20  |ip.       or.   |
00008330  20 20 20 20 20 20 20 20  75 6e 7a 69 70 20 2d 6c  |        unzip -l|
00008340  2d 2d 71 20 66 69 6c 65  2e 7a 69 70 20 20 20 20  |--q file.zip    |
00008350  20 20 20 28 65 78 74 72  61 20 6d 69 6e 75 73 65  |   (extra minuse|
00008360  73 20 64 6f 6e 27 74 20  68 75 72 74 29 0a 0a 54  |s don't hurt)..T|
00008370  49 50 53 0a 20 20 20 20  20 20 20 54 68 65 20 63  |IPS.       The c|
00008380  75 72 72 65 6e 74 20 6d  61 69 6e 74 61 69 6e 65  |urrent maintaine|
00008390  72 2c 20 62 65 69 6e 67  20 61 20 6c 61 7a 79 20  |r, being a lazy |
000083a0  73 6f 72 74 2c 20 66 69  6e 64 73 20 20 69 74 20  |sort, finds  it |
000083b0  20 76 65 72 79 0a 20 20  20 20 20 20 20 75 73 65  | very.       use|
000083c0  66 75 6c 20 20 74 6f 20  64 65 66 69 6e 65 20 61  |ful  to define a|
000083d0  20 70 61 69 72 20 6f 66  20 61 6c 69 61 73 65 73  | pair of aliases|
000083e0  3a 20 20 74 74 20 66 6f  72 20 60 60 75 6e 7a 69  |:  tt for ``unzi|
000083f0  70 20 2d 74 71 27 27 0a  20 20 20 20 20 20 20 61  |p -tq''.       a|
00008400  6e 64 20 69 69 20 66 6f  72 20 60 60 75 6e 7a 69  |nd ii for ``unzi|
00008410  70 20 2d 5a 27 27 20 28  6f 72 20 60 60 7a 69 70  |p -Z'' (or ``zip|
00008420  69 6e 66 6f 27 27 29 2e  20 20 20 4f 6e 65 20 20  |info'').   One  |
00008430  6d 61 79 20 20 74 68 65  6e 0a 20 20 20 20 20 20  |may  then.      |
00008440  20 73 69 6d 70 6c 79 20  20 74 79 70 65 20 20 60  | simply  type  `|
00008450  60 74 74 20 7a 69 70 66  69 6c 65 27 27 20 74 6f  |`tt zipfile'' to|
00008460  20 74 65 73 74 20 61 6e  20 61 72 63 68 69 76 65  | test an archive|
00008470  2c 20 73 6f 6d 65 74 68  69 6e 67 0a 20 20 20 20  |, something.    |
00008480  20 20 20 74 68 61 74 20  69 73 20 77 6f 72 74 68  |   that is worth|
00008490  20 6d 61 6b 69 6e 67 20  61 20 68 61 62 69 74 20  | making a habit |
000084a0  6f 66 20 64 6f 69 6e 67  2e 20 20 20 57 69 74 68  |of doing.   With|
000084b0  20 20 6c 75 63 6b 20 20  75 6e 7a 69 70 0a 20 20  |  luck  unzip.  |
000084c0  20 20 20 20 20 77 69 6c  6c 20 20 72 65 70 6f 72  |     will  repor|
000084d0  74 20 20 60 60 4e 6f 20  20 65 72 72 6f 72 73 20  |t  ``No  errors |
000084e0  20 64 65 74 65 63 74 65  64 20 69 6e 20 63 6f 6d  | detected in com|
000084f0  70 72 65 73 73 65 64 20  64 61 74 61 20 6f 66 0a  |pressed data of.|
00008500  20 20 20 20 20 20 20 7a  69 70 66 69 6c 65 2e 7a  |       zipfile.z|
00008510  69 70 2c 27 27 20 61 66  74 65 72 20 77 68 69 63  |ip,'' after whic|
00008520  68 20 20 6f 6e 65 20 20  6d 61 79 20 20 62 72 65  |h  one  may  bre|
00008530  61 74 68 65 20 20 61 20  20 73 69 67 68 20 20 6f  |athe  a  sigh  o|
00008540  66 0a 20 20 20 20 20 20  20 72 65 6c 69 65 66 2e  |f.       relief.|
00008550  0a 0a 20 20 20 20 20 20  20 54 68 65 20 6d 61 69  |..       The mai|
00008560  6e 74 61 69 6e 65 72 20  61 6c 73 6f 20 66 69 6e  |ntainer also fin|
00008570  64 73 20 69 74 20 75 73  65 66 75 6c 20 74 6f 20  |ds it useful to |
00008580  73 65 74 20 74 68 65 20  55 4e 5a 49 50 20 65 6e  |set the UNZIP en|
00008590  76 69 2d 0a 20 20 20 20  20 20 20 72 6f 6e 6d 65  |vi-.       ronme|
000085a0  6e 74 20 76 61 72 69 61  62 6c 65 20 74 6f 20 60  |nt variable to `|
000085b0  60 2d 61 4c 27 27 20 61  6e 64 20 69 73 20 74 65  |`-aL'' and is te|
000085c0  6d 70 74 65 64 20 74 6f  20 20 61 64 64 20 20 60  |mpted to  add  `|
000085d0  60 2d 43 27 27 0a 20 20  20 20 20 20 20 61 73 20  |`-C''.       as |
000085e0  77 65 6c 6c 2e 20 20 48  69 73 20 5a 49 50 49 4e  |well.  His ZIPIN|
000085f0  46 4f 20 76 61 72 69 61  62 6c 65 20 69 73 20 73  |FO variable is s|
00008600  65 74 20 74 6f 20 60 60  2d 7a 27 27 2e 0a 0a 44  |et to ``-z''...D|
00008610  49 41 47 4e 4f 53 54 49  43 53 0a 20 20 20 20 20  |IAGNOSTICS.     |
00008620  20 20 54 68 65 20 20 65  78 69 74 20 20 73 74 61  |  The  exit  sta|
00008630  74 75 73 20 20 28 6f 72  20 20 65 72 72 6f 72 20  |tus  (or  error |
00008640  6c 65 76 65 6c 29 20 61  70 70 72 6f 78 69 6d 61  |level) approxima|
00008650  74 65 73 20 74 68 65 20  65 78 69 74 0a 20 20 20  |tes the exit.   |
00008660  20 20 20 20 63 6f 64 65  73 20 64 65 66 69 6e 65  |    codes define|
00008670  64 20 62 79 20 50 4b 57  41 52 45 20 61 6e 64 20  |d by PKWARE and |
00008680  74 61 6b 65 73 20 6f 6e  20 74 68 65 20 66 6f 6c  |takes on the fol|
00008690  6c 6f 77 69 6e 67 20 76  61 6c 75 65 73 2c 0a 20  |lowing values,. |
000086a0  20 20 20 20 20 20 65 78  63 65 70 74 20 75 6e 64  |      except und|
000086b0  65 72 20 56 4d 53 3a 0a  0a 20 20 20 20 20 20 20  |er VMS:..       |
000086c0  20 20 20 20 20 20 20 30  20 20 20 20 20 20 6e 6f  |       0      no|
000086d0  72 6d 61 6c 3b 20 6e 6f  20 65 72 72 6f 72 73 20  |rmal; no errors |
000086e0  6f 72 20 77 61 72 6e 69  6e 67 73 20 64 65 74 65  |or warnings dete|
000086f0  63 74 65 64 2e 0a 0a 20  20 20 20 20 20 20 20 20  |cted...         |
00008700  20 20 20 20 20 31 20 20  20 20 20 20 6f 6e 65 20  |     1      one |
00008710  6f 72 20 6d 6f 72 65 20  77 61 72 6e 69 6e 67 20  |or more warning |
00008720  65 72 72 6f 72 73 20 77  65 72 65 20 65 6e 63 6f  |errors were enco|
00008730  75 6e 74 65 72 65 64 2c  0a 20 20 20 20 20 20 20  |untered,.       |
00008740  20 20 20 20 20 20 20 20  20 20 20 20 20 20 62 75  |              bu|
00008750  74 20 70 72 6f 63 65 73  73 69 6e 67 20 63 6f 6d  |t processing com|
00008760  70 6c 65 74 65 64 20 20  73 75 63 63 65 73 73 66  |pleted  successf|
00008770  75 6c 6c 79 20 20 61 6e  79 2d 0a 20 20 20 20 20  |ully  any-.     |
00008780  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00008790  77 61 79 2e 20 20 20 54  68 69 73 20 20 69 6e 63  |way.   This  inc|
000087a0  6c 75 64 65 73 20 20 7a  69 70 66 69 6c 65 73 20  |ludes  zipfiles |
000087b0  77 68 65 72 65 20 6f 6e  65 20 6f 72 0a 20 20 20  |where one or.   |
000087c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000087d0  20 20 6d 6f 72 65 20 66  69 6c 65 73 20 77 61 73  |  more files was|
000087e0  20 73 6b 69 70 70 65 64  20 20 64 75 65 20 20 74  | skipped  due  t|
000087f0  6f 20 20 75 6e 73 75 70  70 6f 72 74 65 64 0a 20  |o  unsupported. |
00008800  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00008810  20 20 20 20 63 6f 6d 70  72 65 73 73 69 6f 6e 20  |    compression |
00008820  20 6d 65 74 68 6f 64 20  20 6f 72 20 20 65 6e 63  | method  or  enc|
00008830  72 79 70 74 69 6f 6e 20  20 77 69 74 68 20 61 6e  |ryption  with an|
00008840  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00008850  20 20 20 20 20 20 75 6e  6b 6e 6f 77 6e 20 70 61  |      unknown pa|
00008860  73 73 77 6f 72 64 2e 0a  0a 20 20 20 20 20 20 20  |ssword...       |
00008870  20 20 20 20 20 20 20 32  20 20 20 20 20 20 61 20  |       2      a |
00008880  67 65 6e 65 72 69 63 20  65 72 72 6f 72 20 69 6e  |generic error in|
00008890  20 74 68 65 20 20 7a 69  70 66 69 6c 65 20 20 66  | the  zipfile  f|
000088a0  6f 72 6d 61 74 20 20 77  61 73 0a 20 20 20 20 20  |ormat  was.     |
000088b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000088c0  64 65 74 65 63 74 65 64  2e 20 20 20 50 72 6f 63  |detected.   Proc|
000088d0  65 73 73 69 6e 67 20 20  6d 61 79 20 20 68 61 76  |essing  may  hav|
000088e0  65 20 20 63 6f 6d 70 6c  65 74 65 64 0a 0a 49 6e  |e  completed..In|
000088f0  66 6f 2d 5a 49 50 20 20  20 20 20 20 20 20 20 20  |fo-ZIP          |
00008900  20 20 20 33 20 4e 6f 76  65 6d 62 65 72 20 31 39  |   3 November 19|
00008910  39 37 20 28 76 35 2e 33  32 29 20 20 20 20 20 20  |97 (v5.32)      |
00008920  20 20 20 20 20 20 20 20  20 20 20 20 20 31 32 0a  |             12.|
00008930  0a 55 4e 5a 49 50 28 31  4c 29 20 20 20 20 20 20  |.UNZIP(1L)      |
00008940  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00008960  20 20 20 20 20 20 20 20  20 55 4e 5a 49 50 28 31  |         UNZIP(1|
00008970  4c 29 0a 0a 20 20 20 20  20 20 20 20 20 20 20 20  |L)..            |
00008980  20 20 20 20 20 20 20 20  20 73 75 63 63 65 73 73  |         success|
00008990  66 75 6c 6c 79 20 61 6e  79 77 61 79 3b 20 20 73  |fully anyway;  s|
000089a0  6f 6d 65 20 20 62 72 6f  6b 65 6e 20 20 7a 69 70  |ome  broken  zip|
000089b0  66 69 6c 65 73 0a 20 20  20 20 20 20 20 20 20 20  |files.          |
000089c0  20 20 20 20 20 20 20 20  20 20 20 63 72 65 61 74  |           creat|
000089d0  65 64 20 62 79 20 6f 74  68 65 72 20 61 72 63 68  |ed by other arch|
000089e0  69 76 65 72 73 20 68 61  76 65 20 73 69 6d 70 6c  |ivers have simpl|
000089f0  65 20 77 6f 72 6b 2d 0a  20 20 20 20 20 20 20 20  |e work-.        |
00008a00  20 20 20 20 20 20 20 20  20 20 20 20 20 61 72 6f  |             aro|
00008a10  75 6e 64 73 2e 0a 0a 20  20 20 20 20 20 20 20 20  |unds...         |
00008a20  20 20 20 20 20 33 20 20  20 20 20 20 61 20 73 65  |     3      a se|
00008a30  76 65 72 65 20 65 72 72  6f 72 20 69 6e 20 20 74  |vere error in  t|
00008a40  68 65 20 20 7a 69 70 66  69 6c 65 20 20 66 6f 72  |he  zipfile  for|
00008a50  6d 61 74 20 20 77 61 73  0a 20 20 20 20 20 20 20  |mat  was.       |
00008a60  20 20 20 20 20 20 20 20  20 20 20 20 20 20 64 65  |              de|
00008a70  74 65 63 74 65 64 2e 20  20 20 50 72 6f 63 65 73  |tected.   Proces|
00008a80  73 69 6e 67 20 70 72 6f  62 61 62 6c 79 20 66 61  |sing probably fa|
00008a90  69 6c 65 64 20 69 6d 6d  65 2d 0a 20 20 20 20 20  |iled imme-.     |
00008aa0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00008ab0  64 69 61 74 65 6c 79 2e  0a 0a 20 20 20 20 20 20  |diately...      |
00008ac0  20 20 20 20 20 20 20 20  34 20 20 20 20 20 20 75  |        4      u|
00008ad0  6e 7a 69 70 20 77 61 73  20 75 6e 61 62 6c 65 20  |nzip was unable |
00008ae0  74 6f 20 61 6c 6c 6f 63  61 74 65 20 6d 65 6d 6f  |to allocate memo|
00008af0  72 79 20 66 6f 72 20 20  6f 6e 65 0a 20 20 20 20  |ry for  one.    |
00008b00  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00008b10  20 6f 72 20 20 6d 6f 72  65 20 20 62 75 66 66 65  | or  more  buffe|
00008b20  72 73 20 64 75 72 69 6e  67 20 70 72 6f 67 72 61  |rs during progra|
00008b30  6d 20 69 6e 69 74 69 61  6c 69 7a 61 2d 0a 20 20  |m initializa-.  |
00008b40  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00008b50  20 20 20 74 69 6f 6e 2e  0a 0a 20 20 20 20 20 20  |   tion...      |
00008b60  20 20 20 20 20 20 20 20  35 20 20 20 20 20 20 75  |        5      u|
00008b70  6e 7a 69 70 20 20 77 61  73 20 20 75 6e 61 62 6c  |nzip  was  unabl|
00008b80  65 20 20 74 6f 20 20 61  6c 6c 6f 63 61 74 65 20  |e  to  allocate |
00008b90  20 6d 65 6d 6f 72 79 20  20 6f 72 0a 20 20 20 20  | memory  or.    |
00008ba0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00008bb0  20 75 6e 61 62 6c 65 20  20 74 6f 20 20 6f 62 74  | unable  to  obt|
00008bc0  61 69 6e 20 61 20 74 74  79 20 74 6f 20 72 65 61  |ain a tty to rea|
00008bd0  64 20 74 68 65 20 64 65  63 72 79 70 2d 0a 20 20  |d the decryp-.  |
00008be0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00008bf0  20 20 20 74 69 6f 6e 20  70 61 73 73 77 6f 72 64  |   tion password|
00008c00  28 73 29 2e 0a 0a 20 20  20 20 20 20 20 20 20 20  |(s)...          |
00008c10  20 20 20 20 36 20 20 20  20 20 20 75 6e 7a 69 70  |    6      unzip|
00008c20  20 77 61 73 20 75 6e 61  62 6c 65 20 74 6f 20 61  | was unable to a|
00008c30  6c 6c 6f 63 61 74 65 20  20 6d 65 6d 6f 72 79 20  |llocate  memory |
00008c40  20 64 75 72 69 6e 67 0a  20 20 20 20 20 20 20 20  | during.        |
00008c50  20 20 20 20 20 20 20 20  20 20 20 20 20 64 65 63  |             dec|
00008c60  6f 6d 70 72 65 73 73 69  6f 6e 20 74 6f 20 64 69  |ompression to di|
00008c70  73 6b 2e 0a 0a 20 20 20  20 20 20 20 20 20 20 20  |sk...           |
00008c80  20 20 20 37 20 20 20 20  20 20 75 6e 7a 69 70 20  |   7      unzip |
00008c90  20 77 61 73 20 20 75 6e  61 62 6c 65 20 74 6f 20  | was  unable to |
00008ca0  61 6c 6c 6f 63 61 74 65  20 6d 65 6d 6f 72 79 20  |allocate memory |
00008cb0  64 75 72 69 6e 67 0a 20  20 20 20 20 20 20 20 20  |during.         |
00008cc0  20 20 20 20 20 20 20 20  20 20 20 20 69 6e 2d 6d  |            in-m|
00008cd0  65 6d 6f 72 79 20 64 65  63 6f 6d 70 72 65 73 73  |emory decompress|
00008ce0  69 6f 6e 2e 0a 0a 20 20  20 20 20 20 20 20 20 20  |ion...          |
00008cf0  20 20 20 20 38 20 20 20  20 20 20 5b 63 75 72 72  |    8      [curr|
00008d00  65 6e 74 6c 79 20 6e 6f  74 20 75 73 65 64 5d 0a  |ently not used].|
00008d10  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 39  |.              9|
00008d20  20 20 20 20 20 20 74 68  65 20 73 70 65 63 69 66  |      the specif|
00008d30  69 65 64 20 7a 69 70 66  69 6c 65 73 20 77 65 72  |ied zipfiles wer|
00008d40  65 20 6e 6f 74 20 66 6f  75 6e 64 2e 0a 0a 20 20  |e not found...  |
00008d50  20 20 20 20 20 20 20 20  20 20 20 20 31 30 20 20  |            10  |
00008d60  20 20 20 69 6e 76 61 6c  69 64 20 6f 70 74 69 6f  |   invalid optio|
00008d70  6e 73 20 77 65 72 65 20  73 70 65 63 69 66 69 65  |ns were specifie|
00008d80  64 20 6f 6e 20 20 74 68  65 20 20 63 6f 6d 2d 0a  |d on  the  com-.|
00008d90  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00008da0  20 20 20 20 20 6d 61 6e  64 20 6c 69 6e 65 2e 0a  |     mand line..|
00008db0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 31  |.              1|
00008dc0  31 20 20 20 20 20 6e 6f  20 6d 61 74 63 68 69 6e  |1     no matchin|
00008dd0  67 20 66 69 6c 65 73 20  77 65 72 65 20 66 6f 75  |g files were fou|
00008de0  6e 64 2e 0a 0a 20 20 20  20 20 20 20 20 20 20 20  |nd...           |
00008df0  20 20 20 35 30 20 20 20  20 20 74 68 65 20 64 69  |   50     the di|
00008e00  73 6b 20 69 73 20 28 6f  72 20 77 61 73 29 20 66  |sk is (or was) f|
00008e10  75 6c 6c 20 64 75 72 69  6e 67 20 65 78 74 72 61  |ull during extra|
00008e20  63 74 69 6f 6e 2e 0a 0a  20 20 20 20 20 20 20 20  |ction...        |
00008e30  20 20 20 20 20 20 35 31  20 20 20 20 20 74 68 65  |      51     the|
00008e40  20 65 6e 64 20 6f 66 20  74 68 65 20 5a 49 50 20  | end of the ZIP |
00008e50  61 72 63 68 69 76 65 20  20 77 61 73 20 20 65 6e  |archive  was  en|
00008e60  63 6f 75 6e 74 65 72 65  64 0a 20 20 20 20 20 20  |countered.      |
00008e70  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 70  |               p|
00008e80  72 65 6d 61 74 75 72 65  6c 79 2e 0a 0a 20 20 20  |rematurely...   |
00008e90  20 20 20 20 20 20 20 20  20 20 20 38 30 20 20 20  |           80   |
00008ea0  20 20 74 68 65 20 75 73  65 72 20 61 62 6f 72 74  |  the user abort|
00008eb0  65 64 20 75 6e 7a 69 70  20 70 72 65 6d 61 74 75  |ed unzip prematu|
00008ec0  72 65 6c 79 20 77 69 74  68 20 63 6f 6e 2d 0a 20  |rely with con-. |
00008ed0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00008ee0  20 20 20 20 74 72 6f 6c  2d 43 20 28 6f 72 20 73  |    trol-C (or s|
00008ef0  69 6d 69 6c 61 72 29 0a  0a 20 20 20 20 20 20 20  |imilar)..       |
00008f00  20 20 20 20 20 20 20 38  31 20 20 20 20 20 74 65  |       81     te|
00008f10  73 74 69 6e 67 20 6f 72  20 65 78 74 72 61 63 74  |sting or extract|
00008f20  69 6f 6e 20 6f 66 20 6f  6e 65 20 6f 72 20 20 6d  |ion of one or  m|
00008f30  6f 72 65 20 20 66 69 6c  65 73 0a 20 20 20 20 20  |ore  files.     |
00008f40  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00008f50  66 61 69 6c 65 64 20 20  64 75 65 20 74 6f 20 75  |failed  due to u|
00008f60  6e 73 75 70 70 6f 72 74  65 64 20 63 6f 6d 70 72  |nsupported compr|
00008f70  65 73 73 69 6f 6e 20 6d  65 74 68 2d 0a 20 20 20  |ession meth-.   |
00008f80  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00008f90  20 20 6f 64 73 20 6f 72  20 75 6e 73 75 70 70 6f  |  ods or unsuppo|
00008fa0  72 74 65 64 20 64 65 63  72 79 70 74 69 6f 6e 2e  |rted decryption.|
00008fb0  0a 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |..              |
00008fc0  38 32 20 20 20 20 20 6e  6f 20 66 69 6c 65 73 20  |82     no files |
00008fd0  77 65 72 65 20 66 6f 75  6e 64 20 64 75 65 20 20  |were found due  |
00008fe0  74 6f 20 20 62 61 64 20  20 64 65 63 72 79 70 74  |to  bad  decrypt|
00008ff0  69 6f 6e 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ion.            |
00009000  20 20 20 20 20 20 20 20  20 70 61 73 73 77 6f 72  |         passwor|
00009010  64 28 73 29 2e 20 20 20  28 49 66 20 65 76 65 6e  |d(s).   (If even|
00009020  20 6f 6e 65 20 66 69 6c  65 20 69 73 20 73 75 63  | one file is suc|
00009030  63 65 73 73 2d 0a 20 20  20 20 20 20 20 20 20 20  |cess-.          |
00009040  20 20 20 20 20 20 20 20  20 20 20 66 75 6c 6c 79  |           fully|
00009050  20 70 72 6f 63 65 73 73  65 64 2c 20 68 6f 77 65  | processed, howe|
00009060  76 65 72 2c 20 74 68 65  20 65 78 69 74 20 73 74  |ver, the exit st|
00009070  61 74 75 73 20 69 73 0a  20 20 20 20 20 20 20 20  |atus is.        |
00009080  20 20 20 20 20 20 20 20  20 20 20 20 20 31 2e 29  |             1.)|
00009090  0a 0a 20 20 20 20 20 20  20 56 4d 53 20 20 69 6e  |..       VMS  in|
000090a0  74 65 72 70 72 65 74 73  20 20 73 74 61 6e 64 61  |terprets  standa|
000090b0  72 64 20 20 55 6e 69 78  20 20 28 6f 72 20 20 50  |rd  Unix  (or  P|
000090c0  43 29 20 72 65 74 75 72  6e 20 76 61 6c 75 65 73  |C) return values|
000090d0  20 61 73 0a 20 20 20 20  20 20 20 6f 74 68 65 72  | as.       other|
000090e0  2c 20 73 63 61 72 69 65  72 2d 6c 6f 6f 6b 69 6e  |, scarier-lookin|
000090f0  67 20 74 68 69 6e 67 73  2c 20 73 6f 20 75 6e 7a  |g things, so unz|
00009100  69 70 20 69 6e 73 74 65  61 64 20 6d 61 70 73 20  |ip instead maps |
00009110  20 74 68 65 6d 0a 20 20  20 20 20 20 20 69 6e 74  | them.       int|
00009120  6f 20 20 56 4d 53 2d 73  74 79 6c 65 20 20 73 74  |o  VMS-style  st|
00009130  61 74 75 73 20 20 63 6f  64 65 73 2e 20 20 54 68  |atus  codes.  Th|
00009140  65 20 63 75 72 72 65 6e  74 20 6d 61 70 70 69 6e  |e current mappin|
00009150  67 20 69 73 20 61 73 0a  20 20 20 20 20 20 20 66  |g is as.       f|
00009160  6f 6c 6c 6f 77 73 3a 20  20 20 31 20 28 73 75 63  |ollows:   1 (suc|
00009170  63 65 73 73 29 20 66 6f  72 20 20 6e 6f 72 6d 61  |cess) for  norma|
00009180  6c 20 20 65 78 69 74 2c  20 20 30 78 37 66 66 66  |l  exit,  0x7fff|
00009190  30 30 30 31 20 20 66 6f  72 0a 20 20 20 20 20 20  |0001  for.      |
000091a0  20 77 61 72 6e 69 6e 67  20 20 20 20 20 65 72 72  | warning     err|
000091b0  6f 72 73 2c 20 20 20 20  20 61 6e 64 20 20 20 20  |ors,     and    |
000091c0  28 30 78 37 66 66 66 30  30 30 3f 20 20 20 20 2b  |(0x7fff000?    +|
000091d0  20 20 20 20 31 36 2a 6e  6f 72 2d 0a 20 20 20 20  |    16*nor-.    |
000091e0  20 20 20 6d 61 6c 5f 75  6e 7a 69 70 5f 65 78 69  |   mal_unzip_exi|
000091f0  74 5f 73 74 61 74 75 73  29 20 66 6f 72 20 61 6c  |t_status) for al|
00009200  6c 20 6f 74 68 65 72 20  65 72 72 6f 72 73 2c 20  |l other errors, |
00009210  77 68 65 72 65 20 74 68  65 20 60 3f 27 0a 0a 49  |where the `?'..I|
00009220  6e 66 6f 2d 5a 49 50 20  20 20 20 20 20 20 20 20  |nfo-ZIP         |
00009230  20 20 20 20 33 20 4e 6f  76 65 6d 62 65 72 20 31  |    3 November 1|
00009240  39 39 37 20 28 76 35 2e  33 32 29 20 20 20 20 20  |997 (v5.32)     |
00009250  20 20 20 20 20 20 20 20  20 20 20 20 20 20 31 33  |              13|
00009260  0a 0a 55 4e 5a 49 50 28  31 4c 29 20 20 20 20 20  |..UNZIP(1L)     |
00009270  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00009290  20 20 20 20 20 20 20 20  20 20 55 4e 5a 49 50 28  |          UNZIP(|
000092a0  31 4c 29 0a 0a 20 20 20  20 20 20 20 69 73 20 20  |1L)..       is  |
000092b0  32 20 20 28 65 72 72 6f  72 29 20 20 66 6f 72 20  |2  (error)  for |
000092c0  20 75 6e 7a 69 70 20 76  61 6c 75 65 73 20 32 2c  | unzip values 2,|
000092d0  20 39 2d 31 31 20 61 6e  64 20 38 30 2d 38 32 2c  | 9-11 and 80-82,|
000092e0  20 61 6e 64 20 34 0a 20  20 20 20 20 20 20 28 66  | and 4.       (f|
000092f0  61 74 61 6c 20 65 72 72  6f 72 29 20 66 6f 72 20  |atal error) for |
00009300  74 68 65 20 72 65 6d 61  69 6e 69 6e 67 20 6f 6e  |the remaining on|
00009310  65 73 20 28 33 2d 38 2c  20 20 35 30 2c 20 20 35  |es (3-8,  50,  5|
00009320  31 29 2e 20 20 20 49 6e  0a 20 20 20 20 20 20 20  |1).   In.       |
00009330  61 64 64 69 74 69 6f 6e  2c 20 20 74 68 65 72 65  |addition,  there|
00009340  20 20 69 73 20 20 61 20  20 63 6f 6d 70 69 6c 61  |  is  a  compila|
00009350  74 69 6f 6e 20 6f 70 74  69 6f 6e 20 74 6f 20 65  |tion option to e|
00009360  78 70 61 6e 64 20 75 70  6f 6e 0a 20 20 20 20 20  |xpand upon.     |
00009370  20 20 74 68 69 73 20 62  65 68 61 76 69 6f 72 3a  |  this behavior:|
00009380  20 20 64 65 66 69 6e 69  6e 67 20 52 45 54 55 52  |  defining RETUR|
00009390  4e 5f 43 4f 44 45 53 20  72 65 73 75 6c 74 73 20  |N_CODES results |
000093a0  69 6e 20 61 20 20 68 75  6d 61 6e 2d 0a 20 20 20  |in a  human-.   |
000093b0  20 20 20 20 72 65 61 64  61 62 6c 65 20 65 78 70  |    readable exp|
000093c0  6c 61 6e 61 74 69 6f 6e  20 6f 66 20 77 68 61 74  |lanation of what|
000093d0  20 74 68 65 20 65 72 72  6f 72 20 73 74 61 74 75  | the error statu|
000093e0  73 20 6d 65 61 6e 73 2e  0a 0a 42 55 47 53 0a 20  |s means...BUGS. |
000093f0  20 20 20 20 20 20 4d 75  6c 74 69 2d 70 61 72 74  |      Multi-part|
00009400  20 20 61 72 63 68 69 76  65 73 20 61 72 65 20 6e  |  archives are n|
00009410  6f 74 20 79 65 74 20 73  75 70 70 6f 72 74 65 64  |ot yet supported|
00009420  2c 20 65 78 63 65 70 74  20 69 6e 20 63 6f 6e 2d  |, except in con-|
00009430  0a 20 20 20 20 20 20 20  6a 75 6e 63 74 69 6f 6e  |.       junction|
00009440  20 20 77 69 74 68 20 20  7a 69 70 2e 20 20 20 28  |  with  zip.   (|
00009450  41 6c 6c 20 20 70 61 72  74 73 20 20 6d 75 73 74  |All  parts  must|
00009460  20 20 62 65 20 20 63 6f  6e 63 61 74 65 6e 61 74  |  be  concatenat|
00009470  65 64 0a 20 20 20 20 20  20 20 74 6f 67 65 74 68  |ed.       togeth|
00009480  65 72 20 20 69 6e 20 20  6f 72 64 65 72 2c 20 61  |er  in  order, a|
00009490  6e 64 20 74 68 65 6e 20  60 60 7a 69 70 20 2d 46  |nd then ``zip -F|
000094a0  27 27 20 6d 75 73 74 20  62 65 20 70 65 72 66 6f  |'' must be perfo|
000094b0  72 6d 65 64 0a 20 20 20  20 20 20 20 6f 6e 20 74  |rmed.       on t|
000094c0  68 65 20 63 6f 6e 63 61  74 65 6e 61 74 65 64 20  |he concatenated |
000094d0  61 72 63 68 69 76 65 20  69 6e 20 6f 72 64 65 72  |archive in order|
000094e0  20 74 6f 20 60 60 66 69  78 27 27 20 69 74 2e 29  | to ``fix'' it.)|
000094f0  20 20 54 68 69 73 0a 20  20 20 20 20 20 20 77 69  |  This.       wi|
00009500  6c 6c 20 64 65 66 69 6e  69 74 65 6c 79 20 62 65  |ll definitely be|
00009510  20 63 6f 72 72 65 63 74  65 64 20 69 6e 20 74 68  | corrected in th|
00009520  65 20 6e 65 78 74 20 6d  61 6a 6f 72 20 72 65 6c  |e next major rel|
00009530  65 61 73 65 2e 0a 0a 20  20 20 20 20 20 20 41 72  |ease...       Ar|
00009540  63 68 69 76 65 73 20 20  72 65 61 64 20 20 66 72  |chives  read  fr|
00009550  6f 6d 20 73 74 61 6e 64  61 72 64 20 69 6e 70 75  |om standard inpu|
00009560  74 20 61 72 65 20 6e 6f  74 20 79 65 74 20 73 75  |t are not yet su|
00009570  70 70 6f 72 74 65 64 2c  0a 20 20 20 20 20 20 20  |pported,.       |
00009580  65 78 63 65 70 74 20 77  69 74 68 20 66 75 6e 7a  |except with funz|
00009590  69 70 20 28 61 6e 64 20  74 68 65 6e 20 6f 6e 6c  |ip (and then onl|
000095a0  79 20 74 68 65 20 66 69  72 73 74 20 6d 65 6d 62  |y the first memb|
000095b0  65 72 20 6f 66 20 20 74  68 65 0a 20 20 20 20 20  |er of  the.     |
000095c0  20 20 61 72 63 68 69 76  65 20 63 61 6e 20 62 65  |  archive can be|
000095d0  20 65 78 74 72 61 63 74  65 64 29 2e 0a 0a 20 20  | extracted)...  |
000095e0  20 20 20 20 20 41 72 63  68 69 76 65 73 20 20 65  |     Archives  e|
000095f0  6e 63 72 79 70 74 65 64  20 20 77 69 74 68 20 38  |ncrypted  with 8|
00009600  2d 62 69 74 20 70 61 73  73 77 6f 72 64 73 20 28  |-bit passwords (|
00009610  65 2e 67 2e 2c 20 70 61  73 73 77 6f 72 64 73 0a  |e.g., passwords.|
00009620  20 20 20 20 20 20 20 77  69 74 68 20 61 63 63 65  |       with acce|
00009630  6e 74 65 64 20 45 75 72  6f 70 65 61 6e 20 63 68  |nted European ch|
00009640  61 72 61 63 74 65 72 73  29 20 20 6d 61 79 20 20  |aracters)  may  |
00009650  6e 6f 74 20 20 62 65 20  20 70 6f 72 74 61 62 6c  |not  be  portabl|
00009660  65 0a 20 20 20 20 20 20  20 61 63 72 6f 73 73 20  |e.       across |
00009670  73 79 73 74 65 6d 73 20  61 6e 64 2f 6f 72 20 6f  |systems and/or o|
00009680  74 68 65 72 20 61 72 63  68 69 76 65 72 73 2e 20  |ther archivers. |
00009690  20 53 65 65 20 74 68 65  20 64 69 73 63 75 73 73  | See the discuss|
000096a0  69 6f 6e 0a 20 20 20 20  20 20 20 69 6e 20 44 45  |ion.       in DE|
000096b0  43 52 59 50 54 49 4f 4e  20 61 62 6f 76 65 2e 0a  |CRYPTION above..|
000096c0  0a 20 20 20 20 20 20 20  75 6e 7a 69 70 27 73 20  |.       unzip's |
000096d0  2d 4d 20 28 60 60 6d 6f  72 65 27 27 29 20 6f 70  |-M (``more'') op|
000096e0  74 69 6f 6e 20 69 73 20  6f 76 65 72 6c 79 20 73  |tion is overly s|
000096f0  69 6d 70 6c 69 73 74 69  63 20 20 69 6e 20 20 69  |implistic  in  i|
00009700  74 73 0a 20 20 20 20 20  20 20 68 61 6e 64 6c 69  |ts.       handli|
00009710  6e 67 20 20 6f 66 20 20  73 63 72 65 65 6e 20 20  |ng  of  screen  |
00009720  6f 75 74 70 75 74 3b 20  20 61 73 20 6e 6f 74 65  |output;  as note|
00009730  64 20 61 62 6f 76 65 2c  20 69 74 20 66 61 69 6c  |d above, it fail|
00009740  73 20 74 6f 0a 20 20 20  20 20 20 20 64 65 74 65  |s to.       dete|
00009750  63 74 20 74 68 65 20 77  72 61 70 70 69 6e 67 20  |ct the wrapping |
00009760  6f 66 20 6c 6f 6e 67 20  6c 69 6e 65 73 20 61 6e  |of long lines an|
00009770  64 20 20 6d 61 79 20 20  74 68 65 72 65 62 79 20  |d  may  thereby |
00009780  20 63 61 75 73 65 0a 20  20 20 20 20 20 20 6c 69  | cause.       li|
00009790  6e 65 73 20 20 61 74 20  20 74 68 65 20 74 6f 70  |nes  at  the top|
000097a0  20 6f 66 20 74 68 65 20  73 63 72 65 65 6e 20 74  | of the screen t|
000097b0  6f 20 62 65 20 73 63 72  6f 6c 6c 65 64 20 6f 66  |o be scrolled of|
000097c0  66 20 62 65 66 6f 72 65  0a 20 20 20 20 20 20 20  |f before.       |
000097d0  62 65 69 6e 67 20 72 65  61 64 2e 20 20 75 6e 7a  |being read.  unz|
000097e0  69 70 20 73 68 6f 75 6c  64 20 64 65 74 65 63 74  |ip should detect|
000097f0  20 61 6e 64 20 74 72 65  61 74 20 65 61 63 68 20  | and treat each |
00009800  6f 63 63 75 72 72 65 6e  63 65 0a 20 20 20 20 20  |occurrence.     |
00009810  20 20 6f 66 20 20 20 6c  69 6e 65 2d 77 72 61 70  |  of   line-wrap|
00009820  20 20 61 73 20 20 6f 6e  65 20 20 61 64 64 69 74  |  as  one  addit|
00009830  69 6f 6e 61 6c 20 20 6c  69 6e 65 20 20 70 72 69  |ional  line  pri|
00009840  6e 74 65 64 2e 20 20 20  54 68 69 73 0a 20 20 20  |nted.   This.   |
00009850  20 20 20 20 72 65 71 75  69 72 65 73 20 6b 6e 6f  |    requires kno|
00009860  77 6c 65 64 67 65 20 6f  66 20 74 68 65 20 73 63  |wledge of the sc|
00009870  72 65 65 6e 27 73 20 77  69 64 74 68 20 61 73 20  |reen's width as |
00009880  20 77 65 6c 6c 20 20 61  73 20 20 69 74 73 0a 20  | well  as  its. |
00009890  20 20 20 20 20 20 68 65  69 67 68 74 2e 20 20 20  |      height.   |
000098a0  49 6e 20 61 64 64 69 74  69 6f 6e 2c 20 75 6e 7a  |In addition, unz|
000098b0  69 70 20 73 68 6f 75 6c  64 20 64 65 74 65 63 74  |ip should detect|
000098c0  20 74 68 65 20 74 72 75  65 20 73 63 72 65 65 6e  | the true screen|
000098d0  0a 20 20 20 20 20 20 20  67 65 6f 6d 65 74 72 79  |.       geometry|
000098e0  20 6f 6e 20 61 6c 6c 20  73 79 73 74 65 6d 73 2e  | on all systems.|
000098f0  0a 0a 20 20 20 20 20 20  20 44 61 74 65 73 2c 20  |..       Dates, |
00009900  74 69 6d 65 73 20 61 6e  64 20 70 65 72 6d 69 73  |times and permis|
00009910  73 69 6f 6e 73 20 6f 66  20 73 74 6f 72 65 64 20  |sions of stored |
00009920  64 69 72 65 63 74 6f 72  69 65 73 20 61 72 65 20  |directories are |
00009930  6e 6f 74 0a 20 20 20 20  20 20 20 72 65 73 74 6f  |not.       resto|
00009940  72 65 64 20 65 78 63 65  70 74 20 75 6e 64 65 72  |red except under|
00009950  20 55 6e 69 78 2e 0a 0a  20 20 20 20 20 20 20 5b  | Unix...       [|
00009960  4d 53 2d 44 4f 53 5d 20  20 57 68 65 6e 20 65 78  |MS-DOS]  When ex|
00009970  74 72 61 63 74 69 6e 67  20 6f 72 20 74 65 73 74  |tracting or test|
00009980  69 6e 67 20 66 69 6c 65  73 20 66 72 6f 6d 20 61  |ing files from a|
00009990  6e 20 61 72 63 68 69 76  65 0a 20 20 20 20 20 20  |n archive.      |
000099a0  20 6f 6e 20 61 20 64 65  66 65 63 74 69 76 65 20  | on a defective |
000099b0  66 6c 6f 70 70 79 20 64  69 73 6b 65 74 74 65 2c  |floppy diskette,|
000099c0  20 69 66 20 74 68 65 20  60 60 46 61 69 6c 27 27  | if the ``Fail''|
000099d0  20 6f 70 74 69 6f 6e 20  20 69 73 0a 20 20 20 20  | option  is.    |
000099e0  20 20 20 63 68 6f 73 65  6e 20 20 66 72 6f 6d 20  |   chosen  from |
000099f0  20 44 4f 53 27 73 20 60  60 41 62 6f 72 74 2c 20  | DOS's ``Abort, |
00009a00  52 65 74 72 79 2c 20 46  61 69 6c 3f 27 27 20 6d  |Retry, Fail?'' m|
00009a10  65 73 73 61 67 65 2c 20  6f 6c 64 65 72 0a 20 20  |essage, older.  |
00009a20  20 20 20 20 20 76 65 72  73 69 6f 6e 73 20 6f 66  |     versions of|
00009a30  20 75 6e 7a 69 70 20 6d  61 79 20 68 61 6e 67 20  | unzip may hang |
00009a40  74 68 65 20 73 79 73 74  65 6d 2c 20 72 65 71 75  |the system, requ|
00009a50  69 72 69 6e 67 20 61 20  72 65 62 6f 6f 74 2e 0a  |iring a reboot..|
00009a60  20 20 20 20 20 20 20 54  68 69 73 20 20 70 72 6f  |       This  pro|
00009a70  62 6c 65 6d 20 20 61 70  70 65 61 72 73 20 74 6f  |blem  appears to|
00009a80  20 62 65 20 66 69 78 65  64 2c 20 62 75 74 20 63  | be fixed, but c|
00009a90  6f 6e 74 72 6f 6c 2d 43  20 28 6f 72 20 63 6f 6e  |ontrol-C (or con|
00009aa0  2d 0a 20 20 20 20 20 20  20 74 72 6f 6c 2d 42 72  |-.       trol-Br|
00009ab0  65 61 6b 29 20 63 61 6e  20 73 74 69 6c 6c 20 62  |eak) can still b|
00009ac0  65 20 75 73 65 64 20 74  6f 20 74 65 72 6d 69 6e  |e used to termin|
00009ad0  61 74 65 20 75 6e 7a 69  70 2e 0a 0a 20 20 20 20  |ate unzip...    |
00009ae0  20 20 20 55 6e 64 65 72  20 44 45 43 20 55 6c 74  |   Under DEC Ult|
00009af0  72 69 78 2c 20 75 6e 7a  69 70 20 77 6f 75 6c 64  |rix, unzip would|
00009b00  20 73 6f 6d 65 74 69 6d  65 73 20 66 61 69 6c 20  | sometimes fail |
00009b10  6f 6e 20 6c 6f 6e 67 20  20 7a 69 70 2d 0a 20 20  |on long  zip-.  |
00009b20  20 20 20 20 20 66 69 6c  65 73 20 28 62 61 64 20  |     files (bad |
00009b30  43 52 43 2c 20 6e 6f 74  20 61 6c 77 61 79 73 20  |CRC, not always |
00009b40  72 65 70 72 6f 64 75 63  69 62 6c 65 29 2e 20 20  |reproducible).  |
00009b50  54 68 69 73 20 77 61 73  20 61 70 70 61 72 2d 0a  |This was appar-.|
00009b60  20 20 20 20 20 20 20 65  6e 74 6c 79 20 64 75 65  |       ently due|
00009b70  20 65 69 74 68 65 72 20  74 6f 20 61 20 68 61 72  | either to a har|
00009b80  64 77 61 72 65 20 62 75  67 20 28 63 61 63 68 65  |dware bug (cache|
00009b90  20 20 6d 65 6d 6f 72 79  29 20 20 6f 72 20 20 61  |  memory)  or  a|
00009ba0  6e 0a 20 20 20 20 20 20  20 6f 70 65 72 61 74 69  |n.       operati|
00009bb0  6e 67 20 20 73 79 73 74  65 6d 20 62 75 67 20 28  |ng  system bug (|
00009bc0  69 6d 70 72 6f 70 65 72  20 68 61 6e 64 6c 69 6e  |improper handlin|
00009bd0  67 20 6f 66 20 70 61 67  65 20 66 61 75 6c 74 73  |g of page faults|
00009be0  3f 29 2e 0a 20 20 20 20  20 20 20 53 69 6e 63 65  |?)..       Since|
00009bf0  20 55 6c 74 72 69 78 20  68 61 73 20 62 65 65 6e  | Ultrix has been|
00009c00  20 61 62 61 6e 64 6f 6e  65 64 20 69 6e 20 66 61  | abandoned in fa|
00009c10  76 6f 72 20 6f 66 20 20  44 69 67 69 74 61 6c 20  |vor of  Digital |
00009c20  20 55 6e 69 78 0a 20 20  20 20 20 20 20 28 4f 53  | Unix.       (OS|
00009c30  46 2f 31 29 2c 20 74 68  69 73 20 6d 61 79 20 6e  |F/1), this may n|
00009c40  6f 74 20 62 65 20 61 6e  20 69 73 73 75 65 20 61  |ot be an issue a|
00009c50  6e 79 6d 6f 72 65 2e 0a  0a 20 20 20 20 20 20 20  |nymore...       |
00009c60  5b 55 6e 69 78 5d 20 20  55 6e 69 78 20 20 73 70  |[Unix]  Unix  sp|
00009c70  65 63 69 61 6c 20 20 66  69 6c 65 73 20 20 73 75  |ecial  files  su|
00009c80  63 68 20 20 61 73 20 46  49 46 4f 20 62 75 66 66  |ch  as FIFO buff|
00009c90  65 72 73 20 28 6e 61 6d  65 64 0a 20 20 20 20 20  |ers (named.     |
00009ca0  20 20 70 69 70 65 73 29  2c 20 20 62 6c 6f 63 6b  |  pipes),  block|
00009cb0  20 20 64 65 76 69 63 65  73 20 20 61 6e 64 20 20  |  devices  and  |
00009cc0  63 68 61 72 61 63 74 65  72 20 20 64 65 76 69 63  |character  devic|
00009cd0  65 73 20 20 61 72 65 20  20 6e 6f 74 0a 20 20 20  |es  are  not.   |
00009ce0  20 20 20 20 72 65 73 74  6f 72 65 64 20 20 65 76  |    restored  ev|
00009cf0  65 6e 20 69 66 20 74 68  65 79 20 61 72 65 20 73  |en if they are s|
00009d00  6f 6d 65 68 6f 77 20 72  65 70 72 65 73 65 6e 74  |omehow represent|
00009d10  65 64 20 69 6e 20 74 68  65 20 7a 69 70 2d 0a 20  |ed in the zip-. |
00009d20  20 20 20 20 20 20 66 69  6c 65 2c 20 6e 6f 72 20  |      file, nor |
00009d30  61 72 65 20 68 61 72 64  2d 6c 69 6e 6b 65 64 20  |are hard-linked |
00009d40  66 69 6c 65 73 20 72 65  6c 69 6e 6b 65 64 2e 20  |files relinked. |
00009d50  20 20 42 61 73 69 63 61  6c 6c 79 20 20 74 68 65  |  Basically  the|
00009d60  0a 20 20 20 20 20 20 20  6f 6e 6c 79 20 20 66 69  |.       only  fi|
00009d70  6c 65 20 20 74 79 70 65  73 20 20 72 65 73 74 6f  |le  types  resto|
00009d80  72 65 64 20 20 62 79 20  20 75 6e 7a 69 70 20 20  |red  by  unzip  |
00009d90  61 72 65 20 72 65 67 75  6c 61 72 20 66 69 6c 65  |are regular file|
00009da0  73 2c 0a 0a 49 6e 66 6f  2d 5a 49 50 20 20 20 20  |s,..Info-ZIP    |
00009db0  20 20 20 20 20 20 20 20  20 33 20 4e 6f 76 65 6d  |         3 Novem|
00009dc0  62 65 72 20 31 39 39 37  20 28 76 35 2e 33 32 29  |ber 1997 (v5.32)|
00009dd0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00009de0  20 20 20 31 34 0a 0a 55  4e 5a 49 50 28 31 4c 29  |   14..UNZIP(1L)|
00009df0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00009e10  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 55  |               U|
00009e20  4e 5a 49 50 28 31 4c 29  0a 0a 20 20 20 20 20 20  |NZIP(1L)..      |
00009e30  20 64 69 72 65 63 74 6f  72 69 65 73 20 61 6e 64  | directories and|
00009e40  20 73 79 6d 62 6f 6c 69  63 20 28 73 6f 66 74 29  | symbolic (soft)|
00009e50  20 6c 69 6e 6b 73 2e 0a  0a 20 20 20 20 20 20 20  | links...       |
00009e60  5b 4f 53 2f 32 5d 20 45  78 74 65 6e 64 65 64 20  |[OS/2] Extended |
00009e70  61 74 74 72 69 62 75 74  65 73 20 66 6f 72 20 20  |attributes for  |
00009e80  65 78 69 73 74 69 6e 67  20 20 64 69 72 65 63 74  |existing  direct|
00009e90  6f 72 69 65 73 20 20 61  72 65 0a 20 20 20 20 20  |ories  are.     |
00009ea0  20 20 6f 6e 6c 79 20 20  75 70 64 61 74 65 64 20  |  only  updated |
00009eb0  20 69 66 20 20 74 68 65  20 20 2d 6f 20 20 28 60  | if  the  -o  (`|
00009ec0  60 6f 76 65 72 77 72 69  74 65 20 20 61 6c 6c 27  |`overwrite  all'|
00009ed0  27 29 20 6f 70 74 69 6f  6e 20 69 73 0a 20 20 20  |') option is.   |
00009ee0  20 20 20 20 67 69 76 65  6e 2e 20 20 54 68 69 73  |    given.  This|
00009ef0  20 69 73 20 61 20 20 6c  69 6d 69 74 61 74 69 6f  | is a  limitatio|
00009f00  6e 20 20 6f 66 20 20 74  68 65 20 20 6f 70 65 72  |n  of  the  oper|
00009f10  61 74 69 6e 67 20 20 73  79 73 74 65 6d 3b 0a 20  |ating  system;. |
00009f20  20 20 20 20 20 20 62 65  63 61 75 73 65 20 20 64  |      because  d|
00009f30  69 72 65 63 74 6f 72 69  65 73 20 20 6f 6e 6c 79  |irectories  only|
00009f40  20 68 61 76 65 20 61 20  63 72 65 61 74 69 6f 6e  | have a creation|
00009f50  20 74 69 6d 65 20 61 73  73 6f 63 69 61 74 65 64  | time associated|
00009f60  0a 20 20 20 20 20 20 20  77 69 74 68 20 74 68 65  |.       with the|
00009f70  6d 2c 20 75 6e 7a 69 70  20 68 61 73 20 20 6e 6f  |m, unzip has  no|
00009f80  20 20 77 61 79 20 20 74  6f 20 20 64 65 74 65 72  |  way  to  deter|
00009f90  6d 69 6e 65 20 20 77 68  65 74 68 65 72 20 20 74  |mine  whether  t|
00009fa0  68 65 0a 20 20 20 20 20  20 20 73 74 6f 72 65 64  |he.       stored|
00009fb0  20 20 61 74 74 72 69 62  75 74 65 73 20 20 61 72  |  attributes  ar|
00009fc0  65 20 6e 65 77 65 72 20  6f 72 20 6f 6c 64 65 72  |e newer or older|
00009fd0  20 74 68 61 6e 20 74 68  6f 73 65 20 6f 6e 20 64  | than those on d|
00009fe0  69 73 6b 2e 0a 20 20 20  20 20 20 20 49 6e 20 70  |isk..       In p|
00009ff0  72 61 63 74 69 63 65 20  74 68 69 73 20 6d 61 79  |ractice this may|
0000a000  20 6d 65 61 6e 20 61 20  74 77 6f 2d 70 61 73 73  | mean a two-pass|
0000a010  20 61 70 70 72 6f 61 63  68 20 69 73 20 72 65 71  | approach is req|
0000a020  75 69 72 65 64 3a 0a 20  20 20 20 20 20 20 66 69  |uired:.       fi|
0000a030  72 73 74 20 20 75 6e 70  61 63 6b 20 74 68 65 20  |rst  unpack the |
0000a040  61 72 63 68 69 76 65 20  6e 6f 72 6d 61 6c 6c 79  |archive normally|
0000a050  20 28 77 69 74 68 20 6f  72 20 77 69 74 68 6f 75  | (with or withou|
0000a060  74 20 66 72 65 73 68 2d  0a 20 20 20 20 20 20 20  |t fresh-.       |
0000a070  65 6e 69 6e 67 2f 75 70  64 61 74 69 6e 67 20 65  |ening/updating e|
0000a080  78 69 73 74 69 6e 67 20  66 69 6c 65 73 29 2c 20  |xisting files), |
0000a090  74 68 65 6e 20 20 6f 76  65 72 77 72 69 74 65 20  |then  overwrite |
0000a0a0  20 6a 75 73 74 20 20 74  68 65 0a 20 20 20 20 20  | just  the.     |
0000a0b0  20 20 64 69 72 65 63 74  6f 72 79 20 65 6e 74 72  |  directory entr|
0000a0c0  69 65 73 20 28 65 2e 67  2e 2c 20 60 60 75 6e 7a  |ies (e.g., ``unz|
0000a0d0  69 70 20 2d 6f 20 66 6f  6f 20 2a 2f 27 27 29 2e  |ip -o foo */'').|
0000a0e0  0a 0a 20 20 20 20 20 20  20 5b 56 4d 53 5d 20 20  |..       [VMS]  |
0000a0f0  57 68 65 6e 20 20 65 78  74 72 61 63 74 69 6e 67  |When  extracting|
0000a100  20 20 74 6f 20 20 61 6e  6f 74 68 65 72 20 20 64  |  to  another  d|
0000a110  69 72 65 63 74 6f 72 79  2c 20 20 6f 6e 6c 79 20  |irectory,  only |
0000a120  74 68 65 0a 20 20 20 20  20 20 20 5b 2e 66 6f 6f  |the.       [.foo|
0000a130  5d 20 73 79 6e 74 61 78  20 69 73 20 61 63 63 65  |] syntax is acce|
0000a140  70 74 65 64 20 66 6f 72  20 74 68 65 20 2d 64 20  |pted for the -d |
0000a150  20 6f 70 74 69 6f 6e 3b  20 20 74 68 65 20 20 73  | option;  the  s|
0000a160  69 6d 70 6c 65 0a 20 20  20 20 20 20 20 55 6e 69  |imple.       Uni|
0000a170  78 20 66 6f 6f 20 73 79  6e 74 61 78 20 69 73 20  |x foo syntax is |
0000a180  73 69 6c 65 6e 74 6c 79  20 69 67 6e 6f 72 65 64  |silently ignored|
0000a190  20 28 61 73 20 69 73 20  74 68 65 20 6c 65 73 73  | (as is the less|
0000a1a0  20 63 6f 6d 6d 6f 6e 0a  20 20 20 20 20 20 20 56  | common.       V|
0000a1b0  4d 53 20 66 6f 6f 2e 64  69 72 20 73 79 6e 74 61  |MS foo.dir synta|
0000a1c0  78 29 2e 0a 0a 20 20 20  20 20 20 20 5b 56 4d 53  |x)...       [VMS|
0000a1d0  5d 20 20 57 68 65 6e 20  20 74 68 65 20 20 66 69  |]  When  the  fi|
0000a1e0  6c 65 20 20 62 65 69 6e  67 20 20 65 78 74 72 61  |le  being  extra|
0000a1f0  63 74 65 64 20 20 61 6c  72 65 61 64 79 20 20 65  |cted  already  e|
0000a200  78 69 73 74 73 2c 0a 20  20 20 20 20 20 20 75 6e  |xists,.       un|
0000a210  7a 69 70 27 73 20 20 71  75 65 72 79 20 6f 6e 6c  |zip's  query onl|
0000a220  79 20 61 6c 6c 6f 77 73  20 73 6b 69 70 70 69 6e  |y allows skippin|
0000a230  67 2c 20 6f 76 65 72 77  72 69 74 69 6e 67 20 6f  |g, overwriting o|
0000a240  72 20 72 65 6e 61 6d 2d  0a 20 20 20 20 20 20 20  |r renam-.       |
0000a250  69 6e 67 3b 20 74 68 65  72 65 20 73 68 6f 75 6c  |ing; there shoul|
0000a260  64 20 61 64 64 69 74 69  6f 6e 61 6c 6c 79 20 62  |d additionally b|
0000a270  65 20 61 20 63 68 6f 69  63 65 20 66 6f 72 20 63  |e a choice for c|
0000a280  72 65 61 74 69 6e 67 20  20 61 0a 20 20 20 20 20  |reating  a.     |
0000a290  20 20 6e 65 77 20 20 76  65 72 73 69 6f 6e 20 20  |  new  version  |
0000a2a0  6f 66 20 20 74 68 65 20  20 66 69 6c 65 2e 20 20  |of  the  file.  |
0000a2b0  20 49 6e 20 20 66 61 63  74 2c 20 74 68 65 20 60  | In  fact, the `|
0000a2c0  60 6f 76 65 72 77 72 69  74 65 27 27 0a 20 20 20  |`overwrite''.   |
0000a2d0  20 20 20 20 63 68 6f 69  63 65 20 64 6f 65 73 20  |    choice does |
0000a2e0  63 72 65 61 74 65 20 61  20 6e 65 77 20 76 65 72  |create a new ver|
0000a2f0  73 69 6f 6e 3b 20 74 68  65 20 6f 6c 64 20 76 65  |sion; the old ve|
0000a300  72 73 69 6f 6e 20 20 69  73 20 20 6e 6f 74 0a 20  |rsion  is  not. |
0000a310  20 20 20 20 20 20 6f 76  65 72 77 72 69 74 74 65  |      overwritte|
0000a320  6e 20 6f 72 20 64 65 6c  65 74 65 64 2e 0a 0a 53  |n or deleted...S|
0000a330  45 45 20 41 4c 53 4f 0a  20 20 20 20 20 20 20 66  |EE ALSO.       f|
0000a340  75 6e 7a 69 70 28 31 4c  29 2c 20 20 20 7a 69 70  |unzip(1L),   zip|
0000a350  28 31 4c 29 2c 20 20 20  7a 69 70 63 6c 6f 61 6b  |(1L),   zipcloak|
0000a360  28 31 4c 29 2c 20 20 7a  69 70 67 72 65 70 28 31  |(1L),  zipgrep(1|
0000a370  4c 29 2c 20 20 7a 69 70  2d 0a 20 20 20 20 20 20  |L),  zip-.      |
0000a380  20 69 6e 66 6f 28 31 4c  29 2c 20 7a 69 70 6e 6f  | info(1L), zipno|
0000a390  74 65 28 31 4c 29 2c 20  7a 69 70 73 70 6c 69 74  |te(1L), zipsplit|
0000a3a0  28 31 4c 29 0a 0a 55 52  4c 0a 20 20 20 20 20 20  |(1L)..URL.      |
0000a3b0  20 54 68 65 20 20 20 20  49 6e 66 6f 2d 5a 49 50  | The    Info-ZIP|
0000a3c0  20 20 20 20 68 6f 6d 65  20 20 20 20 70 61 67 65  |    home    page|
0000a3d0  20 20 20 20 69 73 20 20  20 20 20 63 75 72 72 65  |    is     curre|
0000a3e0  6e 74 6c 79 20 20 20 20  20 61 74 0a 20 20 20 20  |ntly     at.    |
0000a3f0  20 20 20 68 74 74 70 3a  2f 2f 77 77 77 2e 63 64  |   http://www.cd|
0000a400  72 6f 6d 2e 63 6f 6d 2f  70 75 62 2f 69 6e 66 6f  |rom.com/pub/info|
0000a410  7a 69 70 2f 20 2e 0a 0a  41 55 54 48 4f 52 53 0a  |zip/ ...AUTHORS.|
0000a420  20 20 20 20 20 20 20 54  68 65 20 20 70 72 69 6d  |       The  prim|
0000a430  61 72 79 20 49 6e 66 6f  2d 5a 49 50 20 61 75 74  |ary Info-ZIP aut|
0000a440  68 6f 72 73 20 28 63 75  72 72 65 6e 74 20 73 65  |hors (current se|
0000a450  6d 69 2d 61 63 74 69 76  65 20 6d 65 6d 62 65 72  |mi-active member|
0000a460  73 0a 20 20 20 20 20 20  20 6f 66 20 20 74 68 65  |s.       of  the|
0000a470  20 20 5a 69 70 2d 42 75  67 73 20 20 77 6f 72 6b  |  Zip-Bugs  work|
0000a480  67 72 6f 75 70 29 20 20  61 72 65 3a 20 20 20 47  |group)  are:   G|
0000a490  72 65 67 20 20 60 60 43  61 76 65 20 20 4e 65 77  |reg  ``Cave  New|
0000a4a0  74 27 27 0a 20 20 20 20  20 20 20 52 6f 65 6c 6f  |t''.       Roelo|
0000a4b0  66 73 20 20 28 55 6e 5a  69 70 29 3b 20 20 4f 6e  |fs  (UnZip);  On|
0000a4c0  6e 6f 20 20 76 61 6e 20  20 64 65 72 20 20 4c 69  |no  van  der  Li|
0000a4d0  6e 64 65 6e 20 28 5a 69  70 29 3b 20 4a 65 61 6e  |nden (Zip); Jean|
0000a4e0  2d 6c 6f 75 70 0a 20 20  20 20 20 20 20 47 61 69  |-loup.       Gai|
0000a4f0  6c 6c 79 20 28 63 6f 6d  70 72 65 73 73 69 6f 6e  |lly (compression|
0000a500  29 3b 20 4d 61 72 6b 20  41 64 6c 65 72 20 28 64  |); Mark Adler (d|
0000a510  65 63 6f 6d 70 72 65 73  73 69 6f 6e 2c 20 20 66  |ecompression,  f|
0000a520  55 6e 5a 69 70 29 3b 0a  20 20 20 20 20 20 20 43  |UnZip);.       C|
0000a530  68 72 69 73 74 69 61 6e  20 20 53 70 69 65 6c 65  |hristian  Spiele|
0000a540  72 20 20 28 56 4d 53 2c  20 20 4d 53 2d 44 4f 53  |r  (VMS,  MS-DOS|
0000a550  2c 20 20 57 69 6e 64 6f  77 73 20 39 35 2c 20 4e  |,  Windows 95, N|
0000a560  54 2c 20 73 68 61 72 65  64 0a 20 20 20 20 20 20  |T, shared.      |
0000a570  20 63 6f 64 65 2c 20 67  65 6e 65 72 61 6c 20 5a  | code, general Z|
0000a580  69 70 20 61 6e 64 20 55  6e 5a 69 70 20 69 6e 74  |ip and UnZip int|
0000a590  65 67 72 61 74 69 6f 6e  20 61 6e 64 20 6f 70 74  |egration and opt|
0000a5a0  69 6d 69 7a 61 74 69 6f  6e 29 3b 0a 20 20 20 20  |imization);.    |
0000a5b0  20 20 20 4d 69 6b 65 20  20 57 68 69 74 65 20 20  |   Mike  White  |
0000a5c0  28 57 69 6e 64 6f 77 73  20 20 47 55 49 2c 20 20  |(Windows  GUI,  |
0000a5d0  57 69 6e 64 6f 77 73 20  44 4c 4c 73 29 3b 20 4b  |Windows DLLs); K|
0000a5e0  61 69 20 55 77 65 20 52  6f 6d 6d 65 6c 0a 20 20  |ai Uwe Rommel.  |
0000a5f0  20 20 20 20 20 28 4f 53  2f 32 29 3b 20 50 61 75  |     (OS/2); Pau|
0000a600  6c 20 4b 69 65 6e 69 74  7a 20 28 41 6d 69 67 61  |l Kienitz (Amiga|
0000a610  2c 20 57 69 6e 64 6f 77  73 20 39 35 29 3b 20 20  |, Windows 95);  |
0000a620  43 68 72 69 73 20 20 48  65 72 62 6f 72 74 68 0a  |Chris  Herborth.|
0000a630  20 20 20 20 20 20 20 28  42 65 4f 53 2c 20 20 51  |       (BeOS,  Q|
0000a640  4e 58 2c 20 20 41 74 61  72 69 29 3b 20 20 4a 6f  |NX,  Atari);  Jo|
0000a650  6e 61 74 68 61 6e 20 20  48 75 64 73 6f 6e 20 28  |nathan  Hudson (|
0000a660  53 4d 53 2f 51 44 4f 53  29 3b 20 53 65 72 67 69  |SMS/QDOS); Sergi|
0000a670  6f 0a 20 20 20 20 20 20  20 4d 6f 6e 65 73 69 20  |o.       Monesi |
0000a680  28 41 63 6f 72 6e 20 52  49 53 43 20 4f 53 29 3b  |(Acorn RISC OS);|
0000a690  20 48 61 72 61 6c 64 20  44 65 6e 6b 65 72 20 28  | Harald Denker (|
0000a6a0  41 74 61 72 69 2c 20 20  4d 56 53 29 3b 20 20 4a  |Atari,  MVS);  J|
0000a6b0  6f 68 6e 0a 20 20 20 20  20 20 20 42 75 73 68 20  |ohn.       Bush |
0000a6c0  20 28 53 6f 6c 61 72 69  73 2c 20 41 6d 69 67 61  | (Solaris, Amiga|
0000a6d0  29 3b 20 48 75 6e 74 65  72 20 47 6f 61 74 6c 65  |); Hunter Goatle|
0000a6e0  79 20 28 56 4d 53 29 3b  20 53 74 65 76 65 20 53  |y (VMS); Steve S|
0000a6f0  61 6c 69 73 2d 0a 20 20  20 20 20 20 20 62 75 72  |alis-.       bur|
0000a700  79 20 28 57 69 6e 64 6f  77 73 20 39 35 2c 20 4e  |y (Windows 95, N|
0000a710  54 29 3b 20 20 53 74 65  76 65 20 20 4d 69 6c 6c  |T);  Steve  Mill|
0000a720  65 72 20 20 28 57 69 6e  64 6f 77 73 20 20 43 45  |er  (Windows  CE|
0000a730  20 20 47 55 49 29 2c 0a  20 20 20 20 20 20 20 4a  |  GUI),.       J|
0000a740  6f 68 6e 6e 79 20 20 4c  65 65 20 28 4d 53 2d 44  |ohnny  Lee (MS-D|
0000a750  4f 53 2c 20 57 69 6e 64  6f 77 73 20 39 35 2c 20  |OS, Windows 95, |
0000a760  4e 54 29 3b 20 61 6e 64  20 44 61 76 65 20 53 6d  |NT); and Dave Sm|
0000a770  69 74 68 20 28 54 61 6e  2d 0a 20 20 20 20 20 20  |ith (Tan-.      |
0000a780  20 64 65 6d 20 4e 53 4b  29 2e 20 20 54 68 65 20  | dem NSK).  The |
0000a790  61 75 74 68 6f 72 20 6f  66 20 20 74 68 65 20 20  |author of  the  |
0000a7a0  6f 72 69 67 69 6e 61 6c  20 20 75 6e 7a 69 70 20  |original  unzip |
0000a7b0  20 63 6f 64 65 20 20 75  70 6f 6e 0a 20 20 20 20  | code  upon.    |
0000a7c0  20 20 20 77 68 69 63 68  20 20 49 6e 66 6f 2d 5a  |   which  Info-Z|
0000a7d0  49 50 27 73 20 20 77 61  73 20 62 61 73 65 64 20  |IP's  was based |
0000a7e0  69 73 20 53 61 6d 75 65  6c 20 48 2e 20 53 6d 69  |is Samuel H. Smi|
0000a7f0  74 68 3b 20 43 61 72 6c  20 4d 61 73 2d 0a 20 20  |th; Carl Mas-.  |
0000a800  20 20 20 20 20 63 6f 74  74 20 64 69 64 20 74 68  |     cott did th|
0000a810  65 20 66 69 72 73 74 20  55 6e 69 78 20 70 6f 72  |e first Unix por|
0000a820  74 3b 20 20 61 6e 64 20  20 44 61 76 69 64 20 20  |t;  and  David  |
0000a830  50 2e 20 20 20 4b 69 72  73 63 68 62 61 75 6d 0a  |P.   Kirschbaum.|
0000a840  20 20 20 20 20 20 20 6f  72 67 61 6e 69 7a 65 64  |       organized|
0000a850  20 20 61 6e 64 20 20 6c  65 64 20 20 49 6e 66 6f  |  and  led  Info|
0000a860  2d 5a 49 50 20 69 6e 20  69 74 73 20 65 61 72 6c  |-ZIP in its earl|
0000a870  79 20 64 61 79 73 20 77  69 74 68 20 4b 65 69 74  |y days with Keit|
0000a880  68 0a 20 20 20 20 20 20  20 50 65 74 65 72 73 65  |h.       Peterse|
0000a890  6e 20 68 6f 73 74 69 6e  67 20 74 68 65 20 6f 72  |n hosting the or|
0000a8a0  69 67 69 6e 61 6c 20 6d  61 69 6c 69 6e 67 20 20  |iginal mailing  |
0000a8b0  6c 69 73 74 20 20 61 74  20 20 57 53 4d 52 2d 53  |list  at  WSMR-S|
0000a8c0  69 6d 2d 0a 20 20 20 20  20 20 20 54 65 6c 32 30  |im-.       Tel20|
0000a8d0  2e 20 20 20 54 68 65 20  20 66 75 6c 6c 20 6c 69  |.   The  full li|
0000a8e0  73 74 20 6f 66 20 63 6f  6e 74 72 69 62 75 74 6f  |st of contributo|
0000a8f0  72 73 20 74 6f 20 55 6e  5a 69 70 20 68 61 73 20  |rs to UnZip has |
0000a900  67 72 6f 77 6e 0a 20 20  20 20 20 20 20 71 75 69  |grown.       qui|
0000a910  74 65 20 6c 61 72 67 65  3b 20 70 6c 65 61 73 65  |te large; please|
0000a920  20 72 65 66 65 72 20 74  6f 20 20 74 68 65 20 20  | refer to  the  |
0000a930  43 4f 4e 54 52 49 42 53  20 20 66 69 6c 65 20 20  |CONTRIBS  file  |
0000a940  69 6e 20 20 74 68 65 0a  0a 49 6e 66 6f 2d 5a 49  |in  the..Info-ZI|
0000a950  50 20 20 20 20 20 20 20  20 20 20 20 20 20 33 20  |P             3 |
0000a960  4e 6f 76 65 6d 62 65 72  20 31 39 39 37 20 28 76  |November 1997 (v|
0000a970  35 2e 33 32 29 20 20 20  20 20 20 20 20 20 20 20  |5.32)           |
0000a980  20 20 20 20 20 20 20 20  31 35 0a 0a 55 4e 5a 49  |        15..UNZI|
0000a990  50 28 31 4c 29 20 20 20  20 20 20 20 20 20 20 20  |P(1L)           |
0000a9a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
0000a9c0  20 20 20 20 55 4e 5a 49  50 28 31 4c 29 0a 0a 20  |    UNZIP(1L).. |
0000a9d0  20 20 20 20 20 20 55 6e  5a 69 70 20 20 73 6f 75  |      UnZip  sou|
0000a9e0  72 63 65 20 20 64 69 73  74 72 69 62 75 74 69 6f  |rce  distributio|
0000a9f0  6e 20 66 6f 72 20 61 20  72 65 6c 61 74 69 76 65  |n for a relative|
0000aa00  6c 79 20 63 6f 6d 70 6c  65 74 65 20 76 65 72 2d  |ly complete ver-|
0000aa10  0a 20 20 20 20 20 20 20  73 69 6f 6e 2e 0a 0a 56  |.       sion...V|
0000aa20  45 52 53 49 4f 4e 53 0a  20 20 20 20 20 20 20 76  |ERSIONS.       v|
0000aa30  31 2e 32 20 20 20 31 35  20 4d 61 72 20 38 39 20  |1.2   15 Mar 89 |
0000aa40  20 20 53 61 6d 75 65 6c  20 48 2e 20 53 6d 69 74  |  Samuel H. Smit|
0000aa50  68 0a 20 20 20 20 20 20  20 76 32 2e 30 20 20 20  |h.       v2.0   |
0000aa60  20 39 20 53 65 70 20 38  39 20 20 20 53 61 6d 75  | 9 Sep 89   Samu|
0000aa70  65 6c 20 48 2e 20 53 6d  69 74 68 0a 20 20 20 20  |el H. Smith.    |
0000aa80  20 20 20 76 32 2e 78 20  20 20 66 61 6c 6c 20 31  |   v2.x   fall 1|
0000aa90  39 38 39 20 20 20 6d 61  6e 79 20 55 73 65 6e 65  |989   many Usene|
0000aaa0  74 20 63 6f 6e 74 72 69  62 75 74 6f 72 73 0a 20  |t contributors. |
0000aab0  20 20 20 20 20 20 76 33  2e 30 20 20 20 20 31 20  |      v3.0    1 |
0000aac0  4d 61 79 20 39 30 20 20  20 49 6e 66 6f 2d 5a 49  |May 90   Info-ZI|
0000aad0  50 20 28 44 50 4b 2c 20  63 6f 6e 73 6f 6c 69 64  |P (DPK, consolid|
0000aae0  61 74 6f 72 29 0a 20 20  20 20 20 20 20 76 33 2e  |ator).       v3.|
0000aaf0  31 20 20 20 31 35 20 41  75 67 20 39 30 20 20 20  |1   15 Aug 90   |
0000ab00  49 6e 66 6f 2d 5a 49 50  20 28 44 50 4b 2c 20 63  |Info-ZIP (DPK, c|
0000ab10  6f 6e 73 6f 6c 69 64 61  74 6f 72 29 0a 20 20 20  |onsolidator).   |
0000ab20  20 20 20 20 76 34 2e 30  20 20 20 20 31 20 44 65  |    v4.0    1 De|
0000ab30  63 20 39 30 20 20 20 49  6e 66 6f 2d 5a 49 50 20  |c 90   Info-ZIP |
0000ab40  28 47 52 52 2c 20 6d 61  69 6e 74 61 69 6e 65 72  |(GRR, maintainer|
0000ab50  29 0a 20 20 20 20 20 20  20 76 34 2e 31 20 20 20  |).       v4.1   |
0000ab60  31 32 20 4d 61 79 20 39  31 20 20 20 49 6e 66 6f  |12 May 91   Info|
0000ab70  2d 5a 49 50 0a 20 20 20  20 20 20 20 76 34 2e 32  |-ZIP.       v4.2|
0000ab80  20 20 20 32 30 20 4d 61  72 20 39 32 20 20 20 49  |   20 Mar 92   I|
0000ab90  6e 66 6f 2d 5a 49 50 20  28 5a 69 70 2d 42 75 67  |nfo-ZIP (Zip-Bug|
0000aba0  73 20 73 75 62 67 72 6f  75 70 2c 20 47 52 52 29  |s subgroup, GRR)|
0000abb0  0a 20 20 20 20 20 20 20  76 35 2e 30 20 20 20 32  |.       v5.0   2|
0000abc0  31 20 41 75 67 20 39 32  20 20 20 49 6e 66 6f 2d  |1 Aug 92   Info-|
0000abd0  5a 49 50 20 28 5a 69 70  2d 42 75 67 73 20 73 75  |ZIP (Zip-Bugs su|
0000abe0  62 67 72 6f 75 70 2c 20  47 52 52 29 0a 20 20 20  |bgroup, GRR).   |
0000abf0  20 20 20 20 76 35 2e 30  31 20 20 31 35 20 4a 61  |    v5.01  15 Ja|
0000ac00  6e 20 39 33 20 20 20 49  6e 66 6f 2d 5a 49 50 20  |n 93   Info-ZIP |
0000ac10  28 5a 69 70 2d 42 75 67  73 20 73 75 62 67 72 6f  |(Zip-Bugs subgro|
0000ac20  75 70 2c 20 47 52 52 29  0a 20 20 20 20 20 20 20  |up, GRR).       |
0000ac30  76 35 2e 31 20 20 20 20  37 20 46 65 62 20 39 34  |v5.1    7 Feb 94|
0000ac40  20 20 20 49 6e 66 6f 2d  5a 49 50 20 28 5a 69 70  |   Info-ZIP (Zip|
0000ac50  2d 42 75 67 73 20 73 75  62 67 72 6f 75 70 2c 20  |-Bugs subgroup, |
0000ac60  47 52 52 29 0a 20 20 20  20 20 20 20 76 35 2e 31  |GRR).       v5.1|
0000ac70  31 20 20 20 32 20 41 75  67 20 39 34 20 20 20 49  |1   2 Aug 94   I|
0000ac80  6e 66 6f 2d 5a 49 50 20  28 5a 69 70 2d 42 75 67  |nfo-ZIP (Zip-Bug|
0000ac90  73 20 73 75 62 67 72 6f  75 70 2c 20 47 52 52 29  |s subgroup, GRR)|
0000aca0  0a 20 20 20 20 20 20 20  76 35 2e 31 32 20 20 32  |.       v5.12  2|
0000acb0  38 20 41 75 67 20 39 34  20 20 20 49 6e 66 6f 2d  |8 Aug 94   Info-|
0000acc0  5a 49 50 20 28 5a 69 70  2d 42 75 67 73 20 73 75  |ZIP (Zip-Bugs su|
0000acd0  62 67 72 6f 75 70 2c 20  47 52 52 29 0a 20 20 20  |bgroup, GRR).   |
0000ace0  20 20 20 20 76 35 2e 32  20 20 20 33 30 20 41 70  |    v5.2   30 Ap|
0000acf0  72 20 39 36 20 20 20 49  6e 66 6f 2d 5a 49 50 20  |r 96   Info-ZIP |
0000ad00  28 5a 69 70 2d 42 75 67  73 20 73 75 62 67 72 6f  |(Zip-Bugs subgro|
0000ad10  75 70 2c 20 47 52 52 29  0a 20 20 20 20 20 20 20  |up, GRR).       |
0000ad20  76 35 2e 33 20 20 20 32  32 20 41 70 72 20 39 37  |v5.3   22 Apr 97|
0000ad30  20 20 20 49 6e 66 6f 2d  5a 49 50 20 28 5a 69 70  |   Info-ZIP (Zip|
0000ad40  2d 42 75 67 73 20 73 75  62 67 72 6f 75 70 2c 20  |-Bugs subgroup, |
0000ad50  47 52 52 29 0a 20 20 20  20 20 20 20 76 35 2e 33  |GRR).       v5.3|
0000ad60  31 20 20 33 31 20 4d 61  79 20 39 37 20 20 20 49  |1  31 May 97   I|
0000ad70  6e 66 6f 2d 5a 49 50 20  28 5a 69 70 2d 42 75 67  |nfo-ZIP (Zip-Bug|
0000ad80  73 20 73 75 62 67 72 6f  75 70 2c 20 47 52 52 29  |s subgroup, GRR)|
0000ad90  0a 20 20 20 20 20 20 20  76 35 2e 33 32 20 20 20  |.       v5.32   |
0000ada0  33 20 4e 6f 76 20 39 37  20 20 20 49 6e 66 6f 2d  |3 Nov 97   Info-|
0000adb0  5a 49 50 20 28 5a 69 70  2d 42 75 67 73 20 73 75  |ZIP (Zip-Bugs su|
0000adc0  62 67 72 6f 75 70 2c 20  47 52 52 29 0a 0a 49 6e  |bgroup, GRR)..In|
0000add0  66 6f 2d 5a 49 50 20 20  20 20 20 20 20 20 20 20  |fo-ZIP          |
0000ade0  20 20 20 33 20 4e 6f 76  65 6d 62 65 72 20 31 39  |   3 November 19|
0000adf0  39 37 20 28 76 35 2e 33  32 29 20 20 20 20 20 20  |97 (v5.32)      |
0000ae00  20 20 20 20 20 20 20 20  20 20 20 20 20 31 36 0a  |             16.|
0000ae10  0a                                                |.|
0000ae11