Home » Personal collection » Acorn hard disk » unzip_tools » !Infozip » Routines/unzip.txt

Routines/unzip.txt

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 » !Infozip
Filename: Routines/unzip.txt
Read OK:
File size: D991 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] [-cflptTuvz[abjnoqsCDKLMUVWX$/:^]] 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),
       creates ZIP archives; both programs are compatible with  archives  cre-
       ated  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  specification  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 those supported in commonly  used  Unix  shells  (sh,
              ksh, csh) 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).  To specify a verbatim
                     left bracket, the three-character sequence ``[[]'' has to
                     be used.

              (Be  sure  to quote any character that might otherwise be inter-
              preted 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.

       [file(s)]
              An  optional  list of archive members to be processed, separated
              by spaces.  (VMS versions  compiled  with  VMSCLI  defined  must
              delimit  files  with  commas instead.  See -v in OPTIONS below.)
              Regular expressions (wildcards) may be used  to  match  multiple
              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 process-
              ing.  Since wildcard characters normally match  (`/')  directory
              separators  (for  exceptions see the option -W), 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 recreated in the current direc-
              tory; the -d option allows extraction in an arbitrary  directory
              (always  assuming one has permission to write to the directory).
              This option need not appear at the end of the command  line;  it
              is also accepted before the zipfile specification (with the nor-
              mal options), immediately 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 particular, ``-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  direc-
              tory.

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  command  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).

       -c     extract files to stdout/screen (``CRT'').  This option is  simi-
              lar  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  conversion  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 oper-
              ating 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 differences
              between DOS-format file times (always local time) and  Unix-for-
              mat  times  (always in GMT/UTC) and the necessity to compare the
              two.  A typical TZ value is ``PST8PDT'' (US  Pacific  time  with
              automatic  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 individual file comments (if any)  are  dis-
              played.   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 pre-
              fixed 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 corresponds to zip's  -go  option
              except  that  it can be used on wildcard zipfiles (e.g., ``unzip
              -T \*.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 information on  setting
              the timezone properly.

       -v     list  archive  files (verbose format) or show 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 zip-
              file 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.  In  contrast
              to  most  of the competing utilities, unzip removes the 12 addi-
              tional header bytes of encrypted  entries  from  the  compressed
              size  numbers.  Therefore, compressed size and compression ratio
              figures are independent of the  entry's  encryption  status  and
              show the correct compression performance.  (The complete size of
              the encrypted compressed data  stream  for  zipfile  entries  is
              reported  by the more verbose zipinfo(1L) reports, see the sepa-
              rate manual.)  When no zipfile is specified (that is,  the  com-
              plete  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 operating
              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 variables that
              might do the same (see ENVIRONMENT OPTIONS below).  As  a  modi-
              fier  it  works  in conjunction 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 zipinfo  listings,  rather  than  `b')  to  be  automatically
              extracted  as such, converting line endings, end-of-file charac-
              ters 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 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, regardless of
              the supposed file type.  On VMS, see also -S.

       -b     [general] treat all files as binary (no text conversions).  This
              is a shortcut for ---a.

       -b     [Tandem]  force  the creation files with filecode type 180 ('C')
              when extracting Zip entries marked as "text". (On Tandem, -a  is
              enabled by default, see above).

       -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. When extracting to stan-
              dard output (-c or -p option in effect), the default  conversion
              of  text record delimiters is disabled for binary (-b) resp. all
              (-bb) files.

       -B     [when compiled with UNIXBACKUP defined] save a  backup  copy  of
              each  overwritten  file. The backup file is gets the name of the
              target file with a tilde and optionally a unique sequence number
              (up to 5 digits) appended.  The sequence number is applied when-
              ever another file with the  original  name  plus  tilde  already
              exists.   When used together with the "overwrite all" option -o,
              numbered backup files are  never  created.  In  this  case,  all
              backup  files  are  named  as the original file with an appended
              tilde, existing backup files are deleted without  notice.   This
              feature  works  similarly to the default behavior of emacs(1) in
              many locations.

              Example: the old copy of ``foo'' is renamed to ``foo~''.

              Warning: Users should be aware that the -B option does not  pre-
              vent  loss  of existing data under all circumstances.  For exam-
              ple, when unzip  is  run  in  overwrite-all  mode,  an  existing
              ``foo~'' file is deleted before unzip attempts to rename ``foo''
              to ``foo~''.  When this rename attempt fails (because of a  file
              locks,  insufficient  privileges,  or  ...),  the  extraction of
              ``foo~'' gets cancelled, but the  old  backup  file  is  already
              lost.   A  similar scenario takes place when the sequence number
              range for numbered backup files gets exhausted (99999, or  65535
              for  16-bit  systems).   In  this case, the backup file with the
              maximum sequence number is  deleted  and  replaced  by  the  new
              backup version without notice.

       -C     use  case-insensitive  matching  for  the  selection  of archive
              entries from the command-line list  of  extract  selection  pat-
              terns.  unzip's philosophy is ``you get what you ask for'' (this
              is also responsible for  the  -L/-U  change;  see  the  relevant
              options below).  Because some file systems are fully case-sensi-
              tive (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 ``make-
              file'' on the command line will only match ``makefile''  in  the
              archive,  not  ``Makefile''  or  ``MAKEFILE'' (and similarly for
              wildcard specifications).  Since this does not correspond to the
              behavior of many other operating/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  ``makefile''  (or  ``make*'',  or similar).  The -C
              option affects file specs in both the normal file list  and  the
              excluded-file list (xlist).

              Please  note  that  the -C option does neither affect the search
              for the zipfile(s) nor the matching of archive entries to exist-
              ing files on the extraction path.  On a case-sensitive file sys-
              tem, unzip will never try  to  overwrite  a  file  ``FOO''  when
              extracting an entry ``foo''!

       -D     skip  restoration  of timestamps for extracted items.  Normally,
              unzip tries to restore all meta-information for extracted  items
              that  are supplied in the Zip archive (and do not require privi-
              leges or impose a security risk).  By specifying  -D,  unzip  is
              told  to  suppress  restoration  of  timestamps  for directories
              explicitly created from Zip archive entries.  This  option  only
              applies to ports that support setting timestamps for directories
              (currently ATheOS, BeOS, MacOS,  OS/2,  Unix,  VMS,  Win32,  for
              other unzip ports, -D has no effect).  The duplicated option -DD
              forces suppression of timestamp restoration  for  all  extracted
              entries (files and directories).  This option results in setting
              the timestamps for all extracted entries to the current time.

              On VMS, the default setting for this option is  -D  for  consis-
              tency   with  the  behaviour  of  BACKUP:  file  timestamps  are
              restored, timestamps of extracted directories are  left  at  the
              current  time.   To  enable restoration of directory timestamps,
              the negated option --D should be specified.  On VMS, the  option
              -D  disables timestamp restoration for all extracted Zip archive
              items.  (Here, a single -D on the command line combines with the
              default -D to do what an explicit -DD does on other systems.)

       -E     [MacOS  only]  display  contents  of  MacOS  extra  field during
              restore operation.

       -F     [Acorn only] suppress removal of  NFS  filetype  extension  from
              stored filenames.

       -F     [non-Acorn  systems supporting long filenames with embedded com-
              mas, and only if compiled with ACORN_FTYPE_NFS  defined]  trans-
              late  filetype information from ACORN RISC OS extra field blocks
              into a NFS filetype extension and append it to the names of  the
              extracted  files.   (When the stored filename appears to already
              have an appended NFS filetype extension, it is replaced  by  the
              info from the extra field.)

       -i     [MacOS  only]  ignore  filenames  stored  in MacOS extra fields.
              Instead, the most compatible filename stored in the generic part
              of the entry's header is used.

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

       -J     [BeOS   only]  junk  file  attributes.   The  file's  BeOS  file
              attributes are not restored, just the file's data.

       -J     [MacOS only] ignore MacOS extra fields.  All Macintosh  specific
              info  is  skipped.  Data-fork  and resource-fork are restored as
              separate files.

       -K     [AtheOS,  BeOS,   Unix   only]   retain   SUID/SGID/Tacky   file
              attributes.  Without this flag, these attribute bits are cleared
              for security reasons.

       -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
              identical  to  the old behavior with the -U option, which 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-sensi-
              tive  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.   The  -LL option forces conversion of
              every filename to lowercase, regardless of the originating  file
              system.

       -M     pipe  all  output  through an internal pager similar to the Unix
              more(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 likeli-
              hood that some text will scroll off the top of the screen before
              being  viewed.  On some systems the number of available 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  com-
              ments.

       -o     overwrite existing files without prompting.  This is a dangerous
              option, so use it with care.  (It is often used  with  -f,  how-
              ever,  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 operating systems provide
              ways for any user to see the 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 utili-
              ties.)

       -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  support  spaces in filenames.
              Conversion of spaces to underscores can eliminate  the  awkward-
              ness in some cases.

       -S     [VMS] convert text files (-a, -aa) into Stream_LF record format,
              instead of the text-file default, variable-length record format.
              (Stream_LF  is  the  default  record  format of VMS unzip. It is
              applied unless conversion (-a, -aa and/or -b, -bb) is  requested
              or a VMS-specific entry is processed.)

       -U     [UNICODE_SUPPORT  only]  modify or disable UTF-8 handling.  When
              UNICODE_SUPPORT is available, the  option  -U  forces  unzip  to
              escape  all  non-ASCII  characters from UTF-8 coded filenames as
              ``#Uxxxx'' (for UCS-2 characters, or  ``#Lxxxxxx''  for  unicode
              codepoints  needing  3  octets).  This option is mainly provided
              for debugging purpose when the fairly new UTF-8 support is  sus-
              pected to mangle up extracted filenames.

              The  option  -UU  allows  to entirely disable the recognition of
              UTF-8 encoded  filenames.   The  handling  of  filename  codings
              within unzip falls back to the behaviour of previous versions.

              [old, obsolete usage] 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 numbers 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.)

       -W     [only  when  WILD_STOP_AT_DIR compile-time option enabled] modi-
              fies the pattern matching routine so that both `?'  (single-char
              wildcard)  and `*' (multi-char wildcard) do not match the direc-
              tory  separator  character  `/'.   (The  two-character  sequence
              ``**'' acts as a multi-char wildcard that includes the directory
              separator in its matched characters.)  Examples:

               "*.c" matches "foo.c" but not "mydir/foo.c"
               "**.c" matches both "foo.c" and "mydir/foo.c"
               "*/*.c" matches "bar/foo.c" but not "baz/bar/foo.c"
               "??*/*" matches "ab/foo" and "abc/foo"
                       but not "a/foo" or "a/b/foo"

              This modified behaviour is equivalent to  the  pattern  matching
              style used by the shells of some of UnZip's supported target OSs
              (one example is Acorn RISC OS).  This option may not  be  avail-
              able on systems where the Zip archive's internal directory sepa-
              rator character `/' is allowed as regular  character  in  native
              operating  system  filenames.   (Currently,  UnZip uses the same
              pattern matching rules for both wildcard zipfile  specifications
              and  zip  entry  selection  patterns in most ports.  For systems
              allowing `/' as regular filename character, the -W option  would
              not work as expected on a wildcard zipfile specification.)

       -X     [VMS,  Unix,  OS/2,  NT,  Tandem]  restore owner/protection info
              (UICs and ACL  entries)  under  VMS,  or  user  and  group  info
              (UID/GID)  under Unix, or access control lists (ACLs) under cer-
              tain 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
              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.]

       -Y     [VMS]  treat  archived  file  name  endings  of  ``.nnn'' (where
              ``nnn'' is a decimal  number) as if they were VMS  version  num-
              bers  (``;nnn'').  (The default is to treat them as file types.)
              Example:
                       "a.b.3" -> "a.b;3".

       -$     [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.

       -/ extensions
              [Acorn  only] overrides the extension list supplied by Unzip$Ext
              environment variable.  During  extraction,  filename  extensions
              that  match  one of the items in this extension list are swapped
              in front of the base name of the extracted file.

       -:     [all but Acorn, VM/CMS, MVS, Tandem] allows to  extract  archive
              members into locations outside of the current `` extraction root
              folder''. For security reasons, unzip normally removes  ``parent
              dir''  path  components  (``../'')  from  the names of extracted
              file.  This safety feature (new for version 5.50) prevents unzip
              from  accidentally  writing files to ``sensitive'' areas outside
              the active extraction folder tree  head.   The  -:  option  lets
              unzip  switch  back  to its previous, more liberal behaviour, to
              allow exact extraction of (older)  archives  that  used  ``../''
              components  to  create  multiple directory trees at the level of
              the current extraction folder.   This  option  does  not  enable
              writing  explicitly  to  the root directory (``/'').  To achieve
              this, it is necessary to set the  extraction  target  folder  to
              root (e.g. -d / ).  However, when the -: option is specified, it
              is still possible to implicitly write to the root  directory  by
              specifying   enough  ``../''  path  components  within  the  zip
              archive.  Use this option with extreme caution.

       -^     [Unix only] allow control characters in names of  extracted  ZIP
              archive  entries.   On Unix, a file name may contain any (8-bit)
              character code with the two exception '/' (directory  delimiter)
              and  NUL  (0x00, the C string termination indicator), unless the
              specific file system has more restrictive  conventions.   Gener-
              ally,  this  allows  to  embed ASCII control characters (or even
              sophisticated control sequences) in  file  names,  at  least  on
              'native'  Unix  file  systems.  However, it may be highly suspi-
              cious to make use of  this  Unix  "feature".   Embedded  control
              characters in file names might have nasty side effects when dis-
              played on screen by some listing code without sufficient filter-
              ing.   And,  for  ordinary  users, it may be difficult to handle
              such file names (e.g. when trying to specify it for open,  copy,
              move,  or delete operations).  Therefore, unzip applies a filter
              by default that removes potentially dangerous control characters
              from  the extracted file names. The -^ option allows to override
              this filter in the rare  case  that  embedded  filename  control
              characters are to be intentionally restored.

       -2     [VMS]   force   unconditionally  conversion  of  file  names  to
              ODS2-compatible names.  The default is to exploit  the  destina-
              tion file system, preserving case and extended file name charac-
              ters on an  ODS5  destination  file  system;  and  applying  the
              ODS2-compatibility  file  name  filtering on an ODS2 destination
              file system.

ENVIRONMENT OPTIONS
       unzip's default behavior may be modified via options placed in an envi-
       ronment 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 overwrite or never overwrite files
       as it extracts them.  For example, to make unzip act as quietly as pos-
       sible,  only  reporting errors, one would use one of the following com-
       mands:

         Unix Bourne shell:
              UNZIP=-qq; export UNZIP

         Unix C shell:
              setenv UNZIP -qq

         OS/2 or MS-DOS:
              set UNZIP=-qq

         VMS (quotes for lowercase):
              define UNZIP_OPTS "-qq"

       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 confusing, but it
       is reasonably intuitive:  just ignore the  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 confused 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  time-
       zone in order for the -f and -u to operate correctly.  See the descrip-
       tion of -f above for details.  This variable may also be  necessary  to
       get  timestamps  of  extracted  files  to  be set correctly.  The WIN32
       (Win9x/ME/NT4/2K/XP/2K3) port of unzip gets the timezone  configuration
       from  the  registry, assuming it is correctly set in the Control Panel.
       The TZ variable is ignored for this port.

DECRYPTION
       Encrypted archives are fully supported by Info-ZIP software, but due to
       United States export restrictions, de-/encryption support might be dis-
       abled in your compiled binary.  However, since spring 2000,  US  export
       restrictions  have  been  liberated,  and  our  source  archives do now
       include full crypt code.  In case you need  binary  distributions  with
       crypt support enabled, see the file ``WHERE'' in any Info-ZIP source or
       binary distribution for locations both inside and outside the US.

       Some compiled versions of unzip may not 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 normally; 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 incorrect password is given  but
       it  passes the header test anyway, either an incorrect CRC will be gen-
       erated for the extracted data  or  else  unzip  will  fail  during  the
       extraction  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
       positives'' 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 ISO coding
       (Latin-1  etc.)  everywhere  else;  and  Nico Mak's WinZip 6.x does not
       allow 8-bit passwords at all.  UnZip 5.3 (or newer) attempts to use the
       default  character 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.
       (EBCDIC is not tested on non-EBCDIC systems, because there are no known
       archivers that encrypt using EBCDIC encoding.)  ISO character encodings
       other than Latin-1 are not supported.  The new addition of  (partially)
       Unicode (resp.  UTF-8) support in UnZip 6.0 has not yet been adapted to
       the encryption password handling in unzip.  On systems that  use  UTF-8
       as  native  character  encoding, unzip simply tries decryption with the
       native UTF-8 encoded password; the built-in attempts to check the pass-
       word in translated encoding have not yet been adapted for UTF-8 support
       and will consequently fail.

EXAMPLES
       To use unzip to extract all members of the archive letters.zip into the
       current directory and subdirectories below it, creating any subdirecto-
       ries 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 indicating whether
       the archive is OK or not:

           unzip -tq letters

       To  test  all zipfiles in the current directory, printing only the sum-
       maries:

           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 out-
       put all members of letters.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  Make-
       file--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 current 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 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 in options 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 zip-
       file.zip,'' after which one may breathe a sigh of relief.

       The maintainer also finds it useful to set the UNZIP environment  vari-
       able  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 process-
                     ing completed successfully anyway.   This  includes  zip-
                     files  where  one or more files was skipped due to unsup-
                     ported compression method or encryption with  an  unknown
                     password.

              2      a generic error in the zipfile format was detected.  Pro-
                     cessing may have completed successfully anyway; some bro-
                     ken zipfiles created by other archivers have simple work-
                     arounds.

              3      a severe error in the zipfile format was detected.   Pro-
                     cessing probably failed immediately.

              4      unzip  was  unable  to  allocate  memory  for one or more
                     buffers during program initialization.

              5      unzip was unable to allocate memory or unable to obtain a
                     tty to read the decryption 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 command 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 control-C (or
                     similar)

              81     testing or extraction of one or more files failed due  to
                     unsupported  compression  methods  or unsupported decryp-
                     tion.

              82     no files were found due to  bad  decryption  password(s).
                     (If even one file is successfully 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 `?' is 2 (error)
       for unzip values 2, 9-11 and 80-82, and 4 (fatal error) for the remain-
       ing 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  conjunction  with
       zip.  (All parts must be concatenated together in order, and then ``zip
       -F'' (for zip 2.x) or ``zip -FF'' (for zip 3.x) must  be  performed  on
       the  concatenated  archive  in  order to ``fix'' it.  Also, zip 3.0 and
       later can combine multi-part (split) archives into a  combined  single-
       file  archive using ``zip -s- inarchive -O outarchive''.  See the zip 3
       manual page for more information.)  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 tries to take into account automatic wrap-
       ping of long lines. However, the code may fail to  detect  the  correct
       wrapping   locations.   First,  TAB  characters  (and  similar  control
       sequences) are not taken into account, they  are  handled  as  ordinary
       printable  characters.   Second,  depending  on  the actual system / OS
       port, unzip may not detect the true screen geometry but rather rely  on
       "commonly used" default dimensions.  The correct handling of tabs would
       require the implementation of a query for the actual tabulator setup on
       the output console.

       Dates,  times  and  permissions  of stored directories are not restored
       except under Unix. (On Windows NT and successors,  timestamps  are  now
       restored.)

       [MS-DOS]  When  extracting or testing files from an archive on a defec-
       tive 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 con-
       trol-C (or control-Break) can still be used to terminate unzip.

       Under DEC Ultrix, unzip would sometimes fail on long zipfiles (bad CRC,
       not always reproducible).  This was apparently 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 zipfile, nor are hard-linked files relinked.  Basi-
       cally the only file types restored by unzip are regular files, directo-
       ries 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  nor-
       mally  (with  or  without  freshening/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 renaming; there should additionally be
       a choice for creating a new version of the file.  In fact, the  ``over-
       write''  choice does create a new version; the old version is not over-
       written or deleted.

SEE ALSO
       funzip(1L),  zip(1L),  zipcloak(1L),  zipgrep(1L),  zipinfo(1L),   zip-
       note(1L), zipsplit(1L)

URL
       The Info-ZIP home page is currently at
           http://www.info-zip.org/pub/infozip/
       or
           ftp://ftp.info-zip.org/pub/infozip/ .

AUTHORS
       The  primary  Info-ZIP authors (current semi-active members of the Zip-
       Bugs workgroup) are:  Ed Gordon (Zip, general maintenance, shared code,
       Zip64,  Win32,  Unix,  Unicode);  Christian  Spieler (UnZip maintenance
       coordination, VMS, MS-DOS, Win32, shared code, general  Zip  and  UnZip
       integration  and  optimization);  Onno van der Linden (Zip); Mike White
       (Win32, Windows GUI, Windows  DLLs);  Kai  Uwe  Rommel  (OS/2,  Win32);
       Steven  M.  Schweda  (VMS, Unix, support of new features); Paul Kienitz
       (Amiga, Win32, Unicode); 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,  Info-ZIP  Site
       maintenance);  Steve  Salisbury (Win32); Steve Miller (Windows CE GUI),
       Johnny Lee (MS-DOS, Win32, Zip64); and Dave Smith (Tandem NSK).

       The following people were former members of  the  Info-ZIP  development
       group  and  provided  major  contributions  to key parts of the current
       code: Greg ``Cave Newt'' Roelofs (UnZip, unshrink decompression); Jean-
       loup  Gailly  (deflate compression); Mark Adler (inflate decompression,
       fUnZip).

       The author of the original unzip code upon which Info-ZIP's  was  based
       is  Samuel H. Smith; Carl Mascott 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-SimTel20.  The full
       list of contributors to UnZip has grown quite large;  please  refer  to
       the  CONTRIBS  file  in  the UnZip source distribution for a relatively
       complete version.

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)
       v5.4   28 Nov 98   Info-ZIP (Zip-Bugs subgroup, SPC)
       v5.41  16 Apr 00   Info-ZIP (Zip-Bugs subgroup, SPC)
       v5.42  14 Jan 01   Info-ZIP (Zip-Bugs subgroup, SPC)
       v5.5   17 Feb 02   Info-ZIP (Zip-Bugs subgroup, SPC)
       v5.51  22 May 04   Info-ZIP (Zip-Bugs subgroup, SPC)
       v5.52  28 Feb 05   Info-ZIP (Zip-Bugs subgroup, SPC)
       v6.0   20 Apr 09   Info-ZIP (Zip-Bugs subgroup, SPC)

Info-ZIP                     20 April 2009 (v6.0)                    UNZIP(1L)
00000000  55 4e 5a 49 50 28 31 4c  29 20 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  |                |
*
00000040  20 20 20 20 20 55 4e 5a  49 50 28 31 4c 29 0a 0a  |     UNZIP(1L)..|
00000050  4e 41 4d 45 0a 20 20 20  20 20 20 20 75 6e 7a 69  |NAME.       unzi|
00000060  70 20 2d 20 6c 69 73 74  2c 20 74 65 73 74 20 61  |p - list, test a|
00000070  6e 64 20 65 78 74 72 61  63 74 20 63 6f 6d 70 72  |nd extract compr|
00000080  65 73 73 65 64 20 66 69  6c 65 73 20 69 6e 20 61  |essed files in a|
00000090  20 5a 49 50 20 61 72 63  68 69 76 65 0a 0a 53 59  | ZIP archive..SY|
000000a0  4e 4f 50 53 49 53 0a 20  20 20 20 20 20 20 75 6e  |NOPSIS.       un|
000000b0  7a 69 70 20 20 5b 2d 5a  5d 20 5b 2d 63 66 6c 70  |zip  [-Z] [-cflp|
000000c0  74 54 75 76 7a 5b 61 62  6a 6e 6f 71 73 43 44 4b  |tTuvz[abjnoqsCDK|
000000d0  4c 4d 55 56 57 58 24 2f  3a 5e 5d 5d 20 66 69 6c  |LMUVWX$/:^]] fil|
000000e0  65 5b 2e 7a 69 70 5d 20  5b 66 69 6c 65 28 73 29  |e[.zip] [file(s)|
000000f0  20 2e 2e 2e 5d 0a 20 20  20 20 20 20 20 5b 2d 78  | ...].       [-x|
00000100  20 78 66 69 6c 65 28 73  29 20 2e 2e 2e 5d 20 5b  | xfile(s) ...] [|
00000110  2d 64 20 65 78 64 69 72  5d 0a 0a 44 45 53 43 52  |-d exdir]..DESCR|
00000120  49 50 54 49 4f 4e 0a 20  20 20 20 20 20 20 75 6e  |IPTION.       un|
00000130  7a 69 70 20 77 69 6c 6c  20 6c 69 73 74 2c 20 74  |zip will list, t|
00000140  65 73 74 2c 20 6f 72 20  65 78 74 72 61 63 74 20  |est, or extract |
00000150  66 69 6c 65 73 20 66 72  6f 6d 20 61 20 20 5a 49  |files from a  ZI|
00000160  50 20 20 61 72 63 68 69  76 65 2c 20 20 63 6f 6d  |P  archive,  com|
00000170  6d 6f 6e 6c 79 0a 20 20  20 20 20 20 20 66 6f 75  |monly.       fou|
00000180  6e 64 20 20 6f 6e 20 4d  53 2d 44 4f 53 20 73 79  |nd  on MS-DOS sy|
00000190  73 74 65 6d 73 2e 20 20  54 68 65 20 64 65 66 61  |stems.  The defa|
000001a0  75 6c 74 20 62 65 68 61  76 69 6f 72 20 28 77 69  |ult behavior (wi|
000001b0  74 68 20 6e 6f 20 6f 70  74 69 6f 6e 73 29 20 69  |th no options) i|
000001c0  73 20 74 6f 0a 20 20 20  20 20 20 20 65 78 74 72  |s to.       extr|
000001d0  61 63 74 20 69 6e 74 6f  20 74 68 65 20 63 75 72  |act into the cur|
000001e0  72 65 6e 74 20 64 69 72  65 63 74 6f 72 79 20 28  |rent directory (|
000001f0  61 6e 64 20 73 75 62 64  69 72 65 63 74 6f 72 69  |and subdirectori|
00000200  65 73 20 20 62 65 6c 6f  77 20 20 69 74 29 20 20  |es  below  it)  |
00000210  61 6c 6c 0a 20 20 20 20  20 20 20 66 69 6c 65 73  |all.       files|
00000220  20 20 66 72 6f 6d 20 20  74 68 65 20 20 73 70 65  |  from  the  spe|
00000230  63 69 66 69 65 64 20 5a  49 50 20 61 72 63 68 69  |cified ZIP archi|
00000240  76 65 2e 20 20 41 20 63  6f 6d 70 61 6e 69 6f 6e  |ve.  A companion|
00000250  20 70 72 6f 67 72 61 6d  2c 20 7a 69 70 28 31 4c  | program, zip(1L|
00000260  29 2c 0a 20 20 20 20 20  20 20 63 72 65 61 74 65  |),.       create|
00000270  73 20 5a 49 50 20 61 72  63 68 69 76 65 73 3b 20  |s ZIP archives; |
00000280  62 6f 74 68 20 70 72 6f  67 72 61 6d 73 20 61 72  |both programs ar|
00000290  65 20 63 6f 6d 70 61 74  69 62 6c 65 20 77 69 74  |e compatible wit|
000002a0  68 20 20 61 72 63 68 69  76 65 73 20 20 63 72 65  |h  archives  cre|
000002b0  2d 0a 20 20 20 20 20 20  20 61 74 65 64 20 20 62  |-.       ated  b|
000002c0  79 20 20 50 4b 57 41 52  45 27 73 20 20 50 4b 5a  |y  PKWARE's  PKZ|
000002d0  49 50 20 61 6e 64 20 50  4b 55 4e 5a 49 50 20 66  |IP and PKUNZIP f|
000002e0  6f 72 20 4d 53 2d 44 4f  53 2c 20 62 75 74 20 69  |or MS-DOS, but i|
000002f0  6e 20 6d 61 6e 79 20 63  61 73 65 73 20 74 68 65  |n many cases the|
00000300  0a 20 20 20 20 20 20 20  70 72 6f 67 72 61 6d 20  |.       program |
00000310  6f 70 74 69 6f 6e 73 20  6f 72 20 64 65 66 61 75  |options or defau|
00000320  6c 74 20 62 65 68 61 76  69 6f 72 73 20 64 69 66  |lt behaviors dif|
00000330  66 65 72 2e 0a 0a 41 52  47 55 4d 45 4e 54 53 0a  |fer...ARGUMENTS.|
00000340  20 20 20 20 20 20 20 66  69 6c 65 5b 2e 7a 69 70  |       file[.zip|
00000350  5d 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |].              |
00000360  50 61 74 68 20 6f 66 20  74 68 65 20 5a 49 50 20  |Path of the ZIP |
00000370  61 72 63 68 69 76 65 28  73 29 2e 20 20 49 66 20  |archive(s).  If |
00000380  20 74 68 65 20 20 66 69  6c 65 20 20 73 70 65 63  | the  file  spec|
00000390  69 66 69 63 61 74 69 6f  6e 20 20 69 73 20 20 61  |ification  is  a|
000003a0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 77  |.              w|
000003b0  69 6c 64 63 61 72 64 2c  20 65 61 63 68 20 6d 61  |ildcard, each ma|
000003c0  74 63 68 69 6e 67 20 66  69 6c 65 20 69 73 20 70  |tching file is p|
000003d0  72 6f 63 65 73 73 65 64  20 69 6e 20 61 6e 20 6f  |rocessed in an o|
000003e0  72 64 65 72 20 64 65 74  65 72 6d 69 6e 65 64 0a  |rder determined.|
000003f0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 62 79  |              by|
00000400  20 74 68 65 20 6f 70 65  72 61 74 69 6e 67 20 73  | the operating s|
00000410  79 73 74 65 6d 20 28 6f  72 20 66 69 6c 65 20 73  |ystem (or file s|
00000420  79 73 74 65 6d 29 2e 20  20 4f 6e 6c 79 20 74 68  |ystem).  Only th|
00000430  65 20 66 69 6c 65 6e 61  6d 65 20 63 61 6e 0a 20  |e filename can. |
00000440  20 20 20 20 20 20 20 20  20 20 20 20 20 62 65 20  |             be |
00000450  61 20 77 69 6c 64 63 61  72 64 3b 20 74 68 65 20  |a wildcard; the |
00000460  70 61 74 68 20 69 74 73  65 6c 66 20 63 61 6e 6e  |path itself cann|
00000470  6f 74 2e 20 20 57 69 6c  64 63 61 72 64 20 65 78  |ot.  Wildcard ex|
00000480  70 72 65 73 73 69 6f 6e  73 20 61 72 65 0a 20 20  |pressions are.  |
00000490  20 20 20 20 20 20 20 20  20 20 20 20 73 69 6d 69  |            simi|
000004a0  6c 61 72 20 74 6f 20 74  68 6f 73 65 20 73 75 70  |lar to those sup|
000004b0  70 6f 72 74 65 64 20 69  6e 20 63 6f 6d 6d 6f 6e  |ported in common|
000004c0  6c 79 20 20 75 73 65 64  20 20 55 6e 69 78 20 20  |ly  used  Unix  |
000004d0  73 68 65 6c 6c 73 20 20  28 73 68 2c 0a 20 20 20  |shells  (sh,.   |
000004e0  20 20 20 20 20 20 20 20  20 20 20 6b 73 68 2c 20  |           ksh, |
000004f0  63 73 68 29 20 61 6e 64  20 6d 61 79 20 63 6f 6e  |csh) and may con|
00000500  74 61 69 6e 3a 0a 0a 20  20 20 20 20 20 20 20 20  |tain:..         |
00000510  20 20 20 20 20 2a 20 20  20 20 20 20 6d 61 74 63  |     *      matc|
00000520  68 65 73 20 61 20 73 65  71 75 65 6e 63 65 20 6f  |hes a sequence o|
00000530  66 20 30 20 6f 72 20 6d  6f 72 65 20 63 68 61 72  |f 0 or more char|
00000540  61 63 74 65 72 73 0a 0a  20 20 20 20 20 20 20 20  |acters..        |
00000550  20 20 20 20 20 20 3f 20  20 20 20 20 20 6d 61 74  |      ?      mat|
00000560  63 68 65 73 20 65 78 61  63 74 6c 79 20 31 20 63  |ches exactly 1 c|
00000570  68 61 72 61 63 74 65 72  0a 0a 20 20 20 20 20 20  |haracter..      |
00000580  20 20 20 20 20 20 20 20  5b 2e 2e 2e 5d 20 20 6d  |        [...]  m|
00000590  61 74 63 68 65 73 20 20  61 6e 79 20 20 73 69 6e  |atches  any  sin|
000005a0  67 6c 65 20 63 68 61 72  61 63 74 65 72 20 66 6f  |gle character fo|
000005b0  75 6e 64 20 69 6e 73 69  64 65 20 74 68 65 20 62  |und inside the b|
000005c0  72 61 63 6b 65 74 73 3b  0a 20 20 20 20 20 20 20  |rackets;.       |
000005d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 72 61  |              ra|
000005e0  6e 67 65 73 20 61 72 65  20 73 70 65 63 69 66 69  |nges are specifi|
000005f0  65 64 20 62 79 20 61 20  62 65 67 69 6e 6e 69 6e  |ed by a beginnin|
00000600  67 20 63 68 61 72 61 63  74 65 72 2c 20 61 20 20  |g character, a  |
00000610  68 79 70 68 65 6e 2c 0a  20 20 20 20 20 20 20 20  |hyphen,.        |
00000620  20 20 20 20 20 20 20 20  20 20 20 20 20 61 6e 64  |             and|
00000630  20 20 61 6e 20 20 65 6e  64 69 6e 67 20 20 63 68  |  an  ending  ch|
00000640  61 72 61 63 74 65 72 2e  20 20 49 66 20 61 6e 20  |aracter.  If an |
00000650  65 78 63 6c 61 6d 61 74  69 6f 6e 20 70 6f 69 6e  |exclamation poin|
00000660  74 20 6f 72 20 61 0a 20  20 20 20 20 20 20 20 20  |t or a.         |
00000670  20 20 20 20 20 20 20 20  20 20 20 20 63 61 72 65  |            care|
00000680  74 20 28 60 21 27 20 6f  72 20 60 5e 27 29 20 66  |t (`!' or `^') f|
00000690  6f 6c 6c 6f 77 73 20 74  68 65 20 20 6c 65 66 74  |ollows the  left|
000006a0  20 20 62 72 61 63 6b 65  74 2c 20 20 74 68 65 6e  |  bracket,  then|
000006b0  20 20 74 68 65 0a 20 20  20 20 20 20 20 20 20 20  |  the.          |
000006c0  20 20 20 20 20 20 20 20  20 20 20 72 61 6e 67 65  |           range|
000006d0  20 20 6f 66 20 20 63 68  61 72 61 63 74 65 72 73  |  of  characters|
000006e0  20 77 69 74 68 69 6e 20  74 68 65 20 62 72 61 63  | within the brac|
000006f0  6b 65 74 73 20 69 73 20  63 6f 6d 70 6c 65 6d 65  |kets is compleme|
00000700  6e 74 65 64 0a 20 20 20  20 20 20 20 20 20 20 20  |nted.           |
00000710  20 20 20 20 20 20 20 20  20 20 28 74 68 61 74 20  |          (that |
00000720  69 73 2c 20 20 61 6e 79  74 68 69 6e 67 20 20 65  |is,  anything  e|
00000730  78 63 65 70 74 20 20 74  68 65 20 20 63 68 61 72  |xcept  the  char|
00000740  61 63 74 65 72 73 20 20  69 6e 73 69 64 65 20 20  |acters  inside  |
00000750  74 68 65 0a 20 20 20 20  20 20 20 20 20 20 20 20  |the.            |
00000760  20 20 20 20 20 20 20 20  20 62 72 61 63 6b 65 74  |         bracket|
00000770  73 20 20 69 73 20 20 63  6f 6e 73 69 64 65 72 65  |s  is  considere|
00000780  64 20 61 20 6d 61 74 63  68 29 2e 20 20 54 6f 20  |d a match).  To |
00000790  73 70 65 63 69 66 79 20  61 20 76 65 72 62 61 74  |specify a verbat|
000007a0  69 6d 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |im.             |
000007b0  20 20 20 20 20 20 20 20  6c 65 66 74 20 62 72 61  |        left bra|
000007c0  63 6b 65 74 2c 20 74 68  65 20 74 68 72 65 65 2d  |cket, the three-|
000007d0  63 68 61 72 61 63 74 65  72 20 73 65 71 75 65 6e  |character sequen|
000007e0  63 65 20 60 60 5b 5b 5d  27 27 20 68 61 73 20 74  |ce ``[[]'' has t|
000007f0  6f 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |o.              |
00000800  20 20 20 20 20 20 20 62  65 20 75 73 65 64 2e 0a  |       be used..|
00000810  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 28  |.              (|
00000820  42 65 20 20 73 75 72 65  20 20 74 6f 20 71 75 6f  |Be  sure  to quo|
00000830  74 65 20 61 6e 79 20 63  68 61 72 61 63 74 65 72  |te any character|
00000840  20 74 68 61 74 20 6d 69  67 68 74 20 6f 74 68 65  | that might othe|
00000850  72 77 69 73 65 20 62 65  20 69 6e 74 65 72 2d 0a  |rwise be inter-.|
00000860  20 20 20 20 20 20 20 20  20 20 20 20 20 20 70 72  |              pr|
00000870  65 74 65 64 20 6f 72 20  6d 6f 64 69 66 69 65 64  |eted or modified|
00000880  20 62 79 20 74 68 65 20  6f 70 65 72 61 74 69 6e  | by the operatin|
00000890  67 20 73 79 73 74 65 6d  2c 20 20 70 61 72 74 69  |g system,  parti|
000008a0  63 75 6c 61 72 6c 79 20  20 75 6e 64 65 72 0a 20  |cularly  under. |
000008b0  20 20 20 20 20 20 20 20  20 20 20 20 20 55 6e 69  |             Uni|
000008c0  78 20 20 61 6e 64 20 20  56 4d 53 2e 29 20 20 20  |x  and  VMS.)   |
000008d0  49 66 20 6e 6f 20 6d 61  74 63 68 65 73 20 61 72  |If no matches ar|
000008e0  65 20 66 6f 75 6e 64 2c  20 74 68 65 20 73 70 65  |e found, the spe|
000008f0  63 69 66 69 63 61 74 69  6f 6e 20 69 73 0a 20 20  |cification is.  |
00000900  20 20 20 20 20 20 20 20  20 20 20 20 61 73 73 75  |            assu|
00000910  6d 65 64 20 74 6f 20 62  65 20 61 20 6c 69 74 65  |med to be a lite|
00000920  72 61 6c 20 66 69 6c 65  6e 61 6d 65 3b 20 61 6e  |ral filename; an|
00000930  64 20 69 66 20 74 68 61  74 20 20 61 6c 73 6f 20  |d if that  also |
00000940  20 66 61 69 6c 73 2c 20  20 74 68 65 0a 20 20 20  | fails,  the.   |
00000950  20 20 20 20 20 20 20 20  20 20 20 73 75 66 66 69  |           suffi|
00000960  78 20 20 2e 7a 69 70 20  20 69 73 20 20 61 70 70  |x  .zip  is  app|
00000970  65 6e 64 65 64 2e 20 20  4e 6f 74 65 20 74 68 61  |ended.  Note tha|
00000980  74 20 73 65 6c 66 2d 65  78 74 72 61 63 74 69 6e  |t self-extractin|
00000990  67 20 5a 49 50 20 66 69  6c 65 73 0a 20 20 20 20  |g ZIP files.    |
000009a0  20 20 20 20 20 20 20 20  20 20 61 72 65 20 73 75  |          are su|
000009b0  70 70 6f 72 74 65 64 2c  20 61 73 20 77 69 74 68  |pported, as with|
000009c0  20 61 6e 79 20 6f 74 68  65 72 20 5a 49 50 20 61  | any other ZIP a|
000009d0  72 63 68 69 76 65 3b 20  6a 75 73 74 20 20 73 70  |rchive; just  sp|
000009e0  65 63 69 66 79 20 20 74  68 65 0a 20 20 20 20 20  |ecify  the.     |
000009f0  20 20 20 20 20 20 20 20  20 2e 65 78 65 20 73 75  |         .exe su|
00000a00  66 66 69 78 20 28 69 66  20 61 6e 79 29 20 65 78  |ffix (if any) ex|
00000a10  70 6c 69 63 69 74 6c 79  2e 0a 0a 20 20 20 20 20  |plicitly...     |
00000a20  20 20 5b 66 69 6c 65 28  73 29 5d 0a 20 20 20 20  |  [file(s)].    |
00000a30  20 20 20 20 20 20 20 20  20 20 41 6e 20 20 6f 70  |          An  op|
00000a40  74 69 6f 6e 61 6c 20 20  6c 69 73 74 20 6f 66 20  |tional  list of |
00000a50  61 72 63 68 69 76 65 20  6d 65 6d 62 65 72 73 20  |archive members |
00000a60  74 6f 20 62 65 20 70 72  6f 63 65 73 73 65 64 2c  |to be processed,|
00000a70  20 73 65 70 61 72 61 74  65 64 0a 20 20 20 20 20  | separated.     |
00000a80  20 20 20 20 20 20 20 20  20 62 79 20 73 70 61 63  |         by spac|
00000a90  65 73 2e 20 20 28 56 4d  53 20 76 65 72 73 69 6f  |es.  (VMS versio|
00000aa0  6e 73 20 20 63 6f 6d 70  69 6c 65 64 20 20 77 69  |ns  compiled  wi|
00000ab0  74 68 20 20 56 4d 53 43  4c 49 20 20 64 65 66 69  |th  VMSCLI  defi|
00000ac0  6e 65 64 20 20 6d 75 73  74 0a 20 20 20 20 20 20  |ned  must.      |
00000ad0  20 20 20 20 20 20 20 20  64 65 6c 69 6d 69 74 20  |        delimit |
00000ae0  20 66 69 6c 65 73 20 20  77 69 74 68 20 20 63 6f  | files  with  co|
00000af0  6d 6d 61 73 20 69 6e 73  74 65 61 64 2e 20 20 53  |mmas instead.  S|
00000b00  65 65 20 2d 76 20 69 6e  20 4f 50 54 49 4f 4e 53  |ee -v in OPTIONS|
00000b10  20 62 65 6c 6f 77 2e 29  0a 20 20 20 20 20 20 20  | below.).       |
00000b20  20 20 20 20 20 20 20 52  65 67 75 6c 61 72 20 65  |       Regular e|
00000b30  78 70 72 65 73 73 69 6f  6e 73 20 28 77 69 6c 64  |xpressions (wild|
00000b40  63 61 72 64 73 29 20 6d  61 79 20 62 65 20 75 73  |cards) may be us|
00000b50  65 64 20 20 74 6f 20 20  6d 61 74 63 68 20 20 6d  |ed  to  match  m|
00000b60  75 6c 74 69 70 6c 65 0a  20 20 20 20 20 20 20 20  |ultiple.        |
00000b70  20 20 20 20 20 20 6d 65  6d 62 65 72 73 3b 20 20  |      members;  |
00000b80  73 65 65 20 20 61 62 6f  76 65 2e 20 20 20 41 67  |see  above.   Ag|
00000b90  61 69 6e 2c 20 62 65 20  73 75 72 65 20 74 6f 20  |ain, be sure to |
00000ba0  71 75 6f 74 65 20 65 78  70 72 65 73 73 69 6f 6e  |quote expression|
00000bb0  73 20 74 68 61 74 0a 20  20 20 20 20 20 20 20 20  |s that.         |
00000bc0  20 20 20 20 20 77 6f 75  6c 64 20 6f 74 68 65 72  |     would other|
00000bd0  77 69 73 65 20 62 65 20  65 78 70 61 6e 64 65 64  |wise be expanded|
00000be0  20 6f 72 20 6d 6f 64 69  66 69 65 64 20 62 79 20  | or modified by |
00000bf0  74 68 65 20 6f 70 65 72  61 74 69 6e 67 20 73 79  |the operating sy|
00000c00  73 74 65 6d 2e 0a 0a 20  20 20 20 20 20 20 5b 2d  |stem...       [-|
00000c10  78 20 78 66 69 6c 65 28  73 29 5d 0a 20 20 20 20  |x xfile(s)].    |
00000c20  20 20 20 20 20 20 20 20  20 20 41 6e 20 6f 70 74  |          An opt|
00000c30  69 6f 6e 61 6c 20 6c 69  73 74 20 6f 66 20 61 72  |ional list of ar|
00000c40  63 68 69 76 65 20 6d 65  6d 62 65 72 73 20 74 6f  |chive members to|
00000c50  20 62 65 20 65 78 63 6c  75 64 65 64 20 66 72 6f  | be excluded fro|
00000c60  6d 20 70 72 6f 63 65 73  73 2d 0a 20 20 20 20 20  |m process-.     |
00000c70  20 20 20 20 20 20 20 20  20 69 6e 67 2e 20 20 53  |         ing.  S|
00000c80  69 6e 63 65 20 77 69 6c  64 63 61 72 64 20 63 68  |ince wildcard ch|
00000c90  61 72 61 63 74 65 72 73  20 6e 6f 72 6d 61 6c 6c  |aracters normall|
00000ca0  79 20 6d 61 74 63 68 20  20 28 60 2f 27 29 20 20  |y match  (`/')  |
00000cb0  64 69 72 65 63 74 6f 72  79 0a 20 20 20 20 20 20  |directory.      |
00000cc0  20 20 20 20 20 20 20 20  73 65 70 61 72 61 74 6f  |        separato|
00000cd0  72 73 20 20 28 66 6f 72  20 20 65 78 63 65 70 74  |rs  (for  except|
00000ce0  69 6f 6e 73 20 73 65 65  20 74 68 65 20 6f 70 74  |ions see the opt|
00000cf0  69 6f 6e 20 2d 57 29 2c  20 74 68 69 73 20 6f 70  |ion -W), this op|
00000d00  74 69 6f 6e 20 6d 61 79  0a 20 20 20 20 20 20 20  |tion may.       |
00000d10  20 20 20 20 20 20 20 62  65 20 75 73 65 64 20 74  |       be used t|
00000d20  6f 20 65 78 63 6c 75 64  65 20 61 6e 79 20 66 69  |o exclude any fi|
00000d30  6c 65 73 20 74 68 61 74  20 61 72 65 20 20 69 6e  |les that are  in|
00000d40  20 20 73 75 62 64 69 72  65 63 74 6f 72 69 65 73  |  subdirectories|
00000d50  2e 20 20 20 46 6f 72 0a  20 20 20 20 20 20 20 20  |.   For.        |
00000d60  20 20 20 20 20 20 65 78  61 6d 70 6c 65 2c 20 20  |      example,  |
00000d70  60 60 75 6e 7a 69 70 20  66 6f 6f 20 2a 2e 5b 63  |``unzip foo *.[c|
00000d80  68 5d 20 2d 78 20 2a 2f  2a 27 27 20 77 6f 75 6c  |h] -x */*'' woul|
00000d90  64 20 65 78 74 72 61 63  74 20 61 6c 6c 20 43 20  |d extract all C |
00000da0  73 6f 75 72 63 65 0a 20  20 20 20 20 20 20 20 20  |source.         |
00000db0  20 20 20 20 20 66 69 6c  65 73 20 69 6e 20 74 68  |     files in th|
00000dc0  65 20 6d 61 69 6e 20 64  69 72 65 63 74 6f 72 79  |e main directory|
00000dd0  2c 20 62 75 74 20 20 6e  6f 6e 65 20 20 69 6e 20  |, but  none  in |
00000de0  20 61 6e 79 20 20 73 75  62 64 69 72 65 63 74 6f  | any  subdirecto|
00000df0  72 69 65 73 2e 0a 20 20  20 20 20 20 20 20 20 20  |ries..          |
00000e00  20 20 20 20 57 69 74 68  6f 75 74 20 20 74 68 65  |    Without  the|
00000e10  20 20 2d 78 20 20 6f 70  74 69 6f 6e 2c 20 20 61  |  -x  option,  a|
00000e20  6c 6c 20 43 20 73 6f 75  72 63 65 20 66 69 6c 65  |ll C source file|
00000e30  73 20 69 6e 20 61 6c 6c  20 64 69 72 65 63 74 6f  |s in all directo|
00000e40  72 69 65 73 0a 20 20 20  20 20 20 20 20 20 20 20  |ries.           |
00000e50  20 20 20 77 69 74 68 69  6e 20 74 68 65 20 7a 69  |   within the zi|
00000e60  70 66 69 6c 65 20 77 6f  75 6c 64 20 62 65 20 65  |pfile would be e|
00000e70  78 74 72 61 63 74 65 64  2e 0a 0a 20 20 20 20 20  |xtracted...     |
00000e80  20 20 5b 2d 64 20 65 78  64 69 72 5d 0a 20 20 20  |  [-d exdir].   |
00000e90  20 20 20 20 20 20 20 20  20 20 20 41 6e 20 6f 70  |           An op|
00000ea0  74 69 6f 6e 61 6c 20 64  69 72 65 63 74 6f 72 79  |tional directory|
00000eb0  20 74 6f 20 77 68 69 63  68 20 74 6f 20 65 78 74  | to which to ext|
00000ec0  72 61 63 74 20 20 66 69  6c 65 73 2e 20 20 20 42  |ract  files.   B|
00000ed0  79 20 20 64 65 66 61 75  6c 74 2c 0a 20 20 20 20  |y  default,.    |
00000ee0  20 20 20 20 20 20 20 20  20 20 61 6c 6c 20 66 69  |          all fi|
00000ef0  6c 65 73 20 61 6e 64 20  73 75 62 64 69 72 65 63  |les and subdirec|
00000f00  74 6f 72 69 65 73 20 61  72 65 20 72 65 63 72 65  |tories are recre|
00000f10  61 74 65 64 20 69 6e 20  74 68 65 20 63 75 72 72  |ated in the curr|
00000f20  65 6e 74 20 64 69 72 65  63 2d 0a 20 20 20 20 20  |ent direc-.     |
00000f30  20 20 20 20 20 20 20 20  20 74 6f 72 79 3b 20 74  |         tory; t|
00000f40  68 65 20 2d 64 20 6f 70  74 69 6f 6e 20 61 6c 6c  |he -d option all|
00000f50  6f 77 73 20 65 78 74 72  61 63 74 69 6f 6e 20 69  |ows extraction i|
00000f60  6e 20 61 6e 20 61 72 62  69 74 72 61 72 79 20 20  |n an arbitrary  |
00000f70  64 69 72 65 63 74 6f 72  79 0a 20 20 20 20 20 20  |directory.      |
00000f80  20 20 20 20 20 20 20 20  28 61 6c 77 61 79 73 20  |        (always |
00000f90  20 61 73 73 75 6d 69 6e  67 20 6f 6e 65 20 68 61  | assuming one ha|
00000fa0  73 20 70 65 72 6d 69 73  73 69 6f 6e 20 74 6f 20  |s permission to |
00000fb0  77 72 69 74 65 20 74 6f  20 74 68 65 20 64 69 72  |write to the dir|
00000fc0  65 63 74 6f 72 79 29 2e  0a 20 20 20 20 20 20 20  |ectory)..       |
00000fd0  20 20 20 20 20 20 20 54  68 69 73 20 6f 70 74 69  |       This opti|
00000fe0  6f 6e 20 6e 65 65 64 20  6e 6f 74 20 61 70 70 65  |on need not appe|
00000ff0  61 72 20 61 74 20 74 68  65 20 65 6e 64 20 6f 66  |ar at the end of|
00001000  20 74 68 65 20 63 6f 6d  6d 61 6e 64 20 20 6c 69  | the command  li|
00001010  6e 65 3b 20 20 69 74 0a  20 20 20 20 20 20 20 20  |ne;  it.        |
00001020  20 20 20 20 20 20 69 73  20 61 6c 73 6f 20 61 63  |      is also ac|
00001030  63 65 70 74 65 64 20 62  65 66 6f 72 65 20 74 68  |cepted before th|
00001040  65 20 7a 69 70 66 69 6c  65 20 73 70 65 63 69 66  |e zipfile specif|
00001050  69 63 61 74 69 6f 6e 20  28 77 69 74 68 20 74 68  |ication (with th|
00001060  65 20 6e 6f 72 2d 0a 20  20 20 20 20 20 20 20 20  |e nor-.         |
00001070  20 20 20 20 20 6d 61 6c  20 6f 70 74 69 6f 6e 73  |     mal options|
00001080  29 2c 20 69 6d 6d 65 64  69 61 74 65 6c 79 20 61  |), immediately a|
00001090  66 74 65 72 20 74 68 65  20 20 7a 69 70 66 69 6c  |fter the  zipfil|
000010a0  65 20 20 73 70 65 63 69  66 69 63 61 74 69 6f 6e  |e  specification|
000010b0  2c 20 20 6f 72 0a 20 20  20 20 20 20 20 20 20 20  |,  or.          |
000010c0  20 20 20 20 62 65 74 77  65 65 6e 20 74 68 65 20  |    between the |
000010d0  66 69 6c 65 28 73 29 20  61 6e 64 20 74 68 65 20  |file(s) and the |
000010e0  2d 78 20 6f 70 74 69 6f  6e 2e 20 20 54 68 65 20  |-x option.  The |
000010f0  6f 70 74 69 6f 6e 20 61  6e 64 20 64 69 72 65 63  |option and direc|
00001100  74 6f 72 79 0a 20 20 20  20 20 20 20 20 20 20 20  |tory.           |
00001110  20 20 20 6d 61 79 20 62  65 20 63 6f 6e 63 61 74  |   may be concat|
00001120  65 6e 61 74 65 64 20 77  69 74 68 6f 75 74 20 61  |enated without a|
00001130  6e 79 20 77 68 69 74 65  20 73 70 61 63 65 20 20  |ny white space  |
00001140  62 65 74 77 65 65 6e 20  20 74 68 65 6d 2c 20 20  |between  them,  |
00001150  62 75 74 0a 20 20 20 20  20 20 20 20 20 20 20 20  |but.            |
00001160  20 20 6e 6f 74 65 20 74  68 61 74 20 74 68 69 73  |  note that this|
00001170  20 6d 61 79 20 63 61 75  73 65 20 6e 6f 72 6d 61  | may cause norma|
00001180  6c 20 73 68 65 6c 6c 20  62 65 68 61 76 69 6f 72  |l shell behavior|
00001190  20 74 6f 20 62 65 20 73  75 70 70 72 65 73 73 65  | to be suppresse|
000011a0  64 2e 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |d..             |
000011b0  20 49 6e 20 70 61 72 74  69 63 75 6c 61 72 2c 20  | In particular, |
000011c0  60 60 2d 64 20 7e 27 27  20 28 74 69 6c 64 65 29  |``-d ~'' (tilde)|
000011d0  20 69 73 20 65 78 70 61  6e 64 65 64 20 20 62 79  | is expanded  by|
000011e0  20 20 55 6e 69 78 20 20  43 20 20 73 68 65 6c 6c  |  Unix  C  shell|
000011f0  73 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |s.              |
00001200  69 6e 74 6f 20 20 74 68  65 20 20 6e 61 6d 65 20  |into  the  name |
00001210  20 6f 66 20 20 74 68 65  20 20 75 73 65 72 27 73  | of  the  user's|
00001220  20 20 68 6f 6d 65 20 64  69 72 65 63 74 6f 72 79  |  home directory|
00001230  2c 20 62 75 74 20 60 60  2d 64 7e 27 27 20 69 73  |, but ``-d~'' is|
00001240  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 74  |.              t|
00001250  72 65 61 74 65 64 20 61  73 20 61 20 6c 69 74 65  |reated as a lite|
00001260  72 61 6c 20 73 75 62 64  69 72 65 63 74 6f 72 79  |ral subdirectory|
00001270  20 60 60 7e 27 27 20 6f  66 20 20 74 68 65 20 20  | ``~'' of  the  |
00001280  63 75 72 72 65 6e 74 20  20 64 69 72 65 63 2d 0a  |current  direc-.|
00001290  20 20 20 20 20 20 20 20  20 20 20 20 20 20 74 6f  |              to|
000012a0  72 79 2e 0a 0a 4f 50 54  49 4f 4e 53 0a 20 20 20  |ry...OPTIONS.   |
000012b0  20 20 20 20 4e 6f 74 65  20 20 74 68 61 74 2c 20  |    Note  that, |
000012c0  20 69 6e 20 20 6f 72 64  65 72 20 20 74 6f 20 20  | in  order  to  |
000012d0  73 75 70 70 6f 72 74 20  6f 62 73 6f 6c 65 73 63  |support obsolesc|
000012e0  65 6e 74 20 68 61 72 64  77 61 72 65 2c 20 75 6e  |ent hardware, un|
000012f0  7a 69 70 27 73 20 75 73  61 67 65 0a 20 20 20 20  |zip's usage.    |
00001300  20 20 20 73 63 72 65 65  6e 20 69 73 20 6c 69 6d  |   screen is lim|
00001310  69 74 65 64 20 74 6f 20  32 32 20 6f 72 20 32 33  |ited to 22 or 23|
00001320  20 6c 69 6e 65 73 20 61  6e 64 20 73 68 6f 75 6c  | lines and shoul|
00001330  64 20 74 68 65 72 65 66  6f 72 65 20 62 65 20 20  |d therefore be  |
00001340  63 6f 6e 73 69 64 65 72  65 64 0a 20 20 20 20 20  |considered.     |
00001350  20 20 6f 6e 6c 79 20 20  61 20 20 72 65 6d 69 6e  |  only  a  remin|
00001360  64 65 72 20 20 6f 66 20  20 74 68 65 20 62 61 73  |der  of  the bas|
00001370  69 63 20 75 6e 7a 69 70  20 73 79 6e 74 61 78 20  |ic unzip syntax |
00001380  72 61 74 68 65 72 20 74  68 61 6e 20 61 6e 20 65  |rather than an e|
00001390  78 68 61 75 73 74 69 76  65 0a 20 20 20 20 20 20  |xhaustive.      |
000013a0  20 6c 69 73 74 20 6f 66  20 61 6c 6c 20 70 6f 73  | list of all pos|
000013b0  73 69 62 6c 65 20 66 6c  61 67 73 2e 20 20 54 68  |sible flags.  Th|
000013c0  65 20 65 78 68 61 75 73  74 69 76 65 20 6c 69 73  |e exhaustive lis|
000013d0  74 20 66 6f 6c 6c 6f 77  73 3a 0a 0a 20 20 20 20  |t follows:..    |
000013e0  20 20 20 2d 5a 20 20 20  20 20 7a 69 70 69 6e 66  |   -Z     zipinf|
000013f0  6f 28 31 4c 29 20 6d 6f  64 65 2e 20 20 49 66 20  |o(1L) mode.  If |
00001400  74 68 65 20 66 69 72 73  74 20 6f 70 74 69 6f 6e  |the first option|
00001410  20 6f 6e 20 74 68 65 20  20 63 6f 6d 6d 61 6e 64  | on the  command|
00001420  20 20 6c 69 6e 65 20 20  69 73 0a 20 20 20 20 20  |  line  is.     |
00001430  20 20 20 20 20 20 20 20  20 2d 5a 2c 20 20 74 68  |         -Z,  th|
00001440  65 20 20 72 65 6d 61 69  6e 69 6e 67 20 6f 70 74  |e  remaining opt|
00001450  69 6f 6e 73 20 61 72 65  20 74 61 6b 65 6e 20 74  |ions are taken t|
00001460  6f 20 62 65 20 7a 69 70  69 6e 66 6f 28 31 4c 29  |o be zipinfo(1L)|
00001470  20 6f 70 74 69 6f 6e 73  2e 0a 20 20 20 20 20 20  | options..      |
00001480  20 20 20 20 20 20 20 20  53 65 65 20 74 68 65 20  |        See the |
00001490  61 70 70 72 6f 70 72 69  61 74 65 20 6d 61 6e 75  |appropriate manu|
000014a0  61 6c 20 20 70 61 67 65  20 20 66 6f 72 20 20 61  |al  page  for  a|
000014b0  20 20 64 65 73 63 72 69  70 74 69 6f 6e 20 20 6f  |  description  o|
000014c0  66 20 20 74 68 65 73 65  0a 20 20 20 20 20 20 20  |f  these.       |
000014d0  20 20 20 20 20 20 20 6f  70 74 69 6f 6e 73 2e 0a  |       options..|
000014e0  0a 20 20 20 20 20 20 20  2d 41 20 20 20 20 20 5b  |.       -A     [|
000014f0  4f 53 2f 32 2c 20 20 55  6e 69 78 20 20 44 4c 4c  |OS/2,  Unix  DLL|
00001500  5d 20 70 72 69 6e 74 20  65 78 74 65 6e 64 65 64  |] print extended|
00001510  20 68 65 6c 70 20 66 6f  72 20 74 68 65 20 44 4c  | help for the DL|
00001520  4c 27 73 20 70 72 6f 67  72 61 6d 6d 69 6e 67 0a  |L's programming.|
00001530  20 20 20 20 20 20 20 20  20 20 20 20 20 20 69 6e  |              in|
00001540  74 65 72 66 61 63 65 20  28 41 50 49 29 2e 0a 0a  |terface (API)...|
00001550  20 20 20 20 20 20 20 2d  63 20 20 20 20 20 65 78  |       -c     ex|
00001560  74 72 61 63 74 20 66 69  6c 65 73 20 74 6f 20 73  |tract files to s|
00001570  74 64 6f 75 74 2f 73 63  72 65 65 6e 20 28 60 60  |tdout/screen (``|
00001580  43 52 54 27 27 29 2e 20  20 54 68 69 73 20 6f 70  |CRT'').  This op|
00001590  74 69 6f 6e 20 69 73 20  20 73 69 6d 69 2d 0a 20  |tion is  simi-. |
000015a0  20 20 20 20 20 20 20 20  20 20 20 20 20 6c 61 72  |             lar|
000015b0  20 20 74 6f 20 20 74 68  65 20 20 2d 70 20 20 6f  |  to  the  -p  o|
000015c0  70 74 69 6f 6e 20 20 65  78 63 65 70 74 20 20 74  |ption  except  t|
000015d0  68 61 74 20 20 74 68 65  20 6e 61 6d 65 20 6f 66  |hat  the name of|
000015e0  20 65 61 63 68 20 66 69  6c 65 20 69 73 0a 20 20  | each file is.  |
000015f0  20 20 20 20 20 20 20 20  20 20 20 20 70 72 69 6e  |            prin|
00001600  74 65 64 20 61 73 20 69  74 20 69 73 20 65 78 74  |ted as it is ext|
00001610  72 61 63 74 65 64 2c 20  74 68 65 20 2d 61 20 6f  |racted, the -a o|
00001620  70 74 69 6f 6e 20 69 73  20 61 6c 6c 6f 77 65 64  |ption is allowed|
00001630  2c 20 61 6e 64 20 41 53  43 49 49 2d 0a 20 20 20  |, and ASCII-.   |
00001640  20 20 20 20 20 20 20 20  20 20 20 45 42 43 44 49  |           EBCDI|
00001650  43 20 20 63 6f 6e 76 65  72 73 69 6f 6e 20 20 69  |C  conversion  i|
00001660  73 20 20 61 75 74 6f 6d  61 74 69 63 61 6c 6c 79  |s  automatically|
00001670  20 20 70 65 72 66 6f 72  6d 65 64 20 69 66 20 61  |  performed if a|
00001680  70 70 72 6f 70 72 69 61  74 65 2e 0a 20 20 20 20  |ppropriate..    |
00001690  20 20 20 20 20 20 20 20  20 20 54 68 69 73 20 6f  |          This o|
000016a0  70 74 69 6f 6e 20 69 73  20 6e 6f 74 20 6c 69 73  |ption is not lis|
000016b0  74 65 64 20 69 6e 20 74  68 65 20 75 6e 7a 69 70  |ted in the unzip|
000016c0  20 75 73 61 67 65 20 73  63 72 65 65 6e 2e 0a 0a  | usage screen...|
000016d0  20 20 20 20 20 20 20 2d  66 20 20 20 20 20 66 72  |       -f     fr|
000016e0  65 73 68 65 6e 20 65 78  69 73 74 69 6e 67 20 66  |eshen existing f|
000016f0  69 6c 65 73 2c 20 69 2e  65 2e 2c 20 20 65 78 74  |iles, i.e.,  ext|
00001700  72 61 63 74 20 20 6f 6e  6c 79 20 20 74 68 6f 73  |ract  only  thos|
00001710  65 20 20 66 69 6c 65 73  20 20 74 68 61 74 0a 20  |e  files  that. |
00001720  20 20 20 20 20 20 20 20  20 20 20 20 20 61 6c 72  |             alr|
00001730  65 61 64 79 20 20 65 78  69 73 74 20 20 6f 6e 20  |eady  exist  on |
00001740  64 69 73 6b 20 61 6e 64  20 74 68 61 74 20 61 72  |disk and that ar|
00001750  65 20 6e 65 77 65 72 20  74 68 61 6e 20 74 68 65  |e newer than the|
00001760  20 64 69 73 6b 20 63 6f  70 69 65 73 2e 0a 20 20  | disk copies..  |
00001770  20 20 20 20 20 20 20 20  20 20 20 20 42 79 20 64  |            By d|
00001780  65 66 61 75 6c 74 20 75  6e 7a 69 70 20 71 75 65  |efault unzip que|
00001790  72 69 65 73 20 62 65 66  6f 72 65 20 6f 76 65 72  |ries before over|
000017a0  77 72 69 74 69 6e 67 2c  20 62 75 74 20 74 68 65  |writing, but the|
000017b0  20 20 2d 6f 20 20 6f 70  74 69 6f 6e 0a 20 20 20  |  -o  option.   |
000017c0  20 20 20 20 20 20 20 20  20 20 20 6d 61 79 20 62  |           may b|
000017d0  65 20 75 73 65 64 20 74  6f 20 73 75 70 70 72 65  |e used to suppre|
000017e0  73 73 20 74 68 65 20 71  75 65 72 69 65 73 2e 20  |ss the queries. |
000017f0  20 4e 6f 74 65 20 74 68  61 74 20 75 6e 64 65 72  | Note that under|
00001800  20 6d 61 6e 79 20 6f 70  65 72 2d 0a 20 20 20 20  | many oper-.    |
00001810  20 20 20 20 20 20 20 20  20 20 61 74 69 6e 67 20  |          ating |
00001820  73 79 73 74 65 6d 73 2c  20 74 68 65 20 54 5a 20  |systems, the TZ |
00001830  28 74 69 6d 65 7a 6f 6e  65 29 20 65 6e 76 69 72  |(timezone) envir|
00001840  6f 6e 6d 65 6e 74 20 20  76 61 72 69 61 62 6c 65  |onment  variable|
00001850  20 20 6d 75 73 74 20 20  62 65 0a 20 20 20 20 20  |  must  be.     |
00001860  20 20 20 20 20 20 20 20  20 73 65 74 20 20 63 6f  |         set  co|
00001870  72 72 65 63 74 6c 79 20  20 69 6e 20 20 6f 72 64  |rrectly  in  ord|
00001880  65 72 20 20 66 6f 72 20  2d 66 20 61 6e 64 20 2d  |er  for -f and -|
00001890  75 20 74 6f 20 77 6f 72  6b 20 70 72 6f 70 65 72  |u to work proper|
000018a0  6c 79 20 28 75 6e 64 65  72 0a 20 20 20 20 20 20  |ly (under.      |
000018b0  20 20 20 20 20 20 20 20  55 6e 69 78 20 74 68 65  |        Unix the|
000018c0  20 76 61 72 69 61 62 6c  65 20 69 73 20 75 73 75  | variable is usu|
000018d0  61 6c 6c 79 20 73 65 74  20 20 61 75 74 6f 6d 61  |ally set  automa|
000018e0  74 69 63 61 6c 6c 79 29  2e 20 20 20 54 68 65 20  |tically).   The |
000018f0  20 72 65 61 73 6f 6e 73  0a 20 20 20 20 20 20 20  | reasons.       |
00001900  20 20 20 20 20 20 20 66  6f 72 20 74 68 69 73 20  |       for this |
00001910  61 72 65 20 73 6f 6d 65  77 68 61 74 20 73 75 62  |are somewhat sub|
00001920  74 6c 65 20 62 75 74 20  68 61 76 65 20 74 6f 20  |tle but have to |
00001930  64 6f 20 77 69 74 68 20  74 68 65 20 64 69 66 66  |do with the diff|
00001940  65 72 65 6e 63 65 73 0a  20 20 20 20 20 20 20 20  |erences.        |
00001950  20 20 20 20 20 20 62 65  74 77 65 65 6e 20 44 4f  |      between DO|
00001960  53 2d 66 6f 72 6d 61 74  20 66 69 6c 65 20 74 69  |S-format file ti|
00001970  6d 65 73 20 28 61 6c 77  61 79 73 20 6c 6f 63 61  |mes (always loca|
00001980  6c 20 74 69 6d 65 29 20  61 6e 64 20 20 55 6e 69  |l time) and  Uni|
00001990  78 2d 66 6f 72 2d 0a 20  20 20 20 20 20 20 20 20  |x-for-.         |
000019a0  20 20 20 20 20 6d 61 74  20 20 74 69 6d 65 73 20  |     mat  times |
000019b0  20 28 61 6c 77 61 79 73  20 69 6e 20 47 4d 54 2f  | (always in GMT/|
000019c0  55 54 43 29 20 61 6e 64  20 74 68 65 20 6e 65 63  |UTC) and the nec|
000019d0  65 73 73 69 74 79 20 74  6f 20 63 6f 6d 70 61 72  |essity to compar|
000019e0  65 20 74 68 65 0a 20 20  20 20 20 20 20 20 20 20  |e the.          |
000019f0  20 20 20 20 74 77 6f 2e  20 20 41 20 74 79 70 69  |    two.  A typi|
00001a00  63 61 6c 20 54 5a 20 76  61 6c 75 65 20 69 73 20  |cal TZ value is |
00001a10  60 60 50 53 54 38 50 44  54 27 27 20 28 55 53 20  |``PST8PDT'' (US |
00001a20  20 50 61 63 69 66 69 63  20 20 74 69 6d 65 20 20  | Pacific  time  |
00001a30  77 69 74 68 0a 20 20 20  20 20 20 20 20 20 20 20  |with.           |
00001a40  20 20 20 61 75 74 6f 6d  61 74 69 63 20 20 61 64  |   automatic  ad|
00001a50  6a 75 73 74 6d 65 6e 74  20 20 66 6f 72 20 20 44  |justment  for  D|
00001a60  61 79 6c 69 67 68 74 20  20 53 61 76 69 6e 67 73  |aylight  Savings|
00001a70  20 20 54 69 6d 65 20 20  6f 72 20 60 60 73 75 6d  |  Time  or ``sum|
00001a80  6d 65 72 0a 20 20 20 20  20 20 20 20 20 20 20 20  |mer.            |
00001a90  20 20 74 69 6d 65 27 27  29 2e 0a 0a 20 20 20 20  |  time'')...    |
00001aa0  20 20 20 2d 6c 20 20 20  20 20 6c 69 73 74 20 61  |   -l     list a|
00001ab0  72 63 68 69 76 65 20 66  69 6c 65 73 20 28 73 68  |rchive files (sh|
00001ac0  6f 72 74 20 66 6f 72 6d  61 74 29 2e 20 20 54 68  |ort format).  Th|
00001ad0  65 20 6e 61 6d 65 73 2c  20 75 6e 63 6f 6d 70 72  |e names, uncompr|
00001ae0  65 73 73 65 64 20 66 69  6c 65 0a 20 20 20 20 20  |essed file.     |
00001af0  20 20 20 20 20 20 20 20  20 73 69 7a 65 73 20 20  |         sizes  |
00001b00  61 6e 64 20 20 6d 6f 64  69 66 69 63 61 74 69 6f  |and  modificatio|
00001b10  6e 20 20 64 61 74 65 73  20 61 6e 64 20 74 69 6d  |n  dates and tim|
00001b20  65 73 20 6f 66 20 74 68  65 20 73 70 65 63 69 66  |es of the specif|
00001b30  69 65 64 20 66 69 6c 65  73 0a 20 20 20 20 20 20  |ied files.      |
00001b40  20 20 20 20 20 20 20 20  61 72 65 20 70 72 69 6e  |        are prin|
00001b50  74 65 64 2c 20 61 6c 6f  6e 67 20 77 69 74 68 20  |ted, along with |
00001b60  74 6f 74 61 6c 73 20 20  66 6f 72 20 20 61 6c 6c  |totals  for  all|
00001b70  20 20 66 69 6c 65 73 20  20 73 70 65 63 69 66 69  |  files  specifi|
00001b80  65 64 2e 20 20 20 49 66  0a 20 20 20 20 20 20 20  |ed.   If.       |
00001b90  20 20 20 20 20 20 20 55  6e 5a 69 70 20 20 77 61  |       UnZip  wa|
00001ba0  73 20 20 63 6f 6d 70 69  6c 65 64 20 20 77 69 74  |s  compiled  wit|
00001bb0  68 20 20 4f 53 32 5f 45  41 53 20 20 64 65 66 69  |h  OS2_EAS  defi|
00001bc0  6e 65 64 2c 20 74 68 65  20 2d 6c 20 6f 70 74 69  |ned, the -l opti|
00001bd0  6f 6e 20 61 6c 73 6f 0a  20 20 20 20 20 20 20 20  |on also.        |
00001be0  20 20 20 20 20 20 6c 69  73 74 73 20 63 6f 6c 75  |      lists colu|
00001bf0  6d 6e 73 20 66 6f 72 20  74 68 65 20 73 69 7a 65  |mns for the size|
00001c00  73 20 6f 66 20 73 74 6f  72 65 64 20 4f 53 2f 32  |s of stored OS/2|
00001c10  20 20 65 78 74 65 6e 64  65 64 20 20 61 74 74 72  |  extended  attr|
00001c20  69 62 75 74 65 73 0a 20  20 20 20 20 20 20 20 20  |ibutes.         |
00001c30  20 20 20 20 20 28 45 41  73 29 20 20 61 6e 64 20  |     (EAs)  and |
00001c40  20 4f 53 2f 32 20 20 61  63 63 65 73 73 20 63 6f  | OS/2  access co|
00001c50  6e 74 72 6f 6c 20 6c 69  73 74 73 20 28 41 43 4c  |ntrol lists (ACL|
00001c60  73 29 2e 20 20 49 6e 20  61 64 64 69 74 69 6f 6e  |s).  In addition|
00001c70  2c 20 74 68 65 0a 20 20  20 20 20 20 20 20 20 20  |, the.          |
00001c80  20 20 20 20 7a 69 70 66  69 6c 65 20 63 6f 6d 6d  |    zipfile comm|
00001c90  65 6e 74 20 61 6e 64 20  69 6e 64 69 76 69 64 75  |ent and individu|
00001ca0  61 6c 20 66 69 6c 65 20  63 6f 6d 6d 65 6e 74 73  |al file comments|
00001cb0  20 28 69 66 20 61 6e 79  29 20 20 61 72 65 20 20  | (if any)  are  |
00001cc0  64 69 73 2d 0a 20 20 20  20 20 20 20 20 20 20 20  |dis-.           |
00001cd0  20 20 20 70 6c 61 79 65  64 2e 20 20 20 49 66 20  |   played.   If |
00001ce0  20 61 20 66 69 6c 65 20  77 61 73 20 61 72 63 68  | a file was arch|
00001cf0  69 76 65 64 20 66 72 6f  6d 20 61 20 73 69 6e 67  |ived from a sing|
00001d00  6c 65 2d 63 61 73 65 20  66 69 6c 65 20 73 79 73  |le-case file sys|
00001d10  74 65 6d 0a 20 20 20 20  20 20 20 20 20 20 20 20  |tem.            |
00001d20  20 20 28 66 6f 72 20 65  78 61 6d 70 6c 65 2c 20  |  (for example, |
00001d30  74 68 65 20 6f 6c 64 20  4d 53 2d 44 4f 53 20 46  |the old MS-DOS F|
00001d40  41 54 20 66 69 6c 65 20  73 79 73 74 65 6d 29 20  |AT file system) |
00001d50  61 6e 64 20 74 68 65 20  2d 4c 20 20 6f 70 74 69  |and the -L  opti|
00001d60  6f 6e 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |on.             |
00001d70  20 77 61 73 20 20 67 69  76 65 6e 2c 20 20 74 68  | was  given,  th|
00001d80  65 20 20 66 69 6c 65 6e  61 6d 65 20 69 73 20 63  |e  filename is c|
00001d90  6f 6e 76 65 72 74 65 64  20 74 6f 20 6c 6f 77 65  |onverted to lowe|
00001da0  72 63 61 73 65 20 61 6e  64 20 69 73 20 70 72 65  |rcase and is pre|
00001db0  2d 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |-.              |
00001dc0  66 69 78 65 64 20 77 69  74 68 20 61 20 63 61 72  |fixed with a car|
00001dd0  65 74 20 28 5e 29 2e 0a  0a 20 20 20 20 20 20 20  |et (^)...       |
00001de0  2d 70 20 20 20 20 20 65  78 74 72 61 63 74 20 66  |-p     extract f|
00001df0  69 6c 65 73 20 74 6f 20  70 69 70 65 20 28 73 74  |iles to pipe (st|
00001e00  64 6f 75 74 29 2e 20 20  4e 6f 74 68 69 6e 67 20  |dout).  Nothing |
00001e10  62 75 74 20 74 68 65 20  20 66 69 6c 65 20 20 64  |but the  file  d|
00001e20  61 74 61 20 20 69 73 0a  20 20 20 20 20 20 20 20  |ata  is.        |
00001e30  20 20 20 20 20 20 73 65  6e 74 20 20 74 6f 20 20  |      sent  to  |
00001e40  73 74 64 6f 75 74 2c 20  20 61 6e 64 20 20 74 68  |stdout,  and  th|
00001e50  65 20 66 69 6c 65 73 20  61 72 65 20 61 6c 77 61  |e files are alwa|
00001e60  79 73 20 65 78 74 72 61  63 74 65 64 20 69 6e 20  |ys extracted in |
00001e70  62 69 6e 61 72 79 0a 20  20 20 20 20 20 20 20 20  |binary.         |
00001e80  20 20 20 20 20 66 6f 72  6d 61 74 2c 20 6a 75 73  |     format, jus|
00001e90  74 20 61 73 20 74 68 65  79 20 61 72 65 20 73 74  |t as they are st|
00001ea0  6f 72 65 64 20 28 6e 6f  20 63 6f 6e 76 65 72 73  |ored (no convers|
00001eb0  69 6f 6e 73 29 2e 0a 0a  20 20 20 20 20 20 20 2d  |ions)...       -|
00001ec0  74 20 20 20 20 20 74 65  73 74 20 61 72 63 68 69  |t     test archi|
00001ed0  76 65 20 66 69 6c 65 73  2e 20 20 54 68 69 73 20  |ve files.  This |
00001ee0  6f 70 74 69 6f 6e 20 65  78 74 72 61 63 74 73 20  |option extracts |
00001ef0  65 61 63 68 20 73 70 65  63 69 66 69 65 64 20 66  |each specified f|
00001f00  69 6c 65 20 69 6e 0a 20  20 20 20 20 20 20 20 20  |ile in.         |
00001f10  20 20 20 20 20 6d 65 6d  6f 72 79 20 20 61 6e 64  |     memory  and|
00001f20  20 20 63 6f 6d 70 61 72  65 73 20 20 74 68 65 20  |  compares  the |
00001f30  20 43 52 43 20 20 28 63  79 63 6c 69 63 20 20 72  | CRC  (cyclic  r|
00001f40  65 64 75 6e 64 61 6e 63  79 20 20 63 68 65 63 6b  |edundancy  check|
00001f50  2c 20 20 61 6e 0a 20 20  20 20 20 20 20 20 20 20  |,  an.          |
00001f60  20 20 20 20 65 6e 68 61  6e 63 65 64 20 63 68 65  |    enhanced che|
00001f70  63 6b 73 75 6d 29 20 6f  66 20 74 68 65 20 65 78  |cksum) of the ex|
00001f80  70 61 6e 64 65 64 20 66  69 6c 65 20 77 69 74 68  |panded file with|
00001f90  20 74 68 65 20 6f 72 69  67 69 6e 61 6c 20 66 69  | the original fi|
00001fa0  6c 65 27 73 0a 20 20 20  20 20 20 20 20 20 20 20  |le's.           |
00001fb0  20 20 20 73 74 6f 72 65  64 20 43 52 43 20 76 61  |   stored CRC va|
00001fc0  6c 75 65 2e 0a 0a 20 20  20 20 20 20 20 2d 54 20  |lue...       -T |
00001fd0  20 20 20 20 5b 6d 6f 73  74 20 20 4f 53 65 73 5d  |    [most  OSes]|
00001fe0  20 20 73 65 74 20 74 68  65 20 74 69 6d 65 73 74  |  set the timest|
00001ff0  61 6d 70 20 6f 6e 20 74  68 65 20 61 72 63 68 69  |amp on the archi|
00002000  76 65 28 73 29 20 74 6f  20 74 68 61 74 20 6f 66  |ve(s) to that of|
00002010  20 74 68 65 0a 20 20 20  20 20 20 20 20 20 20 20  | the.           |
00002020  20 20 20 6e 65 77 65 73  74 20 66 69 6c 65 20 69  |   newest file i|
00002030  6e 20 65 61 63 68 20 6f  6e 65 2e 20 20 54 68 69  |n each one.  Thi|
00002040  73 20 63 6f 72 72 65 73  70 6f 6e 64 73 20 74 6f  |s corresponds to|
00002050  20 7a 69 70 27 73 20 20  2d 67 6f 20 20 6f 70 74  | zip's  -go  opt|
00002060  69 6f 6e 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ion.            |
00002070  20 20 65 78 63 65 70 74  20 20 74 68 61 74 20 20  |  except  that  |
00002080  69 74 20 63 61 6e 20 62  65 20 75 73 65 64 20 6f  |it can be used o|
00002090  6e 20 77 69 6c 64 63 61  72 64 20 7a 69 70 66 69  |n wildcard zipfi|
000020a0  6c 65 73 20 28 65 2e 67  2e 2c 20 60 60 75 6e 7a  |les (e.g., ``unz|
000020b0  69 70 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |ip.             |
000020c0  20 2d 54 20 5c 2a 2e 7a  69 70 27 27 29 20 61 6e  | -T \*.zip'') an|
000020d0  64 20 69 73 20 6d 75 63  68 20 66 61 73 74 65 72  |d is much faster|
000020e0  2e 0a 0a 20 20 20 20 20  20 20 2d 75 20 20 20 20  |...       -u    |
000020f0  20 75 70 64 61 74 65 20  65 78 69 73 74 69 6e 67  | update existing|
00002100  20 66 69 6c 65 73 20 61  6e 64 20 20 63 72 65 61  | files and  crea|
00002110  74 65 20 20 6e 65 77 20  20 6f 6e 65 73 20 20 69  |te  new  ones  i|
00002120  66 20 20 6e 65 65 64 65  64 2e 20 20 20 54 68 69  |f  needed.   Thi|
00002130  73 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |s.              |
00002140  6f 70 74 69 6f 6e 20 20  70 65 72 66 6f 72 6d 73  |option  performs|
00002150  20 20 74 68 65 20 73 61  6d 65 20 66 75 6e 63 74  |  the same funct|
00002160  69 6f 6e 20 61 73 20 74  68 65 20 2d 66 20 6f 70  |ion as the -f op|
00002170  74 69 6f 6e 2c 20 65 78  74 72 61 63 74 69 6e 67  |tion, extracting|
00002180  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 28  |.              (|
00002190  77 69 74 68 20 71 75 65  72 79 29 20 66 69 6c 65  |with query) file|
000021a0  73 20 74 68 61 74 20 61  72 65 20 6e 65 77 65 72  |s that are newer|
000021b0  20 74 68 61 6e 20 74 68  6f 73 65 20 77 69 74 68  | than those with|
000021c0  20 74 68 65 20 73 61 6d  65 20 20 6e 61 6d 65 0a  | the same  name.|
000021d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 6f 6e  |              on|
000021e0  20 20 64 69 73 6b 2c 20  20 61 6e 64 20 20 69 6e  |  disk,  and  in|
000021f0  20 20 61 64 64 69 74 69  6f 6e 20 69 74 20 65 78  |  addition it ex|
00002200  74 72 61 63 74 73 20 74  68 6f 73 65 20 66 69 6c  |tracts those fil|
00002210  65 73 20 74 68 61 74 20  64 6f 20 6e 6f 74 0a 20  |es that do not. |
00002220  20 20 20 20 20 20 20 20  20 20 20 20 20 61 6c 72  |             alr|
00002230  65 61 64 79 20 65 78 69  73 74 20 6f 6e 20 64 69  |eady exist on di|
00002240  73 6b 2e 20 20 53 65 65  20 2d 66 20 61 62 6f 76  |sk.  See -f abov|
00002250  65 20 66 6f 72 20 69 6e  66 6f 72 6d 61 74 69 6f  |e for informatio|
00002260  6e 20 6f 6e 20 20 73 65  74 74 69 6e 67 0a 20 20  |n on  setting.  |
00002270  20 20 20 20 20 20 20 20  20 20 20 20 74 68 65 20  |            the |
00002280  74 69 6d 65 7a 6f 6e 65  20 70 72 6f 70 65 72 6c  |timezone properl|
00002290  79 2e 0a 0a 20 20 20 20  20 20 20 2d 76 20 20 20  |y...       -v   |
000022a0  20 20 6c 69 73 74 20 20  61 72 63 68 69 76 65 20  |  list  archive |
000022b0  20 66 69 6c 65 73 20 28  76 65 72 62 6f 73 65 20  | files (verbose |
000022c0  66 6f 72 6d 61 74 29 20  6f 72 20 73 68 6f 77 20  |format) or show |
000022d0  64 69 61 67 6e 6f 73 74  69 63 20 76 65 72 73 69  |diagnostic versi|
000022e0  6f 6e 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |on.             |
000022f0  20 69 6e 66 6f 2e 20 20  54 68 69 73 20 6f 70 74  | info.  This opt|
00002300  69 6f 6e 20 68 61 73 20  65 76 6f 6c 76 65 64 20  |ion has evolved |
00002310  61 6e 64 20 6e 6f 77 20  62 65 68 61 76 65 73 20  |and now behaves |
00002320  61 73 20 62 6f 74 68 20  61 6e 20 6f 70 74 69 6f  |as both an optio|
00002330  6e 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |n.              |
00002340  61 6e 64 20 20 61 20 6d  6f 64 69 66 69 65 72 2e  |and  a modifier.|
00002350  20 20 41 73 20 61 6e 20  6f 70 74 69 6f 6e 20 69  |  As an option i|
00002360  74 20 68 61 73 20 74 77  6f 20 70 75 72 70 6f 73  |t has two purpos|
00002370  65 73 3a 20 20 77 68 65  6e 20 61 20 7a 69 70 2d  |es:  when a zip-|
00002380  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 66  |.              f|
00002390  69 6c 65 20 69 73 20 73  70 65 63 69 66 69 65 64  |ile is specified|
000023a0  20 77 69 74 68 20 6e 6f  20 6f 74 68 65 72 20 6f  | with no other o|
000023b0  70 74 69 6f 6e 73 2c 20  2d 76 20 6c 69 73 74 73  |ptions, -v lists|
000023c0  20 61 72 63 68 69 76 65  20 20 66 69 6c 65 73 0a  | archive  files.|
000023d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 76 65  |              ve|
000023e0  72 62 6f 73 65 6c 79 2c  20 20 61 64 64 69 6e 67  |rbosely,  adding|
000023f0  20 20 74 6f 20 74 68 65  20 62 61 73 69 63 20 2d  |  to the basic -|
00002400  6c 20 69 6e 66 6f 20 74  68 65 20 63 6f 6d 70 72  |l info the compr|
00002410  65 73 73 69 6f 6e 20 6d  65 74 68 6f 64 2c 0a 20  |ession method,. |
00002420  20 20 20 20 20 20 20 20  20 20 20 20 20 63 6f 6d  |             com|
00002430  70 72 65 73 73 65 64 20  73 69 7a 65 2c 20 63 6f  |pressed size, co|
00002440  6d 70 72 65 73 73 69 6f  6e 20 72 61 74 69 6f 20  |mpression ratio |
00002450  61 6e 64 20 33 32 2d 62  69 74 20 43 52 43 2e 20  |and 32-bit CRC. |
00002460  20 49 6e 20 20 63 6f 6e  74 72 61 73 74 0a 20 20  | In  contrast.  |
00002470  20 20 20 20 20 20 20 20  20 20 20 20 74 6f 20 20  |            to  |
00002480  6d 6f 73 74 20 20 6f 66  20 74 68 65 20 63 6f 6d  |most  of the com|
00002490  70 65 74 69 6e 67 20 75  74 69 6c 69 74 69 65 73  |peting utilities|
000024a0  2c 20 75 6e 7a 69 70 20  72 65 6d 6f 76 65 73 20  |, unzip removes |
000024b0  74 68 65 20 31 32 20 61  64 64 69 2d 0a 20 20 20  |the 12 addi-.   |
000024c0  20 20 20 20 20 20 20 20  20 20 20 74 69 6f 6e 61  |           tiona|
000024d0  6c 20 68 65 61 64 65 72  20 62 79 74 65 73 20 6f  |l header bytes o|
000024e0  66 20 65 6e 63 72 79 70  74 65 64 20 20 65 6e 74  |f encrypted  ent|
000024f0  72 69 65 73 20 20 66 72  6f 6d 20 20 74 68 65 20  |ries  from  the |
00002500  20 63 6f 6d 70 72 65 73  73 65 64 0a 20 20 20 20  | compressed.    |
00002510  20 20 20 20 20 20 20 20  20 20 73 69 7a 65 20 20  |          size  |
00002520  6e 75 6d 62 65 72 73 2e  20 20 54 68 65 72 65 66  |numbers.  Theref|
00002530  6f 72 65 2c 20 63 6f 6d  70 72 65 73 73 65 64 20  |ore, compressed |
00002540  73 69 7a 65 20 61 6e 64  20 63 6f 6d 70 72 65 73  |size and compres|
00002550  73 69 6f 6e 20 72 61 74  69 6f 0a 20 20 20 20 20  |sion ratio.     |
00002560  20 20 20 20 20 20 20 20  20 66 69 67 75 72 65 73  |         figures|
00002570  20 61 72 65 20 69 6e 64  65 70 65 6e 64 65 6e 74  | are independent|
00002580  20 6f 66 20 74 68 65 20  20 65 6e 74 72 79 27 73  | of the  entry's|
00002590  20 20 65 6e 63 72 79 70  74 69 6f 6e 20 20 73 74  |  encryption  st|
000025a0  61 74 75 73 20 20 61 6e  64 0a 20 20 20 20 20 20  |atus  and.      |
000025b0  20 20 20 20 20 20 20 20  73 68 6f 77 20 74 68 65  |        show the|
000025c0  20 63 6f 72 72 65 63 74  20 63 6f 6d 70 72 65 73  | correct compres|
000025d0  73 69 6f 6e 20 70 65 72  66 6f 72 6d 61 6e 63 65  |sion performance|
000025e0  2e 20 20 28 54 68 65 20  63 6f 6d 70 6c 65 74 65  |.  (The complete|
000025f0  20 73 69 7a 65 20 6f 66  0a 20 20 20 20 20 20 20  | size of.       |
00002600  20 20 20 20 20 20 20 74  68 65 20 65 6e 63 72 79  |       the encry|
00002610  70 74 65 64 20 63 6f 6d  70 72 65 73 73 65 64 20  |pted compressed |
00002620  64 61 74 61 20 20 73 74  72 65 61 6d 20 20 66 6f  |data  stream  fo|
00002630  72 20 20 7a 69 70 66 69  6c 65 20 20 65 6e 74 72  |r  zipfile  entr|
00002640  69 65 73 20 20 69 73 0a  20 20 20 20 20 20 20 20  |ies  is.        |
00002650  20 20 20 20 20 20 72 65  70 6f 72 74 65 64 20 20  |      reported  |
00002660  62 79 20 74 68 65 20 6d  6f 72 65 20 76 65 72 62  |by the more verb|
00002670  6f 73 65 20 7a 69 70 69  6e 66 6f 28 31 4c 29 20  |ose zipinfo(1L) |
00002680  72 65 70 6f 72 74 73 2c  20 73 65 65 20 74 68 65  |reports, see the|
00002690  20 73 65 70 61 2d 0a 20  20 20 20 20 20 20 20 20  | sepa-.         |
000026a0  20 20 20 20 20 72 61 74  65 20 6d 61 6e 75 61 6c  |     rate manual|
000026b0  2e 29 20 20 57 68 65 6e  20 6e 6f 20 7a 69 70 66  |.)  When no zipf|
000026c0  69 6c 65 20 69 73 20 73  70 65 63 69 66 69 65 64  |ile is specified|
000026d0  20 28 74 68 61 74 20 69  73 2c 20 20 74 68 65 20  | (that is,  the |
000026e0  20 63 6f 6d 2d 0a 20 20  20 20 20 20 20 20 20 20  | com-.          |
000026f0  20 20 20 20 70 6c 65 74  65 20 20 63 6f 6d 6d 61  |    plete  comma|
00002700  6e 64 20 20 69 73 20 20  73 69 6d 70 6c 79 20 60  |nd  is  simply `|
00002710  60 75 6e 7a 69 70 20 2d  76 27 27 29 2c 20 61 20  |`unzip -v''), a |
00002720  64 69 61 67 6e 6f 73 74  69 63 20 73 63 72 65 65  |diagnostic scree|
00002730  6e 20 69 73 0a 20 20 20  20 20 20 20 20 20 20 20  |n is.           |
00002740  20 20 20 70 72 69 6e 74  65 64 2e 20 20 49 6e 20  |   printed.  In |
00002750  61 64 64 69 74 69 6f 6e  20 74 6f 20 74 68 65 20  |addition to the |
00002760  6e 6f 72 6d 61 6c 20 68  65 61 64 65 72 20 77 69  |normal header wi|
00002770  74 68 20 72 65 6c 65 61  73 65 20 64 61 74 65 20  |th release date |
00002780  61 6e 64 0a 20 20 20 20  20 20 20 20 20 20 20 20  |and.            |
00002790  20 20 76 65 72 73 69 6f  6e 2c 20 20 75 6e 7a 69  |  version,  unzi|
000027a0  70 20 20 6c 69 73 74 73  20 20 74 68 65 20 20 68  |p  lists  the  h|
000027b0  6f 6d 65 20 49 6e 66 6f  2d 5a 49 50 20 66 74 70  |ome Info-ZIP ftp|
000027c0  20 73 69 74 65 20 61 6e  64 20 77 68 65 72 65 20  | site and where |
000027d0  74 6f 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |to.             |
000027e0  20 66 69 6e 64 20 61 20  6c 69 73 74 20 6f 66 20  | find a list of |
000027f0  6f 74 68 65 72 20 66 74  70 20 61 6e 64 20 6e 6f  |other ftp and no|
00002800  6e 2d 66 74 70 20 73 69  74 65 73 3b 20 74 68 65  |n-ftp sites; the|
00002810  20 74 61 72 67 65 74 20  6f 70 65 72 61 74 69 6e  | target operatin|
00002820  67 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |g.              |
00002830  73 79 73 74 65 6d 20 20  66 6f 72 20 20 77 68 69  |system  for  whi|
00002840  63 68 20 20 69 74 20 20  77 61 73 20 20 63 6f 6d  |ch  it  was  com|
00002850  70 69 6c 65 64 2c 20 61  73 20 77 65 6c 6c 20 61  |piled, as well a|
00002860  73 20 28 70 6f 73 73 69  62 6c 79 29 20 74 68 65  |s (possibly) the|
00002870  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 68  |.              h|
00002880  61 72 64 77 61 72 65 20  6f 6e 20 77 68 69 63 68  |ardware on which|
00002890  20 69 74 20 77 61 73 20  20 63 6f 6d 70 69 6c 65  | it was  compile|
000028a0  64 2c 20 20 74 68 65 20  20 63 6f 6d 70 69 6c 65  |d,  the  compile|
000028b0  72 20 20 61 6e 64 20 20  76 65 72 73 69 6f 6e 0a  |r  and  version.|
000028c0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 75 73  |              us|
000028d0  65 64 2c 20 20 61 6e 64  20 74 68 65 20 63 6f 6d  |ed,  and the com|
000028e0  70 69 6c 61 74 69 6f 6e  20 64 61 74 65 3b 20 61  |pilation date; a|
000028f0  6e 79 20 73 70 65 63 69  61 6c 20 63 6f 6d 70 69  |ny special compi|
00002900  6c 61 74 69 6f 6e 20 6f  70 74 69 6f 6e 73 0a 20  |lation options. |
00002910  20 20 20 20 20 20 20 20  20 20 20 20 20 74 68 61  |             tha|
00002920  74 20 6d 69 67 68 74 20  61 66 66 65 63 74 20 74  |t might affect t|
00002930  68 65 20 70 72 6f 67 72  61 6d 27 73 20 6f 70 65  |he program's ope|
00002940  72 61 74 69 6f 6e 20 28  73 65 65 20 20 61 6c 73  |ration (see  als|
00002950  6f 20 20 44 45 43 52 59  50 54 49 4f 4e 0a 20 20  |o  DECRYPTION.  |
00002960  20 20 20 20 20 20 20 20  20 20 20 20 62 65 6c 6f  |            belo|
00002970  77 29 3b 20 20 61 6e 64  20 20 61 6e 79 20 20 6f  |w);  and  any  o|
00002980  70 74 69 6f 6e 73 20 20  73 74 6f 72 65 64 20 69  |ptions  stored i|
00002990  6e 20 65 6e 76 69 72 6f  6e 6d 65 6e 74 20 76 61  |n environment va|
000029a0  72 69 61 62 6c 65 73 20  74 68 61 74 0a 20 20 20  |riables that.   |
000029b0  20 20 20 20 20 20 20 20  20 20 20 6d 69 67 68 74  |           might|
000029c0  20 64 6f 20 74 68 65 20  73 61 6d 65 20 28 73 65  | do the same (se|
000029d0  65 20 45 4e 56 49 52 4f  4e 4d 45 4e 54 20 4f 50  |e ENVIRONMENT OP|
000029e0  54 49 4f 4e 53 20 62 65  6c 6f 77 29 2e 20 20 41  |TIONS below).  A|
000029f0  73 20 20 61 20 20 6d 6f  64 69 2d 0a 20 20 20 20  |s  a  modi-.    |
00002a00  20 20 20 20 20 20 20 20  20 20 66 69 65 72 20 20  |          fier  |
00002a10  69 74 20 20 77 6f 72 6b  73 20 20 69 6e 20 63 6f  |it  works  in co|
00002a20  6e 6a 75 6e 63 74 69 6f  6e 20 77 69 74 68 20 6f  |njunction with o|
00002a30  74 68 65 72 20 6f 70 74  69 6f 6e 73 20 28 65 2e  |ther options (e.|
00002a40  67 2e 2c 20 2d 74 29 20  74 6f 0a 20 20 20 20 20  |g., -t) to.     |
00002a50  20 20 20 20 20 20 20 20  20 70 72 6f 64 75 63 65  |         produce|
00002a60  20 6d 6f 72 65 20 76 65  72 62 6f 73 65 20 6f 72  | more verbose or|
00002a70  20 64 65 62 75 67 67 69  6e 67 20 6f 75 74 70 75  | debugging outpu|
00002a80  74 3b 20 74 68 69 73 20  69 73 20 6e 6f 74 20 79  |t; this is not y|
00002a90  65 74 20 20 66 75 6c 6c  79 0a 20 20 20 20 20 20  |et  fully.      |
00002aa0  20 20 20 20 20 20 20 20  69 6d 70 6c 65 6d 65 6e  |        implemen|
00002ab0  74 65 64 20 62 75 74 20  77 69 6c 6c 20 62 65 20  |ted but will be |
00002ac0  69 6e 20 66 75 74 75 72  65 20 72 65 6c 65 61 73  |in future releas|
00002ad0  65 73 2e 0a 0a 20 20 20  20 20 20 20 2d 7a 20 20  |es...       -z  |
00002ae0  20 20 20 64 69 73 70 6c  61 79 20 6f 6e 6c 79 20  |   display only |
00002af0  74 68 65 20 61 72 63 68  69 76 65 20 63 6f 6d 6d  |the archive comm|
00002b00  65 6e 74 2e 0a 0a 4d 4f  44 49 46 49 45 52 53 0a  |ent...MODIFIERS.|
00002b10  20 20 20 20 20 20 20 2d  61 20 20 20 20 20 63 6f  |       -a     co|
00002b20  6e 76 65 72 74 20 20 74  65 78 74 20 66 69 6c 65  |nvert  text file|
00002b30  73 2e 20 20 4f 72 64 69  6e 61 72 69 6c 79 20 61  |s.  Ordinarily a|
00002b40  6c 6c 20 66 69 6c 65 73  20 61 72 65 20 65 78 74  |ll files are ext|
00002b50  72 61 63 74 65 64 20 65  78 61 63 74 6c 79 0a 20  |racted exactly. |
00002b60  20 20 20 20 20 20 20 20  20 20 20 20 20 61 73 20  |             as |
00002b70  74 68 65 79 20 61 72 65  20 73 74 6f 72 65 64 20  |they are stored |
00002b80  28 61 73 20 60 60 62 69  6e 61 72 79 27 27 20 66  |(as ``binary'' f|
00002b90  69 6c 65 73 29 2e 20 20  54 68 65 20 2d 61 20 6f  |iles).  The -a o|
00002ba0  70 74 69 6f 6e 20 20 63  61 75 73 65 73 0a 20 20  |ption  causes.  |
00002bb0  20 20 20 20 20 20 20 20  20 20 20 20 66 69 6c 65  |            file|
00002bc0  73 20 20 69 64 65 6e 74  69 66 69 65 64 20 62 79  |s  identified by|
00002bd0  20 7a 69 70 20 61 73 20  74 65 78 74 20 66 69 6c  | zip as text fil|
00002be0  65 73 20 28 74 68 6f 73  65 20 77 69 74 68 20 74  |es (those with t|
00002bf0  68 65 20 60 74 27 20 6c  61 62 65 6c 0a 20 20 20  |he `t' label.   |
00002c00  20 20 20 20 20 20 20 20  20 20 20 69 6e 20 7a 69  |           in zi|
00002c10  70 69 6e 66 6f 20 20 6c  69 73 74 69 6e 67 73 2c  |pinfo  listings,|
00002c20  20 20 72 61 74 68 65 72  20 20 74 68 61 6e 20 20  |  rather  than  |
00002c30  60 62 27 29 20 20 74 6f  20 20 62 65 20 20 61 75  |`b')  to  be  au|
00002c40  74 6f 6d 61 74 69 63 61  6c 6c 79 0a 20 20 20 20  |tomatically.    |
00002c50  20 20 20 20 20 20 20 20  20 20 65 78 74 72 61 63  |          extrac|
00002c60  74 65 64 20 20 61 73 20  73 75 63 68 2c 20 63 6f  |ted  as such, co|
00002c70  6e 76 65 72 74 69 6e 67  20 6c 69 6e 65 20 65 6e  |nverting line en|
00002c80  64 69 6e 67 73 2c 20 65  6e 64 2d 6f 66 2d 66 69  |dings, end-of-fi|
00002c90  6c 65 20 63 68 61 72 61  63 2d 0a 20 20 20 20 20  |le charac-.     |
00002ca0  20 20 20 20 20 20 20 20  20 74 65 72 73 20 61 6e  |         ters an|
00002cb0  64 20 74 68 65 20 63 68  61 72 61 63 74 65 72 20  |d the character |
00002cc0  73 65 74 20 69 74 73 65  6c 66 20 61 73 20 6e 65  |set itself as ne|
00002cd0  63 65 73 73 61 72 79 2e  20 20 20 28 46 6f 72 20  |cessary.   (For |
00002ce0  20 65 78 61 6d 70 6c 65  2c 0a 20 20 20 20 20 20  | example,.      |
00002cf0  20 20 20 20 20 20 20 20  55 6e 69 78 20 20 66 69  |        Unix  fi|
00002d00  6c 65 73 20 20 75 73 65  20 6c 69 6e 65 20 66 65  |les  use line fe|
00002d10  65 64 73 20 28 4c 46 73  29 20 66 6f 72 20 65 6e  |eds (LFs) for en|
00002d20  64 2d 6f 66 2d 6c 69 6e  65 20 28 45 4f 4c 29 20  |d-of-line (EOL) |
00002d30  61 6e 64 20 68 61 76 65  0a 20 20 20 20 20 20 20  |and have.       |
00002d40  20 20 20 20 20 20 20 6e  6f 20 65 6e 64 2d 6f 66  |       no end-of|
00002d50  2d 66 69 6c 65 20 28 45  4f 46 29 20 6d 61 72 6b  |-file (EOF) mark|
00002d60  65 72 3b 20 4d 61 63 69  6e 74 6f 73 68 65 73 20  |er; Macintoshes |
00002d70  20 75 73 65 20 20 63 61  72 72 69 61 67 65 20 20  | use  carriage  |
00002d80  72 65 74 75 72 6e 73 0a  20 20 20 20 20 20 20 20  |returns.        |
00002d90  20 20 20 20 20 20 28 43  52 73 29 20 66 6f 72 20  |      (CRs) for |
00002da0  45 4f 4c 73 3b 20 61 6e  64 20 6d 6f 73 74 20 50  |EOLs; and most P|
00002db0  43 20 6f 70 65 72 61 74  69 6e 67 20 73 79 73 74  |C operating syst|
00002dc0  65 6d 73 20 75 73 65 20  43 52 2b 4c 46 20 66 6f  |ems use CR+LF fo|
00002dd0  72 20 45 4f 4c 73 0a 20  20 20 20 20 20 20 20 20  |r EOLs.         |
00002de0  20 20 20 20 20 61 6e 64  20 63 6f 6e 74 72 6f 6c  |     and control|
00002df0  2d 5a 20 66 6f 72 20 45  4f 46 2e 20 20 49 6e 20  |-Z for EOF.  In |
00002e00  20 61 64 64 69 74 69 6f  6e 2c 20 20 49 42 4d 20  | addition,  IBM |
00002e10  20 6d 61 69 6e 66 72 61  6d 65 73 20 20 61 6e 64  | mainframes  and|
00002e20  20 20 74 68 65 0a 20 20  20 20 20 20 20 20 20 20  |  the.          |
00002e30  20 20 20 20 4d 69 63 68  69 67 61 6e 20 20 54 65  |    Michigan  Te|
00002e40  72 6d 69 6e 61 6c 20 53  79 73 74 65 6d 20 75 73  |rminal System us|
00002e50  65 20 45 42 43 44 49 43  20 72 61 74 68 65 72 20  |e EBCDIC rather |
00002e60  74 68 61 6e 20 74 68 65  20 6d 6f 72 65 20 63 6f  |than the more co|
00002e70  6d 6d 6f 6e 0a 20 20 20  20 20 20 20 20 20 20 20  |mmon.           |
00002e80  20 20 20 41 53 43 49 49  20 63 68 61 72 61 63 74  |   ASCII charact|
00002e90  65 72 20 73 65 74 2c 20  61 6e 64 20 4e 54 20 73  |er set, and NT s|
00002ea0  75 70 70 6f 72 74 73 20  55 6e 69 63 6f 64 65 2e  |upports Unicode.|
00002eb0  29 20 20 4e 6f 74 65 20  74 68 61 74 20 20 7a 69  |)  Note that  zi|
00002ec0  70 27 73 0a 20 20 20 20  20 20 20 20 20 20 20 20  |p's.            |
00002ed0  20 20 69 64 65 6e 74 69  66 69 63 61 74 69 6f 6e  |  identification|
00002ee0  20 20 6f 66 20 20 74 65  78 74 20 20 66 69 6c 65  |  of  text  file|
00002ef0  73 20 20 69 73 20 20 62  79 20 20 6e 6f 20 20 6d  |s  is  by  no  m|
00002f00  65 61 6e 73 20 70 65 72  66 65 63 74 3b 20 73 6f  |eans perfect; so|
00002f10  6d 65 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |me.             |
00002f20  20 60 60 74 65 78 74 27  27 20 66 69 6c 65 73 20  | ``text'' files |
00002f30  6d 61 79 20 61 63 74 75  61 6c 6c 79 20 62 65 20  |may actually be |
00002f40  62 69 6e 61 72 79 20 20  61 6e 64 20 20 76 69 63  |binary  and  vic|
00002f50  65 20 20 76 65 72 73 61  2e 20 20 20 75 6e 7a 69  |e  versa.   unzi|
00002f60  70 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |p.              |
00002f70  74 68 65 72 65 66 6f 72  65 20 20 70 72 69 6e 74  |therefore  print|
00002f80  73 20 20 60 60 5b 74 65  78 74 5d 27 27 20 20 6f  |s  ``[text]''  o|
00002f90  72 20 60 60 5b 62 69 6e  61 72 79 5d 27 27 20 61  |r ``[binary]'' a|
00002fa0  73 20 61 20 76 69 73 75  61 6c 20 63 68 65 63 6b  |s a visual check|
00002fb0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 66  |.              f|
00002fc0  6f 72 20 65 61 63 68 20  66 69 6c 65 20 69 74 20  |or each file it |
00002fd0  65 78 74 72 61 63 74 73  20 77 68 65 6e 20 75 73  |extracts when us|
00002fe0  69 6e 67 20 74 68 65 20  20 2d 61 20 20 6f 70 74  |ing the  -a  opt|
00002ff0  69 6f 6e 2e 20 20 20 54  68 65 20 20 2d 61 61 0a  |ion.   The  -aa.|
00003000  20 20 20 20 20 20 20 20  20 20 20 20 20 20 6f 70  |              op|
00003010  74 69 6f 6e 20 20 66 6f  72 63 65 73 20 20 61 6c  |tion  forces  al|
00003020  6c 20 66 69 6c 65 73 20  74 6f 20 62 65 20 65 78  |l files to be ex|
00003030  74 72 61 63 74 65 64 20  61 73 20 74 65 78 74 2c  |tracted as text,|
00003040  20 72 65 67 61 72 64 6c  65 73 73 20 6f 66 0a 20  | regardless of. |
00003050  20 20 20 20 20 20 20 20  20 20 20 20 20 74 68 65  |             the|
00003060  20 73 75 70 70 6f 73 65  64 20 66 69 6c 65 20 74  | supposed file t|
00003070  79 70 65 2e 20 20 4f 6e  20 56 4d 53 2c 20 73 65  |ype.  On VMS, se|
00003080  65 20 61 6c 73 6f 20 2d  53 2e 0a 0a 20 20 20 20  |e also -S...    |
00003090  20 20 20 2d 62 20 20 20  20 20 5b 67 65 6e 65 72  |   -b     [gener|
000030a0  61 6c 5d 20 74 72 65 61  74 20 61 6c 6c 20 66 69  |al] treat all fi|
000030b0  6c 65 73 20 61 73 20 62  69 6e 61 72 79 20 28 6e  |les as binary (n|
000030c0  6f 20 74 65 78 74 20 63  6f 6e 76 65 72 73 69 6f  |o text conversio|
000030d0  6e 73 29 2e 20 20 54 68  69 73 0a 20 20 20 20 20  |ns).  This.     |
000030e0  20 20 20 20 20 20 20 20  20 69 73 20 61 20 73 68  |         is a sh|
000030f0  6f 72 74 63 75 74 20 66  6f 72 20 2d 2d 2d 61 2e  |ortcut for ---a.|
00003100  0a 0a 20 20 20 20 20 20  20 2d 62 20 20 20 20 20  |..       -b     |
00003110  5b 54 61 6e 64 65 6d 5d  20 20 66 6f 72 63 65 20  |[Tandem]  force |
00003120  20 74 68 65 20 63 72 65  61 74 69 6f 6e 20 66 69  | the creation fi|
00003130  6c 65 73 20 77 69 74 68  20 66 69 6c 65 63 6f 64  |les with filecod|
00003140  65 20 74 79 70 65 20 31  38 30 20 28 27 43 27 29  |e type 180 ('C')|
00003150  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 77  |.              w|
00003160  68 65 6e 20 65 78 74 72  61 63 74 69 6e 67 20 5a  |hen extracting Z|
00003170  69 70 20 65 6e 74 72 69  65 73 20 6d 61 72 6b 65  |ip entries marke|
00003180  64 20 61 73 20 22 74 65  78 74 22 2e 20 28 4f 6e  |d as "text". (On|
00003190  20 54 61 6e 64 65 6d 2c  20 2d 61 20 20 69 73 0a  | Tandem, -a  is.|
000031a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 65 6e  |              en|
000031b0  61 62 6c 65 64 20 62 79  20 64 65 66 61 75 6c 74  |abled by default|
000031c0  2c 20 73 65 65 20 61 62  6f 76 65 29 2e 0a 0a 20  |, see above)... |
000031d0  20 20 20 20 20 20 2d 62  20 20 20 20 20 5b 56 4d  |      -b     [VM|
000031e0  53 5d 20 20 61 75 74 6f  2d 63 6f 6e 76 65 72 74  |S]  auto-convert|
000031f0  20 62 69 6e 61 72 79 20  66 69 6c 65 73 20 28 73  | binary files (s|
00003200  65 65 20 2d 61 20 61 62  6f 76 65 29 20 74 6f 20  |ee -a above) to |
00003210  66 69 78 65 64 2d 6c 65  6e 67 74 68 2c 0a 20 20  |fixed-length,.  |
00003220  20 20 20 20 20 20 20 20  20 20 20 20 35 31 32 2d  |            512-|
00003230  62 79 74 65 20 72 65 63  6f 72 64 20 66 6f 72 6d  |byte record form|
00003240  61 74 2e 20 20 44 6f 75  62 6c 69 6e 67 20 74 68  |at.  Doubling th|
00003250  65 20 6f 70 74 69 6f 6e  20 20 28 2d 62 62 29 20  |e option  (-bb) |
00003260  20 66 6f 72 63 65 73 20  20 61 6c 6c 0a 20 20 20  | forces  all.   |
00003270  20 20 20 20 20 20 20 20  20 20 20 66 69 6c 65 73  |           files|
00003280  20 20 74 6f 20 20 62 65  20 65 78 74 72 61 63 74  |  to  be extract|
00003290  65 64 20 69 6e 20 74 68  69 73 20 66 6f 72 6d 61  |ed in this forma|
000032a0  74 2e 20 57 68 65 6e 20  65 78 74 72 61 63 74 69  |t. When extracti|
000032b0  6e 67 20 74 6f 20 73 74  61 6e 2d 0a 20 20 20 20  |ng to stan-.    |
000032c0  20 20 20 20 20 20 20 20  20 20 64 61 72 64 20 6f  |          dard o|
000032d0  75 74 70 75 74 20 28 2d  63 20 6f 72 20 2d 70 20  |utput (-c or -p |
000032e0  6f 70 74 69 6f 6e 20 69  6e 20 65 66 66 65 63 74  |option in effect|
000032f0  29 2c 20 74 68 65 20 64  65 66 61 75 6c 74 20 20  |), the default  |
00003300  63 6f 6e 76 65 72 73 69  6f 6e 0a 20 20 20 20 20  |conversion.     |
00003310  20 20 20 20 20 20 20 20  20 6f 66 20 20 74 65 78  |         of  tex|
00003320  74 20 72 65 63 6f 72 64  20 64 65 6c 69 6d 69 74  |t record delimit|
00003330  65 72 73 20 69 73 20 64  69 73 61 62 6c 65 64 20  |ers is disabled |
00003340  66 6f 72 20 62 69 6e 61  72 79 20 28 2d 62 29 20  |for binary (-b) |
00003350  72 65 73 70 2e 20 61 6c  6c 0a 20 20 20 20 20 20  |resp. all.      |
00003360  20 20 20 20 20 20 20 20  28 2d 62 62 29 20 66 69  |        (-bb) fi|
00003370  6c 65 73 2e 0a 0a 20 20  20 20 20 20 20 2d 42 20  |les...       -B |
00003380  20 20 20 20 5b 77 68 65  6e 20 63 6f 6d 70 69 6c  |    [when compil|
00003390  65 64 20 77 69 74 68 20  55 4e 49 58 42 41 43 4b  |ed with UNIXBACK|
000033a0  55 50 20 64 65 66 69 6e  65 64 5d 20 73 61 76 65  |UP defined] save|
000033b0  20 61 20 20 62 61 63 6b  75 70 20 20 63 6f 70 79  | a  backup  copy|
000033c0  20 20 6f 66 0a 20 20 20  20 20 20 20 20 20 20 20  |  of.           |
000033d0  20 20 20 65 61 63 68 20  20 6f 76 65 72 77 72 69  |   each  overwri|
000033e0  74 74 65 6e 20 20 66 69  6c 65 2e 20 54 68 65 20  |tten  file. The |
000033f0  62 61 63 6b 75 70 20 66  69 6c 65 20 69 73 20 67  |backup file is g|
00003400  65 74 73 20 74 68 65 20  6e 61 6d 65 20 6f 66 20  |ets the name of |
00003410  74 68 65 0a 20 20 20 20  20 20 20 20 20 20 20 20  |the.            |
00003420  20 20 74 61 72 67 65 74  20 66 69 6c 65 20 77 69  |  target file wi|
00003430  74 68 20 61 20 74 69 6c  64 65 20 61 6e 64 20 6f  |th a tilde and o|
00003440  70 74 69 6f 6e 61 6c 6c  79 20 61 20 75 6e 69 71  |ptionally a uniq|
00003450  75 65 20 73 65 71 75 65  6e 63 65 20 6e 75 6d 62  |ue sequence numb|
00003460  65 72 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |er.             |
00003470  20 28 75 70 20 74 6f 20  35 20 64 69 67 69 74 73  | (up to 5 digits|
00003480  29 20 61 70 70 65 6e 64  65 64 2e 20 20 54 68 65  |) appended.  The|
00003490  20 73 65 71 75 65 6e 63  65 20 6e 75 6d 62 65 72  | sequence number|
000034a0  20 69 73 20 61 70 70 6c  69 65 64 20 77 68 65 6e  | is applied when|
000034b0  2d 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |-.              |
000034c0  65 76 65 72 20 61 6e 6f  74 68 65 72 20 66 69 6c  |ever another fil|
000034d0  65 20 77 69 74 68 20 74  68 65 20 20 6f 72 69 67  |e with the  orig|
000034e0  69 6e 61 6c 20 20 6e 61  6d 65 20 20 70 6c 75 73  |inal  name  plus|
000034f0  20 20 74 69 6c 64 65 20  20 61 6c 72 65 61 64 79  |  tilde  already|
00003500  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 65  |.              e|
00003510  78 69 73 74 73 2e 20 20  20 57 68 65 6e 20 75 73  |xists.   When us|
00003520  65 64 20 74 6f 67 65 74  68 65 72 20 77 69 74 68  |ed together with|
00003530  20 74 68 65 20 22 6f 76  65 72 77 72 69 74 65 20  | the "overwrite |
00003540  61 6c 6c 22 20 6f 70 74  69 6f 6e 20 2d 6f 2c 0a  |all" option -o,.|
00003550  20 20 20 20 20 20 20 20  20 20 20 20 20 20 6e 75  |              nu|
00003560  6d 62 65 72 65 64 20 62  61 63 6b 75 70 20 66 69  |mbered backup fi|
00003570  6c 65 73 20 61 72 65 20  20 6e 65 76 65 72 20 20  |les are  never  |
00003580  63 72 65 61 74 65 64 2e  20 20 49 6e 20 20 74 68  |created.  In  th|
00003590  69 73 20 20 63 61 73 65  2c 20 20 61 6c 6c 0a 20  |is  case,  all. |
000035a0  20 20 20 20 20 20 20 20  20 20 20 20 20 62 61 63  |             bac|
000035b0  6b 75 70 20 20 66 69 6c  65 73 20 20 61 72 65 20  |kup  files  are |
000035c0  20 6e 61 6d 65 64 20 20  61 73 20 74 68 65 20 6f  | named  as the o|
000035d0  72 69 67 69 6e 61 6c 20  66 69 6c 65 20 77 69 74  |riginal file wit|
000035e0  68 20 61 6e 20 61 70 70  65 6e 64 65 64 0a 20 20  |h an appended.  |
000035f0  20 20 20 20 20 20 20 20  20 20 20 20 74 69 6c 64  |            tild|
00003600  65 2c 20 65 78 69 73 74  69 6e 67 20 62 61 63 6b  |e, existing back|
00003610  75 70 20 66 69 6c 65 73  20 61 72 65 20 64 65 6c  |up files are del|
00003620  65 74 65 64 20 77 69 74  68 6f 75 74 20 20 6e 6f  |eted without  no|
00003630  74 69 63 65 2e 20 20 20  54 68 69 73 0a 20 20 20  |tice.   This.   |
00003640  20 20 20 20 20 20 20 20  20 20 20 66 65 61 74 75  |           featu|
00003650  72 65 20 20 77 6f 72 6b  73 20 20 73 69 6d 69 6c  |re  works  simil|
00003660  61 72 6c 79 20 74 6f 20  74 68 65 20 64 65 66 61  |arly to the defa|
00003670  75 6c 74 20 62 65 68 61  76 69 6f 72 20 6f 66 20  |ult behavior of |
00003680  65 6d 61 63 73 28 31 29  20 69 6e 0a 20 20 20 20  |emacs(1) in.    |
00003690  20 20 20 20 20 20 20 20  20 20 6d 61 6e 79 20 6c  |          many l|
000036a0  6f 63 61 74 69 6f 6e 73  2e 0a 0a 20 20 20 20 20  |ocations...     |
000036b0  20 20 20 20 20 20 20 20  20 45 78 61 6d 70 6c 65  |         Example|
000036c0  3a 20 74 68 65 20 6f 6c  64 20 63 6f 70 79 20 6f  |: the old copy o|
000036d0  66 20 60 60 66 6f 6f 27  27 20 69 73 20 72 65 6e  |f ``foo'' is ren|
000036e0  61 6d 65 64 20 74 6f 20  60 60 66 6f 6f 7e 27 27  |amed to ``foo~''|
000036f0  2e 0a 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |...             |
00003700  20 57 61 72 6e 69 6e 67  3a 20 55 73 65 72 73 20  | Warning: Users |
00003710  73 68 6f 75 6c 64 20 62  65 20 61 77 61 72 65 20  |should be aware |
00003720  74 68 61 74 20 74 68 65  20 2d 42 20 6f 70 74 69  |that the -B opti|
00003730  6f 6e 20 64 6f 65 73 20  6e 6f 74 20 20 70 72 65  |on does not  pre|
00003740  2d 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |-.              |
00003750  76 65 6e 74 20 20 6c 6f  73 73 20 20 6f 66 20 65  |vent  loss  of e|
00003760  78 69 73 74 69 6e 67 20  64 61 74 61 20 75 6e 64  |xisting data und|
00003770  65 72 20 61 6c 6c 20 63  69 72 63 75 6d 73 74 61  |er all circumsta|
00003780  6e 63 65 73 2e 20 20 46  6f 72 20 65 78 61 6d 2d  |nces.  For exam-|
00003790  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 70  |.              p|
000037a0  6c 65 2c 20 77 68 65 6e  20 75 6e 7a 69 70 20 20  |le, when unzip  |
000037b0  69 73 20 20 72 75 6e 20  20 69 6e 20 20 6f 76 65  |is  run  in  ove|
000037c0  72 77 72 69 74 65 2d 61  6c 6c 20 20 6d 6f 64 65  |rwrite-all  mode|
000037d0  2c 20 20 61 6e 20 20 65  78 69 73 74 69 6e 67 0a  |,  an  existing.|
000037e0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 60 60  |              ``|
000037f0  66 6f 6f 7e 27 27 20 66  69 6c 65 20 69 73 20 64  |foo~'' file is d|
00003800  65 6c 65 74 65 64 20 62  65 66 6f 72 65 20 75 6e  |eleted before un|
00003810  7a 69 70 20 61 74 74 65  6d 70 74 73 20 74 6f 20  |zip attempts to |
00003820  72 65 6e 61 6d 65 20 60  60 66 6f 6f 27 27 0a 20  |rename ``foo''. |
00003830  20 20 20 20 20 20 20 20  20 20 20 20 20 74 6f 20  |             to |
00003840  60 60 66 6f 6f 7e 27 27  2e 20 20 57 68 65 6e 20  |``foo~''.  When |
00003850  74 68 69 73 20 72 65 6e  61 6d 65 20 61 74 74 65  |this rename atte|
00003860  6d 70 74 20 66 61 69 6c  73 20 28 62 65 63 61 75  |mpt fails (becau|
00003870  73 65 20 6f 66 20 61 20  20 66 69 6c 65 0a 20 20  |se of a  file.  |
00003880  20 20 20 20 20 20 20 20  20 20 20 20 6c 6f 63 6b  |            lock|
00003890  73 2c 20 20 69 6e 73 75  66 66 69 63 69 65 6e 74  |s,  insufficient|
000038a0  20 20 70 72 69 76 69 6c  65 67 65 73 2c 20 20 6f  |  privileges,  o|
000038b0  72 20 20 2e 2e 2e 29 2c  20 20 74 68 65 20 20 65  |r  ...),  the  e|
000038c0  78 74 72 61 63 74 69 6f  6e 20 6f 66 0a 20 20 20  |xtraction of.   |
000038d0  20 20 20 20 20 20 20 20  20 20 20 60 60 66 6f 6f  |           ``foo|
000038e0  7e 27 27 20 67 65 74 73  20 63 61 6e 63 65 6c 6c  |~'' gets cancell|
000038f0  65 64 2c 20 62 75 74 20  74 68 65 20 20 6f 6c 64  |ed, but the  old|
00003900  20 20 62 61 63 6b 75 70  20 20 66 69 6c 65 20 20  |  backup  file  |
00003910  69 73 20 20 61 6c 72 65  61 64 79 0a 20 20 20 20  |is  already.    |
00003920  20 20 20 20 20 20 20 20  20 20 6c 6f 73 74 2e 20  |          lost. |
00003930  20 20 41 20 20 73 69 6d  69 6c 61 72 20 73 63 65  |  A  similar sce|
00003940  6e 61 72 69 6f 20 74 61  6b 65 73 20 70 6c 61 63  |nario takes plac|
00003950  65 20 77 68 65 6e 20 74  68 65 20 73 65 71 75 65  |e when the seque|
00003960  6e 63 65 20 6e 75 6d 62  65 72 0a 20 20 20 20 20  |nce number.     |
00003970  20 20 20 20 20 20 20 20  20 72 61 6e 67 65 20 66  |         range f|
00003980  6f 72 20 6e 75 6d 62 65  72 65 64 20 62 61 63 6b  |or numbered back|
00003990  75 70 20 66 69 6c 65 73  20 67 65 74 73 20 65 78  |up files gets ex|
000039a0  68 61 75 73 74 65 64 20  28 39 39 39 39 39 2c 20  |hausted (99999, |
000039b0  6f 72 20 20 36 35 35 33  35 0a 20 20 20 20 20 20  |or  65535.      |
000039c0  20 20 20 20 20 20 20 20  66 6f 72 20 20 31 36 2d  |        for  16-|
000039d0  62 69 74 20 20 73 79 73  74 65 6d 73 29 2e 20 20  |bit  systems).  |
000039e0  20 49 6e 20 20 74 68 69  73 20 63 61 73 65 2c 20  | In  this case, |
000039f0  74 68 65 20 62 61 63 6b  75 70 20 66 69 6c 65 20  |the backup file |
00003a00  77 69 74 68 20 74 68 65  0a 20 20 20 20 20 20 20  |with the.       |
00003a10  20 20 20 20 20 20 20 6d  61 78 69 6d 75 6d 20 73  |       maximum s|
00003a20  65 71 75 65 6e 63 65 20  6e 75 6d 62 65 72 20 69  |equence number i|
00003a30  73 20 20 64 65 6c 65 74  65 64 20 20 61 6e 64 20  |s  deleted  and |
00003a40  20 72 65 70 6c 61 63 65  64 20 20 62 79 20 20 74  | replaced  by  t|
00003a50  68 65 20 20 6e 65 77 0a  20 20 20 20 20 20 20 20  |he  new.        |
00003a60  20 20 20 20 20 20 62 61  63 6b 75 70 20 76 65 72  |      backup ver|
00003a70  73 69 6f 6e 20 77 69 74  68 6f 75 74 20 6e 6f 74  |sion without not|
00003a80  69 63 65 2e 0a 0a 20 20  20 20 20 20 20 2d 43 20  |ice...       -C |
00003a90  20 20 20 20 75 73 65 20  20 63 61 73 65 2d 69 6e  |    use  case-in|
00003aa0  73 65 6e 73 69 74 69 76  65 20 20 6d 61 74 63 68  |sensitive  match|
00003ab0  69 6e 67 20 20 66 6f 72  20 20 74 68 65 20 20 73  |ing  for  the  s|
00003ac0  65 6c 65 63 74 69 6f 6e  20 20 6f 66 20 61 72 63  |election  of arc|
00003ad0  68 69 76 65 0a 20 20 20  20 20 20 20 20 20 20 20  |hive.           |
00003ae0  20 20 20 65 6e 74 72 69  65 73 20 66 72 6f 6d 20  |   entries from |
00003af0  74 68 65 20 63 6f 6d 6d  61 6e 64 2d 6c 69 6e 65  |the command-line|
00003b00  20 6c 69 73 74 20 20 6f  66 20 20 65 78 74 72 61  | list  of  extra|
00003b10  63 74 20 20 73 65 6c 65  63 74 69 6f 6e 20 20 70  |ct  selection  p|
00003b20  61 74 2d 0a 20 20 20 20  20 20 20 20 20 20 20 20  |at-.            |
00003b30  20 20 74 65 72 6e 73 2e  20 20 75 6e 7a 69 70 27  |  terns.  unzip'|
00003b40  73 20 70 68 69 6c 6f 73  6f 70 68 79 20 69 73 20  |s philosophy is |
00003b50  60 60 79 6f 75 20 67 65  74 20 77 68 61 74 20 79  |``you get what y|
00003b60  6f 75 20 61 73 6b 20 66  6f 72 27 27 20 28 74 68  |ou ask for'' (th|
00003b70  69 73 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |is.             |
00003b80  20 69 73 20 61 6c 73 6f  20 72 65 73 70 6f 6e 73  | is also respons|
00003b90  69 62 6c 65 20 66 6f 72  20 20 74 68 65 20 20 2d  |ible for  the  -|
00003ba0  4c 2f 2d 55 20 20 63 68  61 6e 67 65 3b 20 20 73  |L/-U  change;  s|
00003bb0  65 65 20 20 74 68 65 20  20 72 65 6c 65 76 61 6e  |ee  the  relevan|
00003bc0  74 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |t.              |
00003bd0  6f 70 74 69 6f 6e 73 20  62 65 6c 6f 77 29 2e 20  |options below). |
00003be0  20 42 65 63 61 75 73 65  20 73 6f 6d 65 20 66 69  | Because some fi|
00003bf0  6c 65 20 73 79 73 74 65  6d 73 20 61 72 65 20 66  |le systems are f|
00003c00  75 6c 6c 79 20 63 61 73  65 2d 73 65 6e 73 69 2d  |ully case-sensi-|
00003c10  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 74  |.              t|
00003c20  69 76 65 20 28 6e 6f 74  61 62 6c 79 20 74 68 6f  |ive (notably tho|
00003c30  73 65 20 75 6e 64 65 72  20 74 68 65 20 55 6e 69  |se under the Uni|
00003c40  78 20 6f 70 65 72 61 74  69 6e 67 20 73 79 73 74  |x operating syst|
00003c50  65 6d 29 20 61 6e 64 20  62 65 63 61 75 73 65 0a  |em) and because.|
00003c60  20 20 20 20 20 20 20 20  20 20 20 20 20 20 62 6f  |              bo|
00003c70  74 68 20 20 5a 49 50 20  20 61 72 63 68 69 76 65  |th  ZIP  archive|
00003c80  73 20 20 61 6e 64 20 20  75 6e 7a 69 70 20 69 74  |s  and  unzip it|
00003c90  73 65 6c 66 20 61 72 65  20 70 6f 72 74 61 62 6c  |self are portabl|
00003ca0  65 20 61 63 72 6f 73 73  20 70 6c 61 74 2d 0a 20  |e across plat-. |
00003cb0  20 20 20 20 20 20 20 20  20 20 20 20 20 66 6f 72  |             for|
00003cc0  6d 73 2c 20 75 6e 7a 69  70 27 73 20 64 65 66 61  |ms, unzip's defa|
00003cd0  75 6c 74 20 62 65 68 61  76 69 6f 72 20 69 73 20  |ult behavior is |
00003ce0  74 6f 20 6d 61 74 63 68  20 20 62 6f 74 68 20 20  |to match  both  |
00003cf0  77 69 6c 64 63 61 72 64  20 20 61 6e 64 0a 20 20  |wildcard  and.  |
00003d00  20 20 20 20 20 20 20 20  20 20 20 20 6c 69 74 65  |            lite|
00003d10  72 61 6c 20 66 69 6c 65  6e 61 6d 65 73 20 63 61  |ral filenames ca|
00003d20  73 65 2d 73 65 6e 73 69  74 69 76 65 6c 79 2e 20  |se-sensitively. |
00003d30  20 54 68 61 74 20 69 73  2c 20 73 70 65 63 69 66  | That is, specif|
00003d40  79 69 6e 67 20 60 60 6d  61 6b 65 2d 0a 20 20 20  |ying ``make-.   |
00003d50  20 20 20 20 20 20 20 20  20 20 20 66 69 6c 65 27  |           file'|
00003d60  27 20 6f 6e 20 74 68 65  20 63 6f 6d 6d 61 6e 64  |' on the command|
00003d70  20 6c 69 6e 65 20 77 69  6c 6c 20 6f 6e 6c 79 20  | line will only |
00003d80  6d 61 74 63 68 20 60 60  6d 61 6b 65 66 69 6c 65  |match ``makefile|
00003d90  27 27 20 20 69 6e 20 20  74 68 65 0a 20 20 20 20  |''  in  the.    |
00003da0  20 20 20 20 20 20 20 20  20 20 61 72 63 68 69 76  |          archiv|
00003db0  65 2c 20 20 6e 6f 74 20  20 60 60 4d 61 6b 65 66  |e,  not  ``Makef|
00003dc0  69 6c 65 27 27 20 20 6f  72 20 20 60 60 4d 41 4b  |ile''  or  ``MAK|
00003dd0  45 46 49 4c 45 27 27 20  28 61 6e 64 20 73 69 6d  |EFILE'' (and sim|
00003de0  69 6c 61 72 6c 79 20 66  6f 72 0a 20 20 20 20 20  |ilarly for.     |
00003df0  20 20 20 20 20 20 20 20  20 77 69 6c 64 63 61 72  |         wildcar|
00003e00  64 20 73 70 65 63 69 66  69 63 61 74 69 6f 6e 73  |d specifications|
00003e10  29 2e 20 20 53 69 6e 63  65 20 74 68 69 73 20 64  |).  Since this d|
00003e20  6f 65 73 20 6e 6f 74 20  63 6f 72 72 65 73 70 6f  |oes not correspo|
00003e30  6e 64 20 74 6f 20 74 68  65 0a 20 20 20 20 20 20  |nd to the.      |
00003e40  20 20 20 20 20 20 20 20  62 65 68 61 76 69 6f 72  |        behavior|
00003e50  20 6f 66 20 6d 61 6e 79  20 6f 74 68 65 72 20 6f  | of many other o|
00003e60  70 65 72 61 74 69 6e 67  2f 66 69 6c 65 20 73 79  |perating/file sy|
00003e70  73 74 65 6d 73 20 28 66  6f 72 20 65 78 61 6d 70  |stems (for examp|
00003e80  6c 65 2c 20 4f 53 2f 32  0a 20 20 20 20 20 20 20  |le, OS/2.       |
00003e90  20 20 20 20 20 20 20 48  50 46 53 2c 20 77 68 69  |       HPFS, whi|
00003ea0  63 68 20 70 72 65 73 65  72 76 65 73 20 6d 69 78  |ch preserves mix|
00003eb0  65 64 20 63 61 73 65 20  62 75 74 20 69 73 20 6e  |ed case but is n|
00003ec0  6f 74 20 20 73 65 6e 73  69 74 69 76 65 20 20 74  |ot  sensitive  t|
00003ed0  6f 20 20 69 74 29 2c 0a  20 20 20 20 20 20 20 20  |o  it),.        |
00003ee0  20 20 20 20 20 20 74 68  65 20 20 2d 43 20 20 6f  |      the  -C  o|
00003ef0  70 74 69 6f 6e 20 20 6d  61 79 20 62 65 20 75 73  |ption  may be us|
00003f00  65 64 20 74 6f 20 66 6f  72 63 65 20 61 6c 6c 20  |ed to force all |
00003f10  66 69 6c 65 6e 61 6d 65  20 6d 61 74 63 68 65 73  |filename matches|
00003f20  20 74 6f 20 62 65 0a 20  20 20 20 20 20 20 20 20  | to be.         |
00003f30  20 20 20 20 20 63 61 73  65 2d 69 6e 73 65 6e 73  |     case-insens|
00003f40  69 74 69 76 65 2e 20 20  49 6e 20 74 68 65 20 65  |itive.  In the e|
00003f50  78 61 6d 70 6c 65 20 61  62 6f 76 65 2c 20 61 6c  |xample above, al|
00003f60  6c 20 74 68 72 65 65 20  20 66 69 6c 65 73 20 20  |l three  files  |
00003f70  77 6f 75 6c 64 0a 20 20  20 20 20 20 20 20 20 20  |would.          |
00003f80  20 20 20 20 74 68 65 6e  20 20 6d 61 74 63 68 20  |    then  match |
00003f90  20 60 60 6d 61 6b 65 66  69 6c 65 27 27 20 20 28  | ``makefile''  (|
00003fa0  6f 72 20 20 60 60 6d 61  6b 65 2a 27 27 2c 20 20  |or  ``make*'',  |
00003fb0  6f 72 20 73 69 6d 69 6c  61 72 29 2e 20 20 54 68  |or similar).  Th|
00003fc0  65 20 2d 43 0a 20 20 20  20 20 20 20 20 20 20 20  |e -C.           |
00003fd0  20 20 20 6f 70 74 69 6f  6e 20 61 66 66 65 63 74  |   option affect|
00003fe0  73 20 66 69 6c 65 20 73  70 65 63 73 20 69 6e 20  |s file specs in |
00003ff0  62 6f 74 68 20 74 68 65  20 6e 6f 72 6d 61 6c 20  |both the normal |
00004000  66 69 6c 65 20 6c 69 73  74 20 20 61 6e 64 20 20  |file list  and  |
00004010  74 68 65 0a 20 20 20 20  20 20 20 20 20 20 20 20  |the.            |
00004020  20 20 65 78 63 6c 75 64  65 64 2d 66 69 6c 65 20  |  excluded-file |
00004030  6c 69 73 74 20 28 78 6c  69 73 74 29 2e 0a 0a 20  |list (xlist)... |
00004040  20 20 20 20 20 20 20 20  20 20 20 20 20 50 6c 65  |             Ple|
00004050  61 73 65 20 20 6e 6f 74  65 20 20 74 68 61 74 20  |ase  note  that |
00004060  20 74 68 65 20 2d 43 20  6f 70 74 69 6f 6e 20 64  | the -C option d|
00004070  6f 65 73 20 6e 65 69 74  68 65 72 20 61 66 66 65  |oes neither affe|
00004080  63 74 20 74 68 65 20 73  65 61 72 63 68 0a 20 20  |ct the search.  |
00004090  20 20 20 20 20 20 20 20  20 20 20 20 66 6f 72 20  |            for |
000040a0  74 68 65 20 7a 69 70 66  69 6c 65 28 73 29 20 6e  |the zipfile(s) n|
000040b0  6f 72 20 74 68 65 20 6d  61 74 63 68 69 6e 67 20  |or the matching |
000040c0  6f 66 20 61 72 63 68 69  76 65 20 65 6e 74 72 69  |of archive entri|
000040d0  65 73 20 74 6f 20 65 78  69 73 74 2d 0a 20 20 20  |es to exist-.   |
000040e0  20 20 20 20 20 20 20 20  20 20 20 69 6e 67 20 66  |           ing f|
000040f0  69 6c 65 73 20 6f 6e 20  74 68 65 20 65 78 74 72  |iles on the extr|
00004100  61 63 74 69 6f 6e 20 70  61 74 68 2e 20 20 4f 6e  |action path.  On|
00004110  20 61 20 63 61 73 65 2d  73 65 6e 73 69 74 69 76  | a case-sensitiv|
00004120  65 20 66 69 6c 65 20 73  79 73 2d 0a 20 20 20 20  |e file sys-.    |
00004130  20 20 20 20 20 20 20 20  20 20 74 65 6d 2c 20 75  |          tem, u|
00004140  6e 7a 69 70 20 77 69 6c  6c 20 6e 65 76 65 72 20  |nzip will never |
00004150  74 72 79 20 20 74 6f 20  20 6f 76 65 72 77 72 69  |try  to  overwri|
00004160  74 65 20 20 61 20 20 66  69 6c 65 20 20 60 60 46  |te  a  file  ``F|
00004170  4f 4f 27 27 20 20 77 68  65 6e 0a 20 20 20 20 20  |OO''  when.     |
00004180  20 20 20 20 20 20 20 20  20 65 78 74 72 61 63 74  |         extract|
00004190  69 6e 67 20 61 6e 20 65  6e 74 72 79 20 60 60 66  |ing an entry ``f|
000041a0  6f 6f 27 27 21 0a 0a 20  20 20 20 20 20 20 2d 44  |oo''!..       -D|
000041b0  20 20 20 20 20 73 6b 69  70 20 20 72 65 73 74 6f  |     skip  resto|
000041c0  72 61 74 69 6f 6e 20 20  6f 66 20 74 69 6d 65 73  |ration  of times|
000041d0  74 61 6d 70 73 20 66 6f  72 20 65 78 74 72 61 63  |tamps for extrac|
000041e0  74 65 64 20 69 74 65 6d  73 2e 20 20 4e 6f 72 6d  |ted items.  Norm|
000041f0  61 6c 6c 79 2c 0a 20 20  20 20 20 20 20 20 20 20  |ally,.          |
00004200  20 20 20 20 75 6e 7a 69  70 20 74 72 69 65 73 20  |    unzip tries |
00004210  74 6f 20 72 65 73 74 6f  72 65 20 61 6c 6c 20 6d  |to restore all m|
00004220  65 74 61 2d 69 6e 66 6f  72 6d 61 74 69 6f 6e 20  |eta-information |
00004230  66 6f 72 20 65 78 74 72  61 63 74 65 64 20 20 69  |for extracted  i|
00004240  74 65 6d 73 0a 20 20 20  20 20 20 20 20 20 20 20  |tems.           |
00004250  20 20 20 74 68 61 74 20  20 61 72 65 20 73 75 70  |   that  are sup|
00004260  70 6c 69 65 64 20 69 6e  20 74 68 65 20 5a 69 70  |plied in the Zip|
00004270  20 61 72 63 68 69 76 65  20 28 61 6e 64 20 64 6f  | archive (and do|
00004280  20 6e 6f 74 20 72 65 71  75 69 72 65 20 70 72 69  | not require pri|
00004290  76 69 2d 0a 20 20 20 20  20 20 20 20 20 20 20 20  |vi-.            |
000042a0  20 20 6c 65 67 65 73 20  6f 72 20 69 6d 70 6f 73  |  leges or impos|
000042b0  65 20 61 20 73 65 63 75  72 69 74 79 20 72 69 73  |e a security ris|
000042c0  6b 29 2e 20 20 42 79 20  73 70 65 63 69 66 79 69  |k).  By specifyi|
000042d0  6e 67 20 20 2d 44 2c 20  20 75 6e 7a 69 70 20 20  |ng  -D,  unzip  |
000042e0  69 73 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |is.             |
000042f0  20 74 6f 6c 64 20 20 74  6f 20 20 73 75 70 70 72  | told  to  suppr|
00004300  65 73 73 20 20 72 65 73  74 6f 72 61 74 69 6f 6e  |ess  restoration|
00004310  20 20 6f 66 20 20 74 69  6d 65 73 74 61 6d 70 73  |  of  timestamps|
00004320  20 20 66 6f 72 20 64 69  72 65 63 74 6f 72 69 65  |  for directorie|
00004330  73 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |s.              |
00004340  65 78 70 6c 69 63 69 74  6c 79 20 63 72 65 61 74  |explicitly creat|
00004350  65 64 20 66 72 6f 6d 20  5a 69 70 20 61 72 63 68  |ed from Zip arch|
00004360  69 76 65 20 65 6e 74 72  69 65 73 2e 20 20 54 68  |ive entries.  Th|
00004370  69 73 20 20 6f 70 74 69  6f 6e 20 20 6f 6e 6c 79  |is  option  only|
00004380  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 61  |.              a|
00004390  70 70 6c 69 65 73 20 74  6f 20 70 6f 72 74 73 20  |pplies to ports |
000043a0  74 68 61 74 20 73 75 70  70 6f 72 74 20 73 65 74  |that support set|
000043b0  74 69 6e 67 20 74 69 6d  65 73 74 61 6d 70 73 20  |ting timestamps |
000043c0  66 6f 72 20 64 69 72 65  63 74 6f 72 69 65 73 0a  |for directories.|
000043d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 28 63  |              (c|
000043e0  75 72 72 65 6e 74 6c 79  20 41 54 68 65 4f 53 2c  |urrently ATheOS,|
000043f0  20 42 65 4f 53 2c 20 4d  61 63 4f 53 2c 20 20 4f  | BeOS, MacOS,  O|
00004400  53 2f 32 2c 20 20 55 6e  69 78 2c 20 20 56 4d 53  |S/2,  Unix,  VMS|
00004410  2c 20 20 57 69 6e 33 32  2c 20 20 66 6f 72 0a 20  |,  Win32,  for. |
00004420  20 20 20 20 20 20 20 20  20 20 20 20 20 6f 74 68  |             oth|
00004430  65 72 20 75 6e 7a 69 70  20 70 6f 72 74 73 2c 20  |er unzip ports, |
00004440  2d 44 20 68 61 73 20 6e  6f 20 65 66 66 65 63 74  |-D has no effect|
00004450  29 2e 20 20 54 68 65 20  64 75 70 6c 69 63 61 74  |).  The duplicat|
00004460  65 64 20 6f 70 74 69 6f  6e 20 2d 44 44 0a 20 20  |ed option -DD.  |
00004470  20 20 20 20 20 20 20 20  20 20 20 20 66 6f 72 63  |            forc|
00004480  65 73 20 73 75 70 70 72  65 73 73 69 6f 6e 20 6f  |es suppression o|
00004490  66 20 74 69 6d 65 73 74  61 6d 70 20 72 65 73 74  |f timestamp rest|
000044a0  6f 72 61 74 69 6f 6e 20  20 66 6f 72 20 20 61 6c  |oration  for  al|
000044b0  6c 20 20 65 78 74 72 61  63 74 65 64 0a 20 20 20  |l  extracted.   |
000044c0  20 20 20 20 20 20 20 20  20 20 20 65 6e 74 72 69  |           entri|
000044d0  65 73 20 28 66 69 6c 65  73 20 61 6e 64 20 64 69  |es (files and di|
000044e0  72 65 63 74 6f 72 69 65  73 29 2e 20 20 54 68 69  |rectories).  Thi|
000044f0  73 20 6f 70 74 69 6f 6e  20 72 65 73 75 6c 74 73  |s option results|
00004500  20 69 6e 20 73 65 74 74  69 6e 67 0a 20 20 20 20  | in setting.    |
00004510  20 20 20 20 20 20 20 20  20 20 74 68 65 20 74 69  |          the ti|
00004520  6d 65 73 74 61 6d 70 73  20 66 6f 72 20 61 6c 6c  |mestamps for all|
00004530  20 65 78 74 72 61 63 74  65 64 20 65 6e 74 72 69  | extracted entri|
00004540  65 73 20 74 6f 20 74 68  65 20 63 75 72 72 65 6e  |es to the curren|
00004550  74 20 74 69 6d 65 2e 0a  0a 20 20 20 20 20 20 20  |t time...       |
00004560  20 20 20 20 20 20 20 4f  6e 20 56 4d 53 2c 20 74  |       On VMS, t|
00004570  68 65 20 64 65 66 61 75  6c 74 20 73 65 74 74 69  |he default setti|
00004580  6e 67 20 66 6f 72 20 74  68 69 73 20 6f 70 74 69  |ng for this opti|
00004590  6f 6e 20 69 73 20 20 2d  44 20 20 66 6f 72 20 20  |on is  -D  for  |
000045a0  63 6f 6e 73 69 73 2d 0a  20 20 20 20 20 20 20 20  |consis-.        |
000045b0  20 20 20 20 20 20 74 65  6e 63 79 20 20 20 77 69  |      tency   wi|
000045c0  74 68 20 20 74 68 65 20  20 62 65 68 61 76 69 6f  |th  the  behavio|
000045d0  75 72 20 20 6f 66 20 20  42 41 43 4b 55 50 3a 20  |ur  of  BACKUP: |
000045e0  20 66 69 6c 65 20 20 74  69 6d 65 73 74 61 6d 70  | file  timestamp|
000045f0  73 20 20 61 72 65 0a 20  20 20 20 20 20 20 20 20  |s  are.         |
00004600  20 20 20 20 20 72 65 73  74 6f 72 65 64 2c 20 74  |     restored, t|
00004610  69 6d 65 73 74 61 6d 70  73 20 6f 66 20 65 78 74  |imestamps of ext|
00004620  72 61 63 74 65 64 20 64  69 72 65 63 74 6f 72 69  |racted directori|
00004630  65 73 20 61 72 65 20 20  6c 65 66 74 20 20 61 74  |es are  left  at|
00004640  20 20 74 68 65 0a 20 20  20 20 20 20 20 20 20 20  |  the.          |
00004650  20 20 20 20 63 75 72 72  65 6e 74 20 20 74 69 6d  |    current  tim|
00004660  65 2e 20 20 20 54 6f 20  20 65 6e 61 62 6c 65 20  |e.   To  enable |
00004670  72 65 73 74 6f 72 61 74  69 6f 6e 20 6f 66 20 64  |restoration of d|
00004680  69 72 65 63 74 6f 72 79  20 74 69 6d 65 73 74 61  |irectory timesta|
00004690  6d 70 73 2c 0a 20 20 20  20 20 20 20 20 20 20 20  |mps,.           |
000046a0  20 20 20 74 68 65 20 6e  65 67 61 74 65 64 20 6f  |   the negated o|
000046b0  70 74 69 6f 6e 20 2d 2d  44 20 73 68 6f 75 6c 64  |ption --D should|
000046c0  20 62 65 20 73 70 65 63  69 66 69 65 64 2e 20 20  | be specified.  |
000046d0  4f 6e 20 56 4d 53 2c 20  74 68 65 20 20 6f 70 74  |On VMS, the  opt|
000046e0  69 6f 6e 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ion.            |
000046f0  20 20 2d 44 20 20 64 69  73 61 62 6c 65 73 20 74  |  -D  disables t|
00004700  69 6d 65 73 74 61 6d 70  20 72 65 73 74 6f 72 61  |imestamp restora|
00004710  74 69 6f 6e 20 66 6f 72  20 61 6c 6c 20 65 78 74  |tion for all ext|
00004720  72 61 63 74 65 64 20 5a  69 70 20 61 72 63 68 69  |racted Zip archi|
00004730  76 65 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |ve.             |
00004740  20 69 74 65 6d 73 2e 20  20 28 48 65 72 65 2c 20  | items.  (Here, |
00004750  61 20 73 69 6e 67 6c 65  20 2d 44 20 6f 6e 20 74  |a single -D on t|
00004760  68 65 20 63 6f 6d 6d 61  6e 64 20 6c 69 6e 65 20  |he command line |
00004770  63 6f 6d 62 69 6e 65 73  20 77 69 74 68 20 74 68  |combines with th|
00004780  65 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |e.              |
00004790  64 65 66 61 75 6c 74 20  2d 44 20 74 6f 20 64 6f  |default -D to do|
000047a0  20 77 68 61 74 20 61 6e  20 65 78 70 6c 69 63 69  | what an explici|
000047b0  74 20 2d 44 44 20 64 6f  65 73 20 6f 6e 20 6f 74  |t -DD does on ot|
000047c0  68 65 72 20 73 79 73 74  65 6d 73 2e 29 0a 0a 20  |her systems.).. |
000047d0  20 20 20 20 20 20 2d 45  20 20 20 20 20 5b 4d 61  |      -E     [Ma|
000047e0  63 4f 53 20 20 6f 6e 6c  79 5d 20 20 64 69 73 70  |cOS  only]  disp|
000047f0  6c 61 79 20 20 63 6f 6e  74 65 6e 74 73 20 20 6f  |lay  contents  o|
00004800  66 20 20 4d 61 63 4f 53  20 20 65 78 74 72 61 20  |f  MacOS  extra |
00004810  20 66 69 65 6c 64 20 64  75 72 69 6e 67 0a 20 20  | field during.  |
00004820  20 20 20 20 20 20 20 20  20 20 20 20 72 65 73 74  |            rest|
00004830  6f 72 65 20 6f 70 65 72  61 74 69 6f 6e 2e 0a 0a  |ore operation...|
00004840  20 20 20 20 20 20 20 2d  46 20 20 20 20 20 5b 41  |       -F     [A|
00004850  63 6f 72 6e 20 6f 6e 6c  79 5d 20 73 75 70 70 72  |corn only] suppr|
00004860  65 73 73 20 72 65 6d 6f  76 61 6c 20 6f 66 20 20  |ess removal of  |
00004870  4e 46 53 20 20 66 69 6c  65 74 79 70 65 20 20 65  |NFS  filetype  e|
00004880  78 74 65 6e 73 69 6f 6e  20 20 66 72 6f 6d 0a 20  |xtension  from. |
00004890  20 20 20 20 20 20 20 20  20 20 20 20 20 73 74 6f  |             sto|
000048a0  72 65 64 20 66 69 6c 65  6e 61 6d 65 73 2e 0a 0a  |red filenames...|
000048b0  20 20 20 20 20 20 20 2d  46 20 20 20 20 20 5b 6e  |       -F     [n|
000048c0  6f 6e 2d 41 63 6f 72 6e  20 20 73 79 73 74 65 6d  |on-Acorn  system|
000048d0  73 20 73 75 70 70 6f 72  74 69 6e 67 20 6c 6f 6e  |s supporting lon|
000048e0  67 20 66 69 6c 65 6e 61  6d 65 73 20 77 69 74 68  |g filenames with|
000048f0  20 65 6d 62 65 64 64 65  64 20 63 6f 6d 2d 0a 20  | embedded com-. |
00004900  20 20 20 20 20 20 20 20  20 20 20 20 20 6d 61 73  |             mas|
00004910  2c 20 61 6e 64 20 6f 6e  6c 79 20 69 66 20 63 6f  |, and only if co|
00004920  6d 70 69 6c 65 64 20 77  69 74 68 20 41 43 4f 52  |mpiled with ACOR|
00004930  4e 5f 46 54 59 50 45 5f  4e 46 53 20 20 64 65 66  |N_FTYPE_NFS  def|
00004940  69 6e 65 64 5d 20 20 74  72 61 6e 73 2d 0a 20 20  |ined]  trans-.  |
00004950  20 20 20 20 20 20 20 20  20 20 20 20 6c 61 74 65  |            late|
00004960  20 20 66 69 6c 65 74 79  70 65 20 69 6e 66 6f 72  |  filetype infor|
00004970  6d 61 74 69 6f 6e 20 66  72 6f 6d 20 41 43 4f 52  |mation from ACOR|
00004980  4e 20 52 49 53 43 20 4f  53 20 65 78 74 72 61 20  |N RISC OS extra |
00004990  66 69 65 6c 64 20 62 6c  6f 63 6b 73 0a 20 20 20  |field blocks.   |
000049a0  20 20 20 20 20 20 20 20  20 20 20 69 6e 74 6f 20  |           into |
000049b0  61 20 4e 46 53 20 66 69  6c 65 74 79 70 65 20 65  |a NFS filetype e|
000049c0  78 74 65 6e 73 69 6f 6e  20 61 6e 64 20 61 70 70  |xtension and app|
000049d0  65 6e 64 20 69 74 20 74  6f 20 74 68 65 20 6e 61  |end it to the na|
000049e0  6d 65 73 20 6f 66 20 20  74 68 65 0a 20 20 20 20  |mes of  the.    |
000049f0  20 20 20 20 20 20 20 20  20 20 65 78 74 72 61 63  |          extrac|
00004a00  74 65 64 20 20 66 69 6c  65 73 2e 20 20 20 28 57  |ted  files.   (W|
00004a10  68 65 6e 20 74 68 65 20  73 74 6f 72 65 64 20 66  |hen the stored f|
00004a20  69 6c 65 6e 61 6d 65 20  61 70 70 65 61 72 73 20  |ilename appears |
00004a30  74 6f 20 61 6c 72 65 61  64 79 0a 20 20 20 20 20  |to already.     |
00004a40  20 20 20 20 20 20 20 20  20 68 61 76 65 20 61 6e  |         have an|
00004a50  20 61 70 70 65 6e 64 65  64 20 4e 46 53 20 66 69  | appended NFS fi|
00004a60  6c 65 74 79 70 65 20 65  78 74 65 6e 73 69 6f 6e  |letype extension|
00004a70  2c 20 69 74 20 69 73 20  72 65 70 6c 61 63 65 64  |, it is replaced|
00004a80  20 20 62 79 20 20 74 68  65 0a 20 20 20 20 20 20  |  by  the.      |
00004a90  20 20 20 20 20 20 20 20  69 6e 66 6f 20 66 72 6f  |        info fro|
00004aa0  6d 20 74 68 65 20 65 78  74 72 61 20 66 69 65 6c  |m the extra fiel|
00004ab0  64 2e 29 0a 0a 20 20 20  20 20 20 20 2d 69 20 20  |d.)..       -i  |
00004ac0  20 20 20 5b 4d 61 63 4f  53 20 20 6f 6e 6c 79 5d  |   [MacOS  only]|
00004ad0  20 20 69 67 6e 6f 72 65  20 20 66 69 6c 65 6e 61  |  ignore  filena|
00004ae0  6d 65 73 20 20 73 74 6f  72 65 64 20 20 69 6e 20  |mes  stored  in |
00004af0  4d 61 63 4f 53 20 65 78  74 72 61 20 66 69 65 6c  |MacOS extra fiel|
00004b00  64 73 2e 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ds..            |
00004b10  20 20 49 6e 73 74 65 61  64 2c 20 74 68 65 20 6d  |  Instead, the m|
00004b20  6f 73 74 20 63 6f 6d 70  61 74 69 62 6c 65 20 66  |ost compatible f|
00004b30  69 6c 65 6e 61 6d 65 20  73 74 6f 72 65 64 20 69  |ilename stored i|
00004b40  6e 20 74 68 65 20 67 65  6e 65 72 69 63 20 70 61  |n the generic pa|
00004b50  72 74 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |rt.             |
00004b60  20 6f 66 20 74 68 65 20  65 6e 74 72 79 27 73 20  | of the entry's |
00004b70  68 65 61 64 65 72 20 69  73 20 75 73 65 64 2e 0a  |header is used..|
00004b80  0a 20 20 20 20 20 20 20  2d 6a 20 20 20 20 20 6a  |.       -j     j|
00004b90  75 6e 6b 20 70 61 74 68  73 2e 20 20 54 68 65 20  |unk paths.  The |
00004ba0  61 72 63 68 69 76 65 27  73 20 64 69 72 65 63 74  |archive's direct|
00004bb0  6f 72 79 20 73 74 72 75  63 74 75 72 65 20 69 73  |ory structure is|
00004bc0  20 6e 6f 74 20 72 65 63  72 65 61 74 65 64 3b 0a  | not recreated;.|
00004bd0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 61 6c  |              al|
00004be0  6c 20 66 69 6c 65 73 20  61 72 65 20 64 65 70 6f  |l files are depo|
00004bf0  73 69 74 65 64 20 69 6e  20 74 68 65 20 65 78 74  |sited in the ext|
00004c00  72 61 63 74 69 6f 6e 20  64 69 72 65 63 74 6f 72  |raction director|
00004c10  79 20 28 62 79 20 64 65  66 61 75 6c 74 2c 0a 20  |y (by default,. |
00004c20  20 20 20 20 20 20 20 20  20 20 20 20 20 74 68 65  |             the|
00004c30  20 63 75 72 72 65 6e 74  20 6f 6e 65 29 2e 0a 0a  | current one)...|
00004c40  20 20 20 20 20 20 20 2d  4a 20 20 20 20 20 5b 42  |       -J     [B|
00004c50  65 4f 53 20 20 20 6f 6e  6c 79 5d 20 20 6a 75 6e  |eOS   only]  jun|
00004c60  6b 20 20 66 69 6c 65 20  20 61 74 74 72 69 62 75  |k  file  attribu|
00004c70  74 65 73 2e 20 20 20 54  68 65 20 20 66 69 6c 65  |tes.   The  file|
00004c80  27 73 20 20 42 65 4f 53  20 20 66 69 6c 65 0a 20  |'s  BeOS  file. |
00004c90  20 20 20 20 20 20 20 20  20 20 20 20 20 61 74 74  |             att|
00004ca0  72 69 62 75 74 65 73 20  61 72 65 20 6e 6f 74 20  |ributes are not |
00004cb0  72 65 73 74 6f 72 65 64  2c 20 6a 75 73 74 20 74  |restored, just t|
00004cc0  68 65 20 66 69 6c 65 27  73 20 64 61 74 61 2e 0a  |he file's data..|
00004cd0  0a 20 20 20 20 20 20 20  2d 4a 20 20 20 20 20 5b  |.       -J     [|
00004ce0  4d 61 63 4f 53 20 6f 6e  6c 79 5d 20 69 67 6e 6f  |MacOS only] igno|
00004cf0  72 65 20 4d 61 63 4f 53  20 65 78 74 72 61 20 66  |re MacOS extra f|
00004d00  69 65 6c 64 73 2e 20 20  41 6c 6c 20 4d 61 63 69  |ields.  All Maci|
00004d10  6e 74 6f 73 68 20 20 73  70 65 63 69 66 69 63 0a  |ntosh  specific.|
00004d20  20 20 20 20 20 20 20 20  20 20 20 20 20 20 69 6e  |              in|
00004d30  66 6f 20 20 69 73 20 20  73 6b 69 70 70 65 64 2e  |fo  is  skipped.|
00004d40  20 20 44 61 74 61 2d 66  6f 72 6b 20 20 61 6e 64  |  Data-fork  and|
00004d50  20 72 65 73 6f 75 72 63  65 2d 66 6f 72 6b 20 61  | resource-fork a|
00004d60  72 65 20 72 65 73 74 6f  72 65 64 20 61 73 0a 20  |re restored as. |
00004d70  20 20 20 20 20 20 20 20  20 20 20 20 20 73 65 70  |             sep|
00004d80  61 72 61 74 65 20 66 69  6c 65 73 2e 0a 0a 20 20  |arate files...  |
00004d90  20 20 20 20 20 2d 4b 20  20 20 20 20 5b 41 74 68  |     -K     [Ath|
00004da0  65 4f 53 2c 20 20 42 65  4f 53 2c 20 20 20 55 6e  |eOS,  BeOS,   Un|
00004db0  69 78 20 20 20 6f 6e 6c  79 5d 20 20 20 72 65 74  |ix   only]   ret|
00004dc0  61 69 6e 20 20 20 53 55  49 44 2f 53 47 49 44 2f  |ain   SUID/SGID/|
00004dd0  54 61 63 6b 79 20 20 20  66 69 6c 65 0a 20 20 20  |Tacky   file.   |
00004de0  20 20 20 20 20 20 20 20  20 20 20 61 74 74 72 69  |           attri|
00004df0  62 75 74 65 73 2e 20 20  57 69 74 68 6f 75 74 20  |butes.  Without |
00004e00  74 68 69 73 20 66 6c 61  67 2c 20 74 68 65 73 65  |this flag, these|
00004e10  20 61 74 74 72 69 62 75  74 65 20 62 69 74 73 20  | attribute bits |
00004e20  61 72 65 20 63 6c 65 61  72 65 64 0a 20 20 20 20  |are cleared.    |
00004e30  20 20 20 20 20 20 20 20  20 20 66 6f 72 20 73 65  |          for se|
00004e40  63 75 72 69 74 79 20 72  65 61 73 6f 6e 73 2e 0a  |curity reasons..|
00004e50  0a 20 20 20 20 20 20 20  2d 4c 20 20 20 20 20 63  |.       -L     c|
00004e60  6f 6e 76 65 72 74 20 74  6f 20 6c 6f 77 65 72 63  |onvert to lowerc|
00004e70  61 73 65 20 61 6e 79 20  66 69 6c 65 6e 61 6d 65  |ase any filename|
00004e80  20 6f 72 69 67 69 6e 61  74 69 6e 67 20 6f 6e 20  | originating on |
00004e90  20 61 6e 20 20 75 70 70  65 72 63 61 73 65 2d 0a  | an  uppercase-.|
00004ea0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 6f 6e  |              on|
00004eb0  6c 79 20 6f 70 65 72 61  74 69 6e 67 20 73 79 73  |ly operating sys|
00004ec0  74 65 6d 20 6f 72 20 66  69 6c 65 20 73 79 73 74  |tem or file syst|
00004ed0  65 6d 2e 20 20 28 54 68  69 73 20 77 61 73 20 75  |em.  (This was u|
00004ee0  6e 7a 69 70 27 73 20 64  65 66 61 75 6c 74 0a 20  |nzip's default. |
00004ef0  20 20 20 20 20 20 20 20  20 20 20 20 20 62 65 68  |             beh|
00004f00  61 76 69 6f 72 20 69 6e  20 72 65 6c 65 61 73 65  |avior in release|
00004f10  73 20 70 72 69 6f 72 20  74 6f 20 35 2e 31 31 3b  |s prior to 5.11;|
00004f20  20 74 68 65 20 6e 65 77  20 64 65 66 61 75 6c 74  | the new default|
00004f30  20 62 65 68 61 76 69 6f  72 20 20 69 73 0a 20 20  | behavior  is.  |
00004f40  20 20 20 20 20 20 20 20  20 20 20 20 69 64 65 6e  |            iden|
00004f50  74 69 63 61 6c 20 20 74  6f 20 20 74 68 65 20 6f  |tical  to  the o|
00004f60  6c 64 20 62 65 68 61 76  69 6f 72 20 77 69 74 68  |ld behavior with|
00004f70  20 74 68 65 20 2d 55 20  6f 70 74 69 6f 6e 2c 20  | the -U option, |
00004f80  77 68 69 63 68 20 69 73  20 6e 6f 77 0a 20 20 20  |which is now.   |
00004f90  20 20 20 20 20 20 20 20  20 20 20 6f 62 73 6f 6c  |           obsol|
00004fa0  65 74 65 20 61 6e 64 20  77 69 6c 6c 20 62 65 20  |ete and will be |
00004fb0  72 65 6d 6f 76 65 64 20  69 6e 20 61 20 66 75 74  |removed in a fut|
00004fc0  75 72 65 20 72 65 6c 65  61 73 65 2e 29 20 20 44  |ure release.)  D|
00004fd0  65 70 65 6e 64 69 6e 67  20 6f 6e 0a 20 20 20 20  |epending on.    |
00004fe0  20 20 20 20 20 20 20 20  20 20 74 68 65 20 20 61  |          the  a|
00004ff0  72 63 68 69 76 65 72 2c  20 20 66 69 6c 65 73 20  |rchiver,  files |
00005000  20 61 72 63 68 69 76 65  64 20 20 75 6e 64 65 72  | archived  under|
00005010  20 20 73 69 6e 67 6c 65  2d 63 61 73 65 20 66 69  |  single-case fi|
00005020  6c 65 20 73 79 73 74 65  6d 73 0a 20 20 20 20 20  |le systems.     |
00005030  20 20 20 20 20 20 20 20  20 28 56 4d 53 2c 20 6f  |         (VMS, o|
00005040  6c 64 20 4d 53 2d 44 4f  53 20 46 41 54 2c 20 20  |ld MS-DOS FAT,  |
00005050  65 74 63 2e 29 20 20 6d  61 79 20 20 62 65 20 20  |etc.)  may  be  |
00005060  73 74 6f 72 65 64 20 20  61 73 20 20 61 6c 6c 2d  |stored  as  all-|
00005070  75 70 70 65 72 63 61 73  65 0a 20 20 20 20 20 20  |uppercase.      |
00005080  20 20 20 20 20 20 20 20  6e 61 6d 65 73 3b 20 20  |        names;  |
00005090  74 68 69 73 20 20 63 61  6e 20 20 62 65 20 20 75  |this  can  be  u|
000050a0  67 6c 79 20 6f 72 20 69  6e 63 6f 6e 76 65 6e 69  |gly or inconveni|
000050b0  65 6e 74 20 77 68 65 6e  20 65 78 74 72 61 63 74  |ent when extract|
000050c0  69 6e 67 20 74 6f 20 61  0a 20 20 20 20 20 20 20  |ing to a.       |
000050d0  20 20 20 20 20 20 20 63  61 73 65 2d 70 72 65 73  |       case-pres|
000050e0  65 72 76 69 6e 67 20 66  69 6c 65 20 73 79 73 74  |erving file syst|
000050f0  65 6d 20 73 75 63 68 20  61 73 20 4f 53 2f 32 20  |em such as OS/2 |
00005100  48 50 46 53 20 6f 72 20  20 61 20 20 63 61 73 65  |HPFS or  a  case|
00005110  2d 73 65 6e 73 69 2d 0a  20 20 20 20 20 20 20 20  |-sensi-.        |
00005120  20 20 20 20 20 20 74 69  76 65 20 20 6f 6e 65 20  |      tive  one |
00005130  20 73 75 63 68 20 20 61  73 20 20 75 6e 64 65 72  | such  as  under|
00005140  20 20 55 6e 69 78 2e 20  20 20 42 79 20 20 64 65  |  Unix.   By  de|
00005150  66 61 75 6c 74 20 20 75  6e 7a 69 70 20 6c 69 73  |fault  unzip lis|
00005160  74 73 20 61 6e 64 0a 20  20 20 20 20 20 20 20 20  |ts and.         |
00005170  20 20 20 20 20 65 78 74  72 61 63 74 73 20 73 75  |     extracts su|
00005180  63 68 20 66 69 6c 65 6e  61 6d 65 73 20 65 78 61  |ch filenames exa|
00005190  63 74 6c 79 20 20 61 73  20 20 74 68 65 79 27 72  |ctly  as  they'r|
000051a0  65 20 20 73 74 6f 72 65  64 20 20 28 65 78 63 65  |e  stored  (exce|
000051b0  70 74 69 6e 67 0a 20 20  20 20 20 20 20 20 20 20  |pting.          |
000051c0  20 20 20 20 74 72 75 6e  63 61 74 69 6f 6e 2c 20  |    truncation, |
000051d0  20 63 6f 6e 76 65 72 73  69 6f 6e 20 20 6f 66 20  | conversion  of |
000051e0  20 75 6e 73 75 70 70 6f  72 74 65 64 20 63 68 61  | unsupported cha|
000051f0  72 61 63 74 65 72 73 2c  20 65 74 63 2e 29 3b 20  |racters, etc.); |
00005200  74 68 69 73 0a 20 20 20  20 20 20 20 20 20 20 20  |this.           |
00005210  20 20 20 6f 70 74 69 6f  6e 20 63 61 75 73 65 73  |   option causes|
00005220  20 74 68 65 20 6e 61 6d  65 73 20 6f 66 20 61 6c  | the names of al|
00005230  6c 20 66 69 6c 65 73 20  66 72 6f 6d 20 63 65 72  |l files from cer|
00005240  74 61 69 6e 20 73 79 73  74 65 6d 73 20 74 6f 20  |tain systems to |
00005250  20 62 65 0a 20 20 20 20  20 20 20 20 20 20 20 20  | be.            |
00005260  20 20 63 6f 6e 76 65 72  74 65 64 20 20 74 6f 20  |  converted  to |
00005270  20 6c 6f 77 65 72 63 61  73 65 2e 20 20 20 54 68  | lowercase.   Th|
00005280  65 20 20 2d 4c 4c 20 6f  70 74 69 6f 6e 20 66 6f  |e  -LL option fo|
00005290  72 63 65 73 20 63 6f 6e  76 65 72 73 69 6f 6e 20  |rces conversion |
000052a0  6f 66 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |of.             |
000052b0  20 65 76 65 72 79 20 66  69 6c 65 6e 61 6d 65 20  | every filename |
000052c0  74 6f 20 6c 6f 77 65 72  63 61 73 65 2c 20 72 65  |to lowercase, re|
000052d0  67 61 72 64 6c 65 73 73  20 6f 66 20 74 68 65 20  |gardless of the |
000052e0  6f 72 69 67 69 6e 61 74  69 6e 67 20 20 66 69 6c  |originating  fil|
000052f0  65 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |e.              |
00005300  73 79 73 74 65 6d 2e 0a  0a 20 20 20 20 20 20 20  |system...       |
00005310  2d 4d 20 20 20 20 20 70  69 70 65 20 20 61 6c 6c  |-M     pipe  all|
00005320  20 20 6f 75 74 70 75 74  20 20 74 68 72 6f 75 67  |  output  throug|
00005330  68 20 61 6e 20 69 6e 74  65 72 6e 61 6c 20 70 61  |h an internal pa|
00005340  67 65 72 20 73 69 6d 69  6c 61 72 20 74 6f 20 74  |ger similar to t|
00005350  68 65 20 55 6e 69 78 0a  20 20 20 20 20 20 20 20  |he Unix.        |
00005360  20 20 20 20 20 20 6d 6f  72 65 28 31 29 20 63 6f  |      more(1) co|
00005370  6d 6d 61 6e 64 2e 20 20  41 74 20 74 68 65 20 65  |mmand.  At the e|
00005380  6e 64 20 6f 66 20 61 20  20 73 63 72 65 65 6e 66  |nd of a  screenf|
00005390  75 6c 20 20 6f 66 20 20  6f 75 74 70 75 74 2c 20  |ul  of  output, |
000053a0  20 75 6e 7a 69 70 0a 20  20 20 20 20 20 20 20 20  | unzip.         |
000053b0  20 20 20 20 20 70 61 75  73 65 73 20 20 77 69 74  |     pauses  wit|
000053c0  68 20 20 61 20 20 60 60  2d 2d 4d 6f 72 65 2d 2d  |h  a  ``--More--|
000053d0  27 27 20 20 70 72 6f 6d  70 74 3b 20 74 68 65 20  |''  prompt; the |
000053e0  6e 65 78 74 20 73 63 72  65 65 6e 66 75 6c 20 6d  |next screenful m|
000053f0  61 79 20 62 65 0a 20 20  20 20 20 20 20 20 20 20  |ay be.          |
00005400  20 20 20 20 76 69 65 77  65 64 20 62 79 20 70 72  |    viewed by pr|
00005410  65 73 73 69 6e 67 20 74  68 65 20 45 6e 74 65 72  |essing the Enter|
00005420  20 28 52 65 74 75 72 6e  29 20 20 6b 65 79 20 20  | (Return)  key  |
00005430  6f 72 20 20 74 68 65 20  20 73 70 61 63 65 20 20  |or  the  space  |
00005440  62 61 72 2e 0a 20 20 20  20 20 20 20 20 20 20 20  |bar..           |
00005450  20 20 20 75 6e 7a 69 70  20 20 63 61 6e 20 20 62  |   unzip  can  b|
00005460  65 20 74 65 72 6d 69 6e  61 74 65 64 20 62 79 20  |e terminated by |
00005470  70 72 65 73 73 69 6e 67  20 74 68 65 20 60 60 71  |pressing the ``q|
00005480  27 27 20 6b 65 79 20 61  6e 64 2c 20 6f 6e 20 73  |'' key and, on s|
00005490  6f 6d 65 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ome.            |
000054a0  20 20 73 79 73 74 65 6d  73 2c 20 74 68 65 20 45  |  systems, the E|
000054b0  6e 74 65 72 2f 52 65 74  75 72 6e 20 6b 65 79 2e  |nter/Return key.|
000054c0  20 20 55 6e 6c 69 6b 65  20 55 6e 69 78 20 6d 6f  |  Unlike Unix mo|
000054d0  72 65 28 31 29 2c 20 74  68 65 72 65 20 69 73 20  |re(1), there is |
000054e0  6e 6f 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |no.             |
000054f0  20 66 6f 72 77 61 72 64  2d 73 65 61 72 63 68 69  | forward-searchi|
00005500  6e 67 20 20 6f 72 20 20  65 64 69 74 69 6e 67 20  |ng  or  editing |
00005510  20 63 61 70 61 62 69 6c  69 74 79 2e 20 20 41 6c  | capability.  Al|
00005520  73 6f 2c 20 75 6e 7a 69  70 20 64 6f 65 73 6e 27  |so, unzip doesn'|
00005530  74 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |t.              |
00005540  6e 6f 74 69 63 65 20 69  66 20 6c 6f 6e 67 20 6c  |notice if long l|
00005550  69 6e 65 73 20 77 72 61  70 20 61 74 20 74 68 65  |ines wrap at the|
00005560  20 65 64 67 65 20 6f 66  20 74 68 65 20 73 63 72  | edge of the scr|
00005570  65 65 6e 2c 20 65 66 66  65 63 74 69 76 65 6c 79  |een, effectively|
00005580  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 72  |.              r|
00005590  65 73 75 6c 74 69 6e 67  20 20 69 6e 20 20 74 68  |esulting  in  th|
000055a0  65 20 70 72 69 6e 74 69  6e 67 20 6f 66 20 74 77  |e printing of tw|
000055b0  6f 20 6f 72 20 6d 6f 72  65 20 6c 69 6e 65 73 20  |o or more lines |
000055c0  61 6e 64 20 74 68 65 20  6c 69 6b 65 6c 69 2d 0a  |and the likeli-.|
000055d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 68 6f  |              ho|
000055e0  6f 64 20 74 68 61 74 20  73 6f 6d 65 20 74 65 78  |od that some tex|
000055f0  74 20 77 69 6c 6c 20 73  63 72 6f 6c 6c 20 6f 66  |t will scroll of|
00005600  66 20 74 68 65 20 74 6f  70 20 6f 66 20 74 68 65  |f the top of the|
00005610  20 73 63 72 65 65 6e 20  62 65 66 6f 72 65 0a 20  | screen before. |
00005620  20 20 20 20 20 20 20 20  20 20 20 20 20 62 65 69  |             bei|
00005630  6e 67 20 20 76 69 65 77  65 64 2e 20 20 4f 6e 20  |ng  viewed.  On |
00005640  73 6f 6d 65 20 73 79 73  74 65 6d 73 20 74 68 65  |some systems the|
00005650  20 6e 75 6d 62 65 72 20  6f 66 20 61 76 61 69 6c  | number of avail|
00005660  61 62 6c 65 20 6c 69 6e  65 73 20 6f 6e 0a 20 20  |able lines on.  |
00005670  20 20 20 20 20 20 20 20  20 20 20 20 74 68 65 20  |            the |
00005680  73 63 72 65 65 6e 20 69  73 20 6e 6f 74 20 64 65  |screen is not de|
00005690  74 65 63 74 65 64 2c 20  69 6e 20 20 77 68 69 63  |tected, in  whic|
000056a0  68 20 20 63 61 73 65 20  20 75 6e 7a 69 70 20 20  |h  case  unzip  |
000056b0  61 73 73 75 6d 65 73 20  20 74 68 65 0a 20 20 20  |assumes  the.   |
000056c0  20 20 20 20 20 20 20 20  20 20 20 68 65 69 67 68  |           heigh|
000056d0  74 20 69 73 20 32 34 20  6c 69 6e 65 73 2e 0a 0a  |t is 24 lines...|
000056e0  20 20 20 20 20 20 20 2d  6e 20 20 20 20 20 6e 65  |       -n     ne|
000056f0  76 65 72 20 20 6f 76 65  72 77 72 69 74 65 20 65  |ver  overwrite e|
00005700  78 69 73 74 69 6e 67 20  66 69 6c 65 73 2e 20 20  |xisting files.  |
00005710  49 66 20 61 20 66 69 6c  65 20 61 6c 72 65 61 64  |If a file alread|
00005720  79 20 65 78 69 73 74 73  2c 20 73 6b 69 70 0a 20  |y exists, skip. |
00005730  20 20 20 20 20 20 20 20  20 20 20 20 20 74 68 65  |             the|
00005740  20 65 78 74 72 61 63 74  69 6f 6e 20 6f 66 20 74  | extraction of t|
00005750  68 61 74 20 66 69 6c 65  20 77 69 74 68 6f 75 74  |hat file without|
00005760  20 70 72 6f 6d 70 74 69  6e 67 2e 20 20 42 79 20  | prompting.  By |
00005770  64 65 66 61 75 6c 74 20  75 6e 7a 69 70 0a 20 20  |default unzip.  |
00005780  20 20 20 20 20 20 20 20  20 20 20 20 71 75 65 72  |            quer|
00005790  69 65 73 20 62 65 66 6f  72 65 20 65 78 74 72 61  |ies before extra|
000057a0  63 74 69 6e 67 20 61 6e  79 20 66 69 6c 65 20 74  |cting any file t|
000057b0  68 61 74 20 61 6c 72 65  61 64 79 20 65 78 69 73  |hat already exis|
000057c0  74 73 3b 20 74 68 65 20  75 73 65 72 0a 20 20 20  |ts; the user.   |
000057d0  20 20 20 20 20 20 20 20  20 20 20 6d 61 79 20 63  |           may c|
000057e0  68 6f 6f 73 65 20 74 6f  20 6f 76 65 72 77 72 69  |hoose to overwri|
000057f0  74 65 20 6f 6e 6c 79 20  74 68 65 20 20 63 75 72  |te only the  cur|
00005800  72 65 6e 74 20 20 66 69  6c 65 2c 20 20 6f 76 65  |rent  file,  ove|
00005810  72 77 72 69 74 65 20 20  61 6c 6c 0a 20 20 20 20  |rwrite  all.    |
00005820  20 20 20 20 20 20 20 20  20 20 66 69 6c 65 73 2c  |          files,|
00005830  20 20 73 6b 69 70 20 20  65 78 74 72 61 63 74 69  |  skip  extracti|
00005840  6f 6e 20 6f 66 20 74 68  65 20 63 75 72 72 65 6e  |on of the curren|
00005850  74 20 66 69 6c 65 2c 20  73 6b 69 70 20 65 78 74  |t file, skip ext|
00005860  72 61 63 74 69 6f 6e 20  6f 66 0a 20 20 20 20 20  |raction of.     |
00005870  20 20 20 20 20 20 20 20  20 61 6c 6c 20 65 78 69  |         all exi|
00005880  73 74 69 6e 67 20 66 69  6c 65 73 2c 20 6f 72 20  |sting files, or |
00005890  72 65 6e 61 6d 65 20 74  68 65 20 63 75 72 72 65  |rename the curre|
000058a0  6e 74 20 66 69 6c 65 2e  0a 0a 20 20 20 20 20 20  |nt file...      |
000058b0  20 2d 4e 20 20 20 20 20  5b 41 6d 69 67 61 5d 20  | -N     [Amiga] |
000058c0  65 78 74 72 61 63 74 20  66 69 6c 65 20 63 6f 6d  |extract file com|
000058d0  6d 65 6e 74 73 20 61 73  20 41 6d 69 67 61 20 66  |ments as Amiga f|
000058e0  69 6c 65 6e 6f 74 65 73  2e 20 20 46 69 6c 65 20  |ilenotes.  File |
000058f0  63 6f 6d 6d 65 6e 74 73  0a 20 20 20 20 20 20 20  |comments.       |
00005900  20 20 20 20 20 20 20 61  72 65 20 63 72 65 61 74  |       are creat|
00005910  65 64 20 77 69 74 68 20  74 68 65 20 2d 63 20 6f  |ed with the -c o|
00005920  70 74 69 6f 6e 20 6f 66  20 7a 69 70 28 31 4c 29  |ption of zip(1L)|
00005930  2c 20 6f 72 20 77 69 74  68 20 74 68 65 20 2d 4e  |, or with the -N|
00005940  20 6f 70 74 69 6f 6e 0a  20 20 20 20 20 20 20 20  | option.        |
00005950  20 20 20 20 20 20 6f 66  20 74 68 65 20 41 6d 69  |      of the Ami|
00005960  67 61 20 70 6f 72 74 20  6f 66 20 7a 69 70 28 31  |ga port of zip(1|
00005970  4c 29 2c 20 77 68 69 63  68 20 20 73 74 6f 72 65  |L), which  store|
00005980  73 20 20 66 69 6c 65 6e  6f 74 65 73 20 20 61 73  |s  filenotes  as|
00005990  20 20 63 6f 6d 2d 0a 20  20 20 20 20 20 20 20 20  |  com-.         |
000059a0  20 20 20 20 20 6d 65 6e  74 73 2e 0a 0a 20 20 20  |     ments...   |
000059b0  20 20 20 20 2d 6f 20 20  20 20 20 6f 76 65 72 77  |    -o     overw|
000059c0  72 69 74 65 20 65 78 69  73 74 69 6e 67 20 66 69  |rite existing fi|
000059d0  6c 65 73 20 77 69 74 68  6f 75 74 20 70 72 6f 6d  |les without prom|
000059e0  70 74 69 6e 67 2e 20 20  54 68 69 73 20 69 73 20  |pting.  This is |
000059f0  61 20 64 61 6e 67 65 72  6f 75 73 0a 20 20 20 20  |a dangerous.    |
00005a00  20 20 20 20 20 20 20 20  20 20 6f 70 74 69 6f 6e  |          option|
00005a10  2c 20 73 6f 20 75 73 65  20 69 74 20 77 69 74 68  |, so use it with|
00005a20  20 63 61 72 65 2e 20 20  28 49 74 20 69 73 20 6f  | care.  (It is o|
00005a30  66 74 65 6e 20 75 73 65  64 20 20 77 69 74 68 20  |ften used  with |
00005a40  20 2d 66 2c 20 20 68 6f  77 2d 0a 20 20 20 20 20  | -f,  how-.     |
00005a50  20 20 20 20 20 20 20 20  20 65 76 65 72 2c 20 20  |         ever,  |
00005a60  61 6e 64 20 20 69 73 20  20 74 68 65 20 20 6f 6e  |and  is  the  on|
00005a70  6c 79 20 20 77 61 79 20  20 74 6f 20 6f 76 65 72  |ly  way  to over|
00005a80  77 72 69 74 65 20 64 69  72 65 63 74 6f 72 79 20  |write directory |
00005a90  45 41 73 20 75 6e 64 65  72 0a 20 20 20 20 20 20  |EAs under.      |
00005aa0  20 20 20 20 20 20 20 20  4f 53 2f 32 2e 29 0a 0a  |        OS/2.)..|
00005ab0  20 20 20 20 20 20 20 2d  50 20 70 61 73 73 77 6f  |       -P passwo|
00005ac0  72 64 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |rd.             |
00005ad0  20 75 73 65 20 70 61 73  73 77 6f 72 64 20 74 6f  | use password to|
00005ae0  20 64 65 63 72 79 70 74  20 20 65 6e 63 72 79 70  | decrypt  encryp|
00005af0  74 65 64 20 20 7a 69 70  66 69 6c 65 20 20 65 6e  |ted  zipfile  en|
00005b00  74 72 69 65 73 20 20 28  69 66 20 20 61 6e 79 29  |tries  (if  any)|
00005b10  2e 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |..              |
00005b20  54 48 49 53 20 20 49 53  20 20 49 4e 53 45 43 55  |THIS  IS  INSECU|
00005b30  52 45 21 20 20 20 4d 61  6e 79 20 20 6d 75 6c 74  |RE!   Many  mult|
00005b40  69 2d 75 73 65 72 20 6f  70 65 72 61 74 69 6e 67  |i-user operating|
00005b50  20 73 79 73 74 65 6d 73  20 70 72 6f 76 69 64 65  | systems provide|
00005b60  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 77  |.              w|
00005b70  61 79 73 20 66 6f 72 20  61 6e 79 20 75 73 65 72  |ays for any user|
00005b80  20 74 6f 20 73 65 65 20  74 68 65 20 63 75 72 72  | to see the curr|
00005b90  65 6e 74 20 63 6f 6d 6d  61 6e 64 20 6c 69 6e 65  |ent command line|
00005ba0  20 6f 66 20 20 61 6e 79  20 20 6f 74 68 65 72 0a  | of  any  other.|
00005bb0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 75 73  |              us|
00005bc0  65 72 3b 20 20 65 76 65  6e 20 6f 6e 20 73 74 61  |er;  even on sta|
00005bd0  6e 64 2d 61 6c 6f 6e 65  20 73 79 73 74 65 6d 73  |nd-alone systems|
00005be0  20 74 68 65 72 65 20 69  73 20 61 6c 77 61 79 73  | there is always|
00005bf0  20 74 68 65 20 74 68 72  65 61 74 20 6f 66 0a 20  | the threat of. |
00005c00  20 20 20 20 20 20 20 20  20 20 20 20 20 6f 76 65  |             ove|
00005c10  72 2d 74 68 65 2d 73 68  6f 75 6c 64 65 72 20 70  |r-the-shoulder p|
00005c20  65 65 6b 69 6e 67 2e 20  20 53 74 6f 72 69 6e 67  |eeking.  Storing|
00005c30  20 74 68 65 20 20 70 6c  61 69 6e 74 65 78 74 20  | the  plaintext |
00005c40  20 70 61 73 73 77 6f 72  64 20 20 61 73 0a 20 20  | password  as.  |
00005c50  20 20 20 20 20 20 20 20  20 20 20 20 70 61 72 74  |            part|
00005c60  20 20 6f 66 20 20 61 20  20 63 6f 6d 6d 61 6e 64  |  of  a  command|
00005c70  20 20 6c 69 6e 65 20 69  6e 20 61 6e 20 61 75 74  |  line in an aut|
00005c80  6f 6d 61 74 65 64 20 73  63 72 69 70 74 20 69 73  |omated script is|
00005c90  20 65 76 65 6e 20 77 6f  72 73 65 2e 0a 20 20 20  | even worse..   |
00005ca0  20 20 20 20 20 20 20 20  20 20 20 57 68 65 6e 65  |           Whene|
00005cb0  76 65 72 20 70 6f 73 73  69 62 6c 65 2c 20 75 73  |ver possible, us|
00005cc0  65 20 74 68 65 20 6e 6f  6e 2d 65 63 68 6f 69 6e  |e the non-echoin|
00005cd0  67 2c 20 20 69 6e 74 65  72 61 63 74 69 76 65 20  |g,  interactive |
00005ce0  20 70 72 6f 6d 70 74 20  20 74 6f 0a 20 20 20 20  | prompt  to.    |
00005cf0  20 20 20 20 20 20 20 20  20 20 65 6e 74 65 72 20  |          enter |
00005d00  20 70 61 73 73 77 6f 72  64 73 2e 20 20 20 28 41  | passwords.   (A|
00005d10  6e 64 20 20 77 68 65 72  65 20 73 65 63 75 72 69  |nd  where securi|
00005d20  74 79 20 69 73 20 74 72  75 6c 79 20 69 6d 70 6f  |ty is truly impo|
00005d30  72 74 61 6e 74 2c 20 75  73 65 0a 20 20 20 20 20  |rtant, use.     |
00005d40  20 20 20 20 20 20 20 20  20 73 74 72 6f 6e 67 20  |         strong |
00005d50  65 6e 63 72 79 70 74 69  6f 6e 20 73 75 63 68 20  |encryption such |
00005d60  61 73 20 50 72 65 74 74  79 20 47 6f 6f 64 20 20  |as Pretty Good  |
00005d70  50 72 69 76 61 63 79 20  20 69 6e 73 74 65 61 64  |Privacy  instead|
00005d80  20 20 6f 66 20 20 74 68  65 0a 20 20 20 20 20 20  |  of  the.      |
00005d90  20 20 20 20 20 20 20 20  72 65 6c 61 74 69 76 65  |        relative|
00005da0  6c 79 20 20 77 65 61 6b  20 20 65 6e 63 72 79 70  |ly  weak  encryp|
00005db0  74 69 6f 6e 20 70 72 6f  76 69 64 65 64 20 62 79  |tion provided by|
00005dc0  20 73 74 61 6e 64 61 72  64 20 7a 69 70 66 69 6c  | standard zipfil|
00005dd0  65 20 75 74 69 6c 69 2d  0a 20 20 20 20 20 20 20  |e utili-.       |
00005de0  20 20 20 20 20 20 20 74  69 65 73 2e 29 0a 0a 20  |       ties.).. |
00005df0  20 20 20 20 20 20 2d 71  20 20 20 20 20 70 65 72  |      -q     per|
00005e00  66 6f 72 6d 20 6f 70 65  72 61 74 69 6f 6e 73 20  |form operations |
00005e10  71 75 69 65 74 6c 79 20  28 2d 71 71 20 20 3d 20  |quietly (-qq  = |
00005e20  20 65 76 65 6e 20 20 71  75 69 65 74 65 72 29 2e  | even  quieter).|
00005e30  20 20 20 4f 72 64 69 6e  61 72 69 6c 79 0a 20 20  |   Ordinarily.  |
00005e40  20 20 20 20 20 20 20 20  20 20 20 20 75 6e 7a 69  |            unzi|
00005e50  70 20 20 70 72 69 6e 74  73 20 74 68 65 20 6e 61  |p  prints the na|
00005e60  6d 65 73 20 6f 66 20 74  68 65 20 66 69 6c 65 73  |mes of the files|
00005e70  20 69 74 27 73 20 65 78  74 72 61 63 74 69 6e 67  | it's extracting|
00005e80  20 6f 72 20 74 65 73 74  69 6e 67 2c 0a 20 20 20  | or testing,.   |
00005e90  20 20 20 20 20 20 20 20  20 20 20 74 68 65 20 65  |           the e|
00005ea0  78 74 72 61 63 74 69 6f  6e 20 6d 65 74 68 6f 64  |xtraction method|
00005eb0  73 2c 20 61 6e 79 20 66  69 6c 65 20 6f 72 20 7a  |s, any file or z|
00005ec0  69 70 66 69 6c 65 20 63  6f 6d 6d 65 6e 74 73 20  |ipfile comments |
00005ed0  74 68 61 74 20 6d 61 79  20 62 65 0a 20 20 20 20  |that may be.    |
00005ee0  20 20 20 20 20 20 20 20  20 20 73 74 6f 72 65 64  |          stored|
00005ef0  20 69 6e 20 74 68 65 20  61 72 63 68 69 76 65 2c  | in the archive,|
00005f00  20 61 6e 64 20 70 6f 73  73 69 62 6c 79 20 61 20  | and possibly a |
00005f10  73 75 6d 6d 61 72 79 20  77 68 65 6e 20 66 69 6e  |summary when fin|
00005f20  69 73 68 65 64 20 77 69  74 68 0a 20 20 20 20 20  |ished with.     |
00005f30  20 20 20 20 20 20 20 20  20 65 61 63 68 20 61 72  |         each ar|
00005f40  63 68 69 76 65 2e 20 20  54 68 65 20 2d 71 5b 71  |chive.  The -q[q|
00005f50  5d 20 6f 70 74 69 6f 6e  73 20 73 75 70 70 72 65  |] options suppre|
00005f60  73 73 20 74 68 65 20 70  72 69 6e 74 69 6e 67 20  |ss the printing |
00005f70  20 6f 66 20 20 73 6f 6d  65 0a 20 20 20 20 20 20  | of  some.      |
00005f80  20 20 20 20 20 20 20 20  6f 72 20 61 6c 6c 20 6f  |        or all o|
00005f90  66 20 74 68 65 73 65 20  6d 65 73 73 61 67 65 73  |f these messages|
00005fa0  2e 0a 0a 20 20 20 20 20  20 20 2d 73 20 20 20 20  |...       -s    |
00005fb0  20 5b 4f 53 2f 32 2c 20  20 4e 54 2c 20 20 4d 53  | [OS/2,  NT,  MS|
00005fc0  2d 44 4f 53 5d 20 63 6f  6e 76 65 72 74 20 73 70  |-DOS] convert sp|
00005fd0  61 63 65 73 20 69 6e 20  66 69 6c 65 6e 61 6d 65  |aces in filename|
00005fe0  73 20 74 6f 20 75 6e 64  65 72 73 63 6f 72 65 73  |s to underscores|
00005ff0  2e 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |..              |
00006000  53 69 6e 63 65 20 61 6c  6c 20 50 43 20 6f 70 65  |Since all PC ope|
00006010  72 61 74 69 6e 67 20 73  79 73 74 65 6d 73 20 61  |rating systems a|
00006020  6c 6c 6f 77 20 73 70 61  63 65 73 20 69 6e 20 66  |llow spaces in f|
00006030  69 6c 65 6e 61 6d 65 73  2c 20 20 75 6e 7a 69 70  |ilenames,  unzip|
00006040  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 62  |.              b|
00006050  79 20 20 20 64 65 66 61  75 6c 74 20 20 20 65 78  |y   default   ex|
00006060  74 72 61 63 74 73 20 20  66 69 6c 65 6e 61 6d 65  |tracts  filename|
00006070  73 20 20 77 69 74 68 20  20 73 70 61 63 65 73 20  |s  with  spaces |
00006080  20 69 6e 74 61 63 74 20  20 28 65 2e 67 2e 2c 0a  | intact  (e.g.,.|
00006090  20 20 20 20 20 20 20 20  20 20 20 20 20 20 60 60  |              ``|
000060a0  45 41 20 44 41 54 41 2e  20 53 46 27 27 29 2e 20  |EA DATA. SF''). |
000060b0  20 54 68 69 73 20 63 61  6e 20 62 65 20 61 77 6b  | This can be awk|
000060c0  77 61 72 64 2c 20 68 6f  77 65 76 65 72 2c 20 73  |ward, however, s|
000060d0  69 6e 63 65 20 4d 53 2d  44 4f 53 20 69 6e 0a 20  |ince MS-DOS in. |
000060e0  20 20 20 20 20 20 20 20  20 20 20 20 20 70 61 72  |             par|
000060f0  74 69 63 75 6c 61 72 20  20 64 6f 65 73 20 20 6e  |ticular  does  n|
00006100  6f 74 20 20 67 72 61 63  65 66 75 6c 6c 79 20 20  |ot  gracefully  |
00006110  73 75 70 70 6f 72 74 20  20 73 70 61 63 65 73 20  |support  spaces |
00006120  69 6e 20 66 69 6c 65 6e  61 6d 65 73 2e 0a 20 20  |in filenames..  |
00006130  20 20 20 20 20 20 20 20  20 20 20 20 43 6f 6e 76  |            Conv|
00006140  65 72 73 69 6f 6e 20 6f  66 20 73 70 61 63 65 73  |ersion of spaces|
00006150  20 74 6f 20 75 6e 64 65  72 73 63 6f 72 65 73 20  | to underscores |
00006160  63 61 6e 20 65 6c 69 6d  69 6e 61 74 65 20 20 74  |can eliminate  t|
00006170  68 65 20 20 61 77 6b 77  61 72 64 2d 0a 20 20 20  |he  awkward-.   |
00006180  20 20 20 20 20 20 20 20  20 20 20 6e 65 73 73 20  |           ness |
00006190  69 6e 20 73 6f 6d 65 20  63 61 73 65 73 2e 0a 0a  |in some cases...|
000061a0  20 20 20 20 20 20 20 2d  53 20 20 20 20 20 5b 56  |       -S     [V|
000061b0  4d 53 5d 20 63 6f 6e 76  65 72 74 20 74 65 78 74  |MS] convert text|
000061c0  20 66 69 6c 65 73 20 28  2d 61 2c 20 2d 61 61 29  | files (-a, -aa)|
000061d0  20 69 6e 74 6f 20 53 74  72 65 61 6d 5f 4c 46 20  | into Stream_LF |
000061e0  72 65 63 6f 72 64 20 66  6f 72 6d 61 74 2c 0a 20  |record format,. |
000061f0  20 20 20 20 20 20 20 20  20 20 20 20 20 69 6e 73  |             ins|
00006200  74 65 61 64 20 6f 66 20  74 68 65 20 74 65 78 74  |tead of the text|
00006210  2d 66 69 6c 65 20 64 65  66 61 75 6c 74 2c 20 76  |-file default, v|
00006220  61 72 69 61 62 6c 65 2d  6c 65 6e 67 74 68 20 72  |ariable-length r|
00006230  65 63 6f 72 64 20 66 6f  72 6d 61 74 2e 0a 20 20  |ecord format..  |
00006240  20 20 20 20 20 20 20 20  20 20 20 20 28 53 74 72  |            (Str|
00006250  65 61 6d 5f 4c 46 20 20  69 73 20 20 74 68 65 20  |eam_LF  is  the |
00006260  20 64 65 66 61 75 6c 74  20 20 72 65 63 6f 72 64  | default  record|
00006270  20 20 66 6f 72 6d 61 74  20 6f 66 20 56 4d 53 20  |  format of VMS |
00006280  75 6e 7a 69 70 2e 20 49  74 20 69 73 0a 20 20 20  |unzip. It is.   |
00006290  20 20 20 20 20 20 20 20  20 20 20 61 70 70 6c 69  |           appli|
000062a0  65 64 20 75 6e 6c 65 73  73 20 63 6f 6e 76 65 72  |ed unless conver|
000062b0  73 69 6f 6e 20 28 2d 61  2c 20 2d 61 61 20 61 6e  |sion (-a, -aa an|
000062c0  64 2f 6f 72 20 2d 62 2c  20 2d 62 62 29 20 69 73  |d/or -b, -bb) is|
000062d0  20 20 72 65 71 75 65 73  74 65 64 0a 20 20 20 20  |  requested.    |
000062e0  20 20 20 20 20 20 20 20  20 20 6f 72 20 61 20 56  |          or a V|
000062f0  4d 53 2d 73 70 65 63 69  66 69 63 20 65 6e 74 72  |MS-specific entr|
00006300  79 20 69 73 20 70 72 6f  63 65 73 73 65 64 2e 29  |y is processed.)|
00006310  0a 0a 20 20 20 20 20 20  20 2d 55 20 20 20 20 20  |..       -U     |
00006320  5b 55 4e 49 43 4f 44 45  5f 53 55 50 50 4f 52 54  |[UNICODE_SUPPORT|
00006330  20 20 6f 6e 6c 79 5d 20  20 6d 6f 64 69 66 79 20  |  only]  modify |
00006340  6f 72 20 64 69 73 61 62  6c 65 20 55 54 46 2d 38  |or disable UTF-8|
00006350  20 68 61 6e 64 6c 69 6e  67 2e 20 20 57 68 65 6e  | handling.  When|
00006360  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 55  |.              U|
00006370  4e 49 43 4f 44 45 5f 53  55 50 50 4f 52 54 20 69  |NICODE_SUPPORT i|
00006380  73 20 61 76 61 69 6c 61  62 6c 65 2c 20 74 68 65  |s available, the|
00006390  20 20 6f 70 74 69 6f 6e  20 20 2d 55 20 20 66 6f  |  option  -U  fo|
000063a0  72 63 65 73 20 20 75 6e  7a 69 70 20 20 74 6f 0a  |rces  unzip  to.|
000063b0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 65 73  |              es|
000063c0  63 61 70 65 20 20 61 6c  6c 20 20 6e 6f 6e 2d 41  |cape  all  non-A|
000063d0  53 43 49 49 20 20 63 68  61 72 61 63 74 65 72 73  |SCII  characters|
000063e0  20 66 72 6f 6d 20 55 54  46 2d 38 20 63 6f 64 65  | from UTF-8 code|
000063f0  64 20 66 69 6c 65 6e 61  6d 65 73 20 61 73 0a 20  |d filenames as. |
00006400  20 20 20 20 20 20 20 20  20 20 20 20 20 60 60 23  |             ``#|
00006410  55 78 78 78 78 27 27 20  28 66 6f 72 20 55 43 53  |Uxxxx'' (for UCS|
00006420  2d 32 20 63 68 61 72 61  63 74 65 72 73 2c 20 6f  |-2 characters, o|
00006430  72 20 20 60 60 23 4c 78  78 78 78 78 78 27 27 20  |r  ``#Lxxxxxx'' |
00006440  20 66 6f 72 20 20 75 6e  69 63 6f 64 65 0a 20 20  | for  unicode.  |
00006450  20 20 20 20 20 20 20 20  20 20 20 20 63 6f 64 65  |            code|
00006460  70 6f 69 6e 74 73 20 20  6e 65 65 64 69 6e 67 20  |points  needing |
00006470  20 33 20 20 6f 63 74 65  74 73 29 2e 20 20 54 68  | 3  octets).  Th|
00006480  69 73 20 6f 70 74 69 6f  6e 20 69 73 20 6d 61 69  |is option is mai|
00006490  6e 6c 79 20 70 72 6f 76  69 64 65 64 0a 20 20 20  |nly provided.   |
000064a0  20 20 20 20 20 20 20 20  20 20 20 66 6f 72 20 64  |           for d|
000064b0  65 62 75 67 67 69 6e 67  20 70 75 72 70 6f 73 65  |ebugging purpose|
000064c0  20 77 68 65 6e 20 74 68  65 20 66 61 69 72 6c 79  | when the fairly|
000064d0  20 6e 65 77 20 55 54 46  2d 38 20 73 75 70 70 6f  | new UTF-8 suppo|
000064e0  72 74 20 69 73 20 20 73  75 73 2d 0a 20 20 20 20  |rt is  sus-.    |
000064f0  20 20 20 20 20 20 20 20  20 20 70 65 63 74 65 64  |          pected|
00006500  20 74 6f 20 6d 61 6e 67  6c 65 20 75 70 20 65 78  | to mangle up ex|
00006510  74 72 61 63 74 65 64 20  66 69 6c 65 6e 61 6d 65  |tracted filename|
00006520  73 2e 0a 0a 20 20 20 20  20 20 20 20 20 20 20 20  |s...            |
00006530  20 20 54 68 65 20 20 6f  70 74 69 6f 6e 20 20 2d  |  The  option  -|
00006540  55 55 20 20 61 6c 6c 6f  77 73 20 20 74 6f 20 65  |UU  allows  to e|
00006550  6e 74 69 72 65 6c 79 20  64 69 73 61 62 6c 65 20  |ntirely disable |
00006560  74 68 65 20 72 65 63 6f  67 6e 69 74 69 6f 6e 20  |the recognition |
00006570  6f 66 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |of.             |
00006580  20 55 54 46 2d 38 20 65  6e 63 6f 64 65 64 20 20  | UTF-8 encoded  |
00006590  66 69 6c 65 6e 61 6d 65  73 2e 20 20 20 54 68 65  |filenames.   The|
000065a0  20 20 68 61 6e 64 6c 69  6e 67 20 20 6f 66 20 20  |  handling  of  |
000065b0  66 69 6c 65 6e 61 6d 65  20 20 63 6f 64 69 6e 67  |filename  coding|
000065c0  73 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |s.              |
000065d0  77 69 74 68 69 6e 20 75  6e 7a 69 70 20 66 61 6c  |within unzip fal|
000065e0  6c 73 20 62 61 63 6b 20  74 6f 20 74 68 65 20 62  |ls back to the b|
000065f0  65 68 61 76 69 6f 75 72  20 6f 66 20 70 72 65 76  |ehaviour of prev|
00006600  69 6f 75 73 20 76 65 72  73 69 6f 6e 73 2e 0a 0a  |ious versions...|
00006610  20 20 20 20 20 20 20 20  20 20 20 20 20 20 5b 6f  |              [o|
00006620  6c 64 2c 20 6f 62 73 6f  6c 65 74 65 20 75 73 61  |ld, obsolete usa|
00006630  67 65 5d 20 6c 65 61 76  65 20 66 69 6c 65 6e 61  |ge] leave filena|
00006640  6d 65 73 20 75 70 70 65  72 63 61 73 65 20 69 66  |mes uppercase if|
00006650  20 63 72 65 61 74 65 64  20 75 6e 64 65 72 0a 20  | created under. |
00006660  20 20 20 20 20 20 20 20  20 20 20 20 20 4d 53 2d  |             MS-|
00006670  44 4f 53 2c 20 56 4d 53  2c 20 65 74 63 2e 20 20  |DOS, VMS, etc.  |
00006680  53 65 65 20 2d 4c 20 61  62 6f 76 65 2e 0a 0a 20  |See -L above... |
00006690  20 20 20 20 20 20 2d 56  20 20 20 20 20 72 65 74  |      -V     ret|
000066a0  61 69 6e 20 28 56 4d 53  29 20 66 69 6c 65 20 76  |ain (VMS) file v|
000066b0  65 72 73 69 6f 6e 20 6e  75 6d 62 65 72 73 2e 20  |ersion numbers. |
000066c0  20 56 4d 53 20 66 69 6c  65 73 20 63 61 6e 20 62  | VMS files can b|
000066d0  65 20 73 74 6f 72 65 64  20 77 69 74 68 0a 20 20  |e stored with.  |
000066e0  20 20 20 20 20 20 20 20  20 20 20 20 61 20 20 76  |            a  v|
000066f0  65 72 73 69 6f 6e 20 20  6e 75 6d 62 65 72 2c 20  |ersion  number, |
00006700  20 69 6e 20 20 74 68 65  20 66 6f 72 6d 61 74 20  | in  the format |
00006710  66 69 6c 65 2e 65 78 74  3b 23 23 2e 20 20 42 79  |file.ext;##.  By|
00006720  20 64 65 66 61 75 6c 74  20 74 68 65 0a 20 20 20  | default the.   |
00006730  20 20 20 20 20 20 20 20  20 20 20 60 60 3b 23 23  |           ``;##|
00006740  27 27 20 76 65 72 73 69  6f 6e 20 6e 75 6d 62 65  |'' version numbe|
00006750  72 73 20 61 72 65 20 73  74 72 69 70 70 65 64 2c  |rs are stripped,|
00006760  20 20 62 75 74 20 20 74  68 69 73 20 20 6f 70 74  |  but  this  opt|
00006770  69 6f 6e 20 20 61 6c 6c  6f 77 73 0a 20 20 20 20  |ion  allows.    |
00006780  20 20 20 20 20 20 20 20  20 20 74 68 65 6d 20 20  |          them  |
00006790  74 6f 20 20 62 65 20 72  65 74 61 69 6e 65 64 2e  |to  be retained.|
000067a0  20 20 28 4f 6e 20 66 69  6c 65 20 73 79 73 74 65  |  (On file syste|
000067b0  6d 73 20 74 68 61 74 20  6c 69 6d 69 74 20 66 69  |ms that limit fi|
000067c0  6c 65 6e 61 6d 65 73 20  74 6f 0a 20 20 20 20 20  |lenames to.     |
000067d0  20 20 20 20 20 20 20 20  20 70 61 72 74 69 63 75  |         particu|
000067e0  6c 61 72 6c 79 20 73 68  6f 72 74 20 6c 65 6e 67  |larly short leng|
000067f0  74 68 73 2c 20 74 68 65  20 76 65 72 73 69 6f 6e  |ths, the version|
00006800  20 6e 75 6d 62 65 72 73  20 6d 61 79 20 62 65 20  | numbers may be |
00006810  74 72 75 6e 63 61 74 65  64 0a 20 20 20 20 20 20  |truncated.      |
00006820  20 20 20 20 20 20 20 20  6f 72 20 73 74 72 69 70  |        or strip|
00006830  70 65 64 20 72 65 67 61  72 64 6c 65 73 73 20 6f  |ped regardless o|
00006840  66 20 74 68 69 73 20 6f  70 74 69 6f 6e 2e 29 0a  |f this option.).|
00006850  0a 20 20 20 20 20 20 20  2d 57 20 20 20 20 20 5b  |.       -W     [|
00006860  6f 6e 6c 79 20 20 77 68  65 6e 20 20 57 49 4c 44  |only  when  WILD|
00006870  5f 53 54 4f 50 5f 41 54  5f 44 49 52 20 63 6f 6d  |_STOP_AT_DIR com|
00006880  70 69 6c 65 2d 74 69 6d  65 20 6f 70 74 69 6f 6e  |pile-time option|
00006890  20 65 6e 61 62 6c 65 64  5d 20 6d 6f 64 69 2d 0a  | enabled] modi-.|
000068a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 66 69  |              fi|
000068b0  65 73 20 74 68 65 20 70  61 74 74 65 72 6e 20 6d  |es the pattern m|
000068c0  61 74 63 68 69 6e 67 20  72 6f 75 74 69 6e 65 20  |atching routine |
000068d0  73 6f 20 74 68 61 74 20  62 6f 74 68 20 60 3f 27  |so that both `?'|
000068e0  20 20 28 73 69 6e 67 6c  65 2d 63 68 61 72 0a 20  |  (single-char. |
000068f0  20 20 20 20 20 20 20 20  20 20 20 20 20 77 69 6c  |             wil|
00006900  64 63 61 72 64 29 20 20  61 6e 64 20 60 2a 27 20  |dcard)  and `*' |
00006910  28 6d 75 6c 74 69 2d 63  68 61 72 20 77 69 6c 64  |(multi-char wild|
00006920  63 61 72 64 29 20 64 6f  20 6e 6f 74 20 6d 61 74  |card) do not mat|
00006930  63 68 20 74 68 65 20 64  69 72 65 63 2d 0a 20 20  |ch the direc-.  |
00006940  20 20 20 20 20 20 20 20  20 20 20 20 74 6f 72 79  |            tory|
00006950  20 20 73 65 70 61 72 61  74 6f 72 20 20 63 68 61  |  separator  cha|
00006960  72 61 63 74 65 72 20 20  60 2f 27 2e 20 20 20 28  |racter  `/'.   (|
00006970  54 68 65 20 20 74 77 6f  2d 63 68 61 72 61 63 74  |The  two-charact|
00006980  65 72 20 20 73 65 71 75  65 6e 63 65 0a 20 20 20  |er  sequence.   |
00006990  20 20 20 20 20 20 20 20  20 20 20 60 60 2a 2a 27  |           ``**'|
000069a0  27 20 61 63 74 73 20 61  73 20 61 20 6d 75 6c 74  |' acts as a mult|
000069b0  69 2d 63 68 61 72 20 77  69 6c 64 63 61 72 64 20  |i-char wildcard |
000069c0  74 68 61 74 20 69 6e 63  6c 75 64 65 73 20 74 68  |that includes th|
000069d0  65 20 64 69 72 65 63 74  6f 72 79 0a 20 20 20 20  |e directory.    |
000069e0  20 20 20 20 20 20 20 20  20 20 73 65 70 61 72 61  |          separa|
000069f0  74 6f 72 20 69 6e 20 69  74 73 20 6d 61 74 63 68  |tor in its match|
00006a00  65 64 20 63 68 61 72 61  63 74 65 72 73 2e 29 20  |ed characters.) |
00006a10  20 45 78 61 6d 70 6c 65  73 3a 0a 0a 20 20 20 20  | Examples:..    |
00006a20  20 20 20 20 20 20 20 20  20 20 20 22 2a 2e 63 22  |           "*.c"|
00006a30  20 6d 61 74 63 68 65 73  20 22 66 6f 6f 2e 63 22  | matches "foo.c"|
00006a40  20 62 75 74 20 6e 6f 74  20 22 6d 79 64 69 72 2f  | but not "mydir/|
00006a50  66 6f 6f 2e 63 22 0a 20  20 20 20 20 20 20 20 20  |foo.c".         |
00006a60  20 20 20 20 20 20 22 2a  2a 2e 63 22 20 6d 61 74  |      "**.c" mat|
00006a70  63 68 65 73 20 62 6f 74  68 20 22 66 6f 6f 2e 63  |ches both "foo.c|
00006a80  22 20 61 6e 64 20 22 6d  79 64 69 72 2f 66 6f 6f  |" and "mydir/foo|
00006a90  2e 63 22 0a 20 20 20 20  20 20 20 20 20 20 20 20  |.c".            |
00006aa0  20 20 20 22 2a 2f 2a 2e  63 22 20 6d 61 74 63 68  |   "*/*.c" match|
00006ab0  65 73 20 22 62 61 72 2f  66 6f 6f 2e 63 22 20 62  |es "bar/foo.c" b|
00006ac0  75 74 20 6e 6f 74 20 22  62 61 7a 2f 62 61 72 2f  |ut not "baz/bar/|
00006ad0  66 6f 6f 2e 63 22 0a 20  20 20 20 20 20 20 20 20  |foo.c".         |
00006ae0  20 20 20 20 20 20 22 3f  3f 2a 2f 2a 22 20 6d 61  |      "??*/*" ma|
00006af0  74 63 68 65 73 20 22 61  62 2f 66 6f 6f 22 20 61  |tches "ab/foo" a|
00006b00  6e 64 20 22 61 62 63 2f  66 6f 6f 22 0a 20 20 20  |nd "abc/foo".   |
00006b10  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00006b20  20 20 20 20 62 75 74 20  6e 6f 74 20 22 61 2f 66  |    but not "a/f|
00006b30  6f 6f 22 20 6f 72 20 22  61 2f 62 2f 66 6f 6f 22  |oo" or "a/b/foo"|
00006b40  0a 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |..              |
00006b50  54 68 69 73 20 6d 6f 64  69 66 69 65 64 20 62 65  |This modified be|
00006b60  68 61 76 69 6f 75 72 20  69 73 20 65 71 75 69 76  |haviour is equiv|
00006b70  61 6c 65 6e 74 20 74 6f  20 20 74 68 65 20 20 70  |alent to  the  p|
00006b80  61 74 74 65 72 6e 20 20  6d 61 74 63 68 69 6e 67  |attern  matching|
00006b90  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 73  |.              s|
00006ba0  74 79 6c 65 20 75 73 65  64 20 62 79 20 74 68 65  |tyle used by the|
00006bb0  20 73 68 65 6c 6c 73 20  6f 66 20 73 6f 6d 65 20  | shells of some |
00006bc0  6f 66 20 55 6e 5a 69 70  27 73 20 73 75 70 70 6f  |of UnZip's suppo|
00006bd0  72 74 65 64 20 74 61 72  67 65 74 20 4f 53 73 0a  |rted target OSs.|
00006be0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 28 6f  |              (o|
00006bf0  6e 65 20 65 78 61 6d 70  6c 65 20 69 73 20 41 63  |ne example is Ac|
00006c00  6f 72 6e 20 52 49 53 43  20 4f 53 29 2e 20 20 54  |orn RISC OS).  T|
00006c10  68 69 73 20 6f 70 74 69  6f 6e 20 6d 61 79 20 6e  |his option may n|
00006c20  6f 74 20 20 62 65 20 20  61 76 61 69 6c 2d 0a 20  |ot  be  avail-. |
00006c30  20 20 20 20 20 20 20 20  20 20 20 20 20 61 62 6c  |             abl|
00006c40  65 20 6f 6e 20 73 79 73  74 65 6d 73 20 77 68 65  |e on systems whe|
00006c50  72 65 20 74 68 65 20 5a  69 70 20 61 72 63 68 69  |re the Zip archi|
00006c60  76 65 27 73 20 69 6e 74  65 72 6e 61 6c 20 64 69  |ve's internal di|
00006c70  72 65 63 74 6f 72 79 20  73 65 70 61 2d 0a 20 20  |rectory sepa-.  |
00006c80  20 20 20 20 20 20 20 20  20 20 20 20 72 61 74 6f  |            rato|
00006c90  72 20 63 68 61 72 61 63  74 65 72 20 60 2f 27 20  |r character `/' |
00006ca0  69 73 20 61 6c 6c 6f 77  65 64 20 61 73 20 72 65  |is allowed as re|
00006cb0  67 75 6c 61 72 20 20 63  68 61 72 61 63 74 65 72  |gular  character|
00006cc0  20 20 69 6e 20 20 6e 61  74 69 76 65 0a 20 20 20  |  in  native.   |
00006cd0  20 20 20 20 20 20 20 20  20 20 20 6f 70 65 72 61  |           opera|
00006ce0  74 69 6e 67 20 20 73 79  73 74 65 6d 20 20 66 69  |ting  system  fi|
00006cf0  6c 65 6e 61 6d 65 73 2e  20 20 20 28 43 75 72 72  |lenames.   (Curr|
00006d00  65 6e 74 6c 79 2c 20 20  55 6e 5a 69 70 20 75 73  |ently,  UnZip us|
00006d10  65 73 20 74 68 65 20 73  61 6d 65 0a 20 20 20 20  |es the same.    |
00006d20  20 20 20 20 20 20 20 20  20 20 70 61 74 74 65 72  |          patter|
00006d30  6e 20 6d 61 74 63 68 69  6e 67 20 72 75 6c 65 73  |n matching rules|
00006d40  20 66 6f 72 20 62 6f 74  68 20 77 69 6c 64 63 61  | for both wildca|
00006d50  72 64 20 7a 69 70 66 69  6c 65 20 20 73 70 65 63  |rd zipfile  spec|
00006d60  69 66 69 63 61 74 69 6f  6e 73 0a 20 20 20 20 20  |ifications.     |
00006d70  20 20 20 20 20 20 20 20  20 61 6e 64 20 20 7a 69  |         and  zi|
00006d80  70 20 20 65 6e 74 72 79  20 20 73 65 6c 65 63 74  |p  entry  select|
00006d90  69 6f 6e 20 20 70 61 74  74 65 72 6e 73 20 69 6e  |ion  patterns in|
00006da0  20 6d 6f 73 74 20 70 6f  72 74 73 2e 20 20 46 6f  | most ports.  Fo|
00006db0  72 20 73 79 73 74 65 6d  73 0a 20 20 20 20 20 20  |r systems.      |
00006dc0  20 20 20 20 20 20 20 20  61 6c 6c 6f 77 69 6e 67  |        allowing|
00006dd0  20 60 2f 27 20 61 73 20  72 65 67 75 6c 61 72 20  | `/' as regular |
00006de0  66 69 6c 65 6e 61 6d 65  20 63 68 61 72 61 63 74  |filename charact|
00006df0  65 72 2c 20 74 68 65 20  2d 57 20 6f 70 74 69 6f  |er, the -W optio|
00006e00  6e 20 20 77 6f 75 6c 64  0a 20 20 20 20 20 20 20  |n  would.       |
00006e10  20 20 20 20 20 20 20 6e  6f 74 20 77 6f 72 6b 20  |       not work |
00006e20  61 73 20 65 78 70 65 63  74 65 64 20 6f 6e 20 61  |as expected on a|
00006e30  20 77 69 6c 64 63 61 72  64 20 7a 69 70 66 69 6c  | wildcard zipfil|
00006e40  65 20 73 70 65 63 69 66  69 63 61 74 69 6f 6e 2e  |e specification.|
00006e50  29 0a 0a 20 20 20 20 20  20 20 2d 58 20 20 20 20  |)..       -X    |
00006e60  20 5b 56 4d 53 2c 20 20  55 6e 69 78 2c 20 20 4f  | [VMS,  Unix,  O|
00006e70  53 2f 32 2c 20 20 4e 54  2c 20 20 54 61 6e 64 65  |S/2,  NT,  Tande|
00006e80  6d 5d 20 20 72 65 73 74  6f 72 65 20 6f 77 6e 65  |m]  restore owne|
00006e90  72 2f 70 72 6f 74 65 63  74 69 6f 6e 20 69 6e 66  |r/protection inf|
00006ea0  6f 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |o.              |
00006eb0  28 55 49 43 73 20 61 6e  64 20 41 43 4c 20 20 65  |(UICs and ACL  e|
00006ec0  6e 74 72 69 65 73 29 20  20 75 6e 64 65 72 20 20  |ntries)  under  |
00006ed0  56 4d 53 2c 20 20 6f 72  20 20 75 73 65 72 20 20  |VMS,  or  user  |
00006ee0  61 6e 64 20 20 67 72 6f  75 70 20 20 69 6e 66 6f  |and  group  info|
00006ef0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 28  |.              (|
00006f00  55 49 44 2f 47 49 44 29  20 20 75 6e 64 65 72 20  |UID/GID)  under |
00006f10  55 6e 69 78 2c 20 6f 72  20 61 63 63 65 73 73 20  |Unix, or access |
00006f20  63 6f 6e 74 72 6f 6c 20  6c 69 73 74 73 20 28 41  |control lists (A|
00006f30  43 4c 73 29 20 75 6e 64  65 72 20 63 65 72 2d 0a  |CLs) under cer-.|
00006f40  20 20 20 20 20 20 20 20  20 20 20 20 20 20 74 61  |              ta|
00006f50  69 6e 20 6e 65 74 77 6f  72 6b 2d 65 6e 61 62 6c  |in network-enabl|
00006f60  65 64 20 76 65 72 73 69  6f 6e 73 20 6f 66 20 4f  |ed versions of O|
00006f70  53 2f 32 20 28 57 61 72  70 20 53 65 72 76 65 72  |S/2 (Warp Server|
00006f80  20 77 69 74 68 20 49 42  4d 20 20 4c 41 4e 0a 20  | with IBM  LAN. |
00006f90  20 20 20 20 20 20 20 20  20 20 20 20 20 53 65 72  |             Ser|
00006fa0  76 65 72 2f 52 65 71 75  65 73 74 65 72 20 33 2e  |ver/Requester 3.|
00006fb0  30 20 74 6f 20 35 2e 30  3b 20 57 61 72 70 20 43  |0 to 5.0; Warp C|
00006fc0  6f 6e 6e 65 63 74 20 77  69 74 68 20 49 42 4d 20  |onnect with IBM |
00006fd0  50 65 65 72 20 31 2e 30  29 2c 20 6f 72 0a 20 20  |Peer 1.0), or.  |
00006fe0  20 20 20 20 20 20 20 20  20 20 20 20 73 65 63 75  |            secu|
00006ff0  72 69 74 79 20 41 43 4c  73 20 75 6e 64 65 72 20  |rity ACLs under |
00007000  57 69 6e 64 6f 77 73 20  4e 54 2e 20 20 49 6e 20  |Windows NT.  In |
00007010  6d 6f 73 74 20 63 61 73  65 73 20 74 68 69 73 20  |most cases this |
00007020  77 69 6c 6c 20 72 65 71  75 69 72 65 0a 20 20 20  |will require.   |
00007030  20 20 20 20 20 20 20 20  20 20 20 73 70 65 63 69  |           speci|
00007040  61 6c 20 20 73 79 73 74  65 6d 20 20 70 72 69 76  |al  system  priv|
00007050  69 6c 65 67 65 73 2c 20  61 6e 64 20 64 6f 75 62  |ileges, and doub|
00007060  6c 69 6e 67 20 74 68 65  20 6f 70 74 69 6f 6e 20  |ling the option |
00007070  28 2d 58 58 29 20 75 6e  64 65 72 0a 20 20 20 20  |(-XX) under.    |
00007080  20 20 20 20 20 20 20 20  20 20 4e 54 20 69 6e 73  |          NT ins|
00007090  74 72 75 63 74 73 20 75  6e 7a 69 70 20 74 6f 20  |tructs unzip to |
000070a0  75 73 65 20 70 72 69 76  69 6c 65 67 65 73 20 66  |use privileges f|
000070b0  6f 72 20 65 78 74 72 61  63 74 69 6f 6e 3b 20 20  |or extraction;  |
000070c0  62 75 74 20 20 75 6e 64  65 72 0a 20 20 20 20 20  |but  under.     |
000070d0  20 20 20 20 20 20 20 20  20 55 6e 69 78 2c 20 20  |         Unix,  |
000070e0  66 6f 72 20 20 65 78 61  6d 70 6c 65 2c 20 20 61  |for  example,  a|
000070f0  20 20 75 73 65 72 20 20  77 68 6f 20 62 65 6c 6f  |  user  who belo|
00007100  6e 67 73 20 74 6f 20 73  65 76 65 72 61 6c 20 67  |ngs to several g|
00007110  72 6f 75 70 73 20 63 61  6e 0a 20 20 20 20 20 20  |roups can.      |
00007120  20 20 20 20 20 20 20 20  72 65 73 74 6f 72 65 20  |        restore |
00007130  66 69 6c 65 73 20 6f 77  6e 65 64 20 62 79 20 61  |files owned by a|
00007140  6e 79 20 6f 66 20 74 68  6f 73 65 20 67 72 6f 75  |ny of those grou|
00007150  70 73 2c 20 61 73 20 6c  6f 6e 67 20 61 73 20 74  |ps, as long as t|
00007160  68 65 20 20 75 73 65 72  0a 20 20 20 20 20 20 20  |he  user.       |
00007170  20 20 20 20 20 20 20 49  44 73 20 20 6d 61 74 63  |       IDs  matc|
00007180  68 20 20 68 69 73 20 20  6f 72 20 68 65 72 20 6f  |h  his  or her o|
00007190  77 6e 2e 20 20 4e 6f 74  65 20 74 68 61 74 20 6f  |wn.  Note that o|
000071a0  72 64 69 6e 61 72 79 20  66 69 6c 65 20 61 74 74  |rdinary file att|
000071b0  72 69 62 75 74 65 73 0a  20 20 20 20 20 20 20 20  |ributes.        |
000071c0  20 20 20 20 20 20 61 72  65 20 61 6c 77 61 79 73  |      are always|
000071d0  20 72 65 73 74 6f 72 65  64 2d 2d 74 68 69 73 20  | restored--this |
000071e0  6f 70 74 69 6f 6e 20 61  70 70 6c 69 65 73 20 6f  |option applies o|
000071f0  6e 6c 79 20 74 6f 20 6f  70 74 69 6f 6e 61 6c 2c  |nly to optional,|
00007200  20 65 78 74 72 61 0a 20  20 20 20 20 20 20 20 20  | extra.         |
00007210  20 20 20 20 20 6f 77 6e  65 72 73 68 69 70 20 20  |     ownership  |
00007220  69 6e 66 6f 20 20 61 76  61 69 6c 61 62 6c 65 20  |info  available |
00007230  20 6f 6e 20 20 73 6f 6d  65 20 20 6f 70 65 72 61  | on  some  opera|
00007240  74 69 6e 67 20 20 73 79  73 74 65 6d 73 2e 20 20  |ting  systems.  |
00007250  5b 4e 54 27 73 0a 20 20  20 20 20 20 20 20 20 20  |[NT's.          |
00007260  20 20 20 20 61 63 63 65  73 73 20 63 6f 6e 74 72  |    access contr|
00007270  6f 6c 20 6c 69 73 74 73  20 64 6f 20 6e 6f 74 20  |ol lists do not |
00007280  61 70 70 65 61 72 20 74  6f 20 62 65 20 20 65 73  |appear to be  es|
00007290  70 65 63 69 61 6c 6c 79  20 20 63 6f 6d 70 61 74  |pecially  compat|
000072a0  69 62 6c 65 0a 20 20 20  20 20 20 20 20 20 20 20  |ible.           |
000072b0  20 20 20 77 69 74 68 20  4f 53 2f 32 27 73 2c 20  |   with OS/2's, |
000072c0  73 6f 20 6e 6f 20 61 74  74 65 6d 70 74 20 69 73  |so no attempt is|
000072d0  20 6d 61 64 65 20 61 74  20 63 72 6f 73 73 2d 70  | made at cross-p|
000072e0  6c 61 74 66 6f 72 6d 20  70 6f 72 74 61 62 69 6c  |latform portabil|
000072f0  69 74 79 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ity.            |
00007300  20 20 6f 66 20 61 63 63  65 73 73 20 70 72 69 76  |  of access priv|
00007310  69 6c 65 67 65 73 2e 20  20 49 74 20 69 73 20 6e  |ileges.  It is n|
00007320  6f 74 20 20 63 6c 65 61  72 20 20 75 6e 64 65 72  |ot  clear  under|
00007330  20 20 77 68 61 74 20 20  63 6f 6e 64 69 74 69 6f  |  what  conditio|
00007340  6e 73 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |ns.             |
00007350  20 74 68 69 73 20 77 6f  75 6c 64 20 65 76 65 72  | this would ever|
00007360  20 62 65 20 75 73 65 66  75 6c 20 61 6e 79 77 61  | be useful anywa|
00007370  79 2e 5d 0a 0a 20 20 20  20 20 20 20 2d 59 20 20  |y.]..       -Y  |
00007380  20 20 20 5b 56 4d 53 5d  20 20 74 72 65 61 74 20  |   [VMS]  treat |
00007390  20 61 72 63 68 69 76 65  64 20 20 66 69 6c 65 20  | archived  file |
000073a0  20 6e 61 6d 65 20 20 65  6e 64 69 6e 67 73 20 20  | name  endings  |
000073b0  6f 66 20 20 60 60 2e 6e  6e 6e 27 27 20 28 77 68  |of  ``.nnn'' (wh|
000073c0  65 72 65 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ere.            |
000073d0  20 20 60 60 6e 6e 6e 27  27 20 69 73 20 61 20 64  |  ``nnn'' is a d|
000073e0  65 63 69 6d 61 6c 20 20  6e 75 6d 62 65 72 29 20  |ecimal  number) |
000073f0  61 73 20 69 66 20 74 68  65 79 20 77 65 72 65 20  |as if they were |
00007400  56 4d 53 20 20 76 65 72  73 69 6f 6e 20 20 6e 75  |VMS  version  nu|
00007410  6d 2d 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |m-.             |
00007420  20 62 65 72 73 20 20 28  60 60 3b 6e 6e 6e 27 27  | bers  (``;nnn''|
00007430  29 2e 20 20 28 54 68 65  20 64 65 66 61 75 6c 74  |).  (The default|
00007440  20 69 73 20 74 6f 20 74  72 65 61 74 20 74 68 65  | is to treat the|
00007450  6d 20 61 73 20 66 69 6c  65 20 74 79 70 65 73 2e  |m as file types.|
00007460  29 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |).              |
00007470  45 78 61 6d 70 6c 65 3a  0a 20 20 20 20 20 20 20  |Example:.       |
00007480  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00007490  22 61 2e 62 2e 33 22 20  2d 3e 20 22 61 2e 62 3b  |"a.b.3" -> "a.b;|
000074a0  33 22 2e 0a 0a 20 20 20  20 20 20 20 2d 24 20 20  |3"...       -$  |
000074b0  20 20 20 5b 4d 53 2d 44  4f 53 2c 20 4f 53 2f 32  |   [MS-DOS, OS/2|
000074c0  2c 20 4e 54 5d 20 72 65  73 74 6f 72 65 20 74 68  |, NT] restore th|
000074d0  65 20 76 6f 6c 75 6d 65  20 6c 61 62 65 6c 20 20  |e volume label  |
000074e0  69 66 20 20 74 68 65 20  20 65 78 74 72 61 63 74  |if  the  extract|
000074f0  69 6f 6e 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ion.            |
00007500  20 20 6d 65 64 69 75 6d  20 20 69 73 20 20 72 65  |  medium  is  re|
00007510  6d 6f 76 61 62 6c 65 20  20 28 65 2e 67 2e 2c 20  |movable  (e.g., |
00007520  20 61 20 64 69 73 6b 65  74 74 65 29 2e 20 20 44  | a diskette).  D|
00007530  6f 75 62 6c 69 6e 67 20  74 68 65 20 6f 70 74 69  |oubling the opti|
00007540  6f 6e 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |on.             |
00007550  20 28 2d 24 24 29 20 61  6c 6c 6f 77 73 20 66 69  | (-$$) allows fi|
00007560  78 65 64 20 6d 65 64 69  61 20 28 68 61 72 64 20  |xed media (hard |
00007570  64 69 73 6b 73 29 20 74  6f 20 62 65 20 20 6c 61  |disks) to be  la|
00007580  62 65 6c 6c 65 64 20 20  61 73 20 20 77 65 6c 6c  |belled  as  well|
00007590  2e 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |..              |
000075a0  42 79 20 64 65 66 61 75  6c 74 2c 20 76 6f 6c 75  |By default, volu|
000075b0  6d 65 20 6c 61 62 65 6c  73 20 61 72 65 20 69 67  |me labels are ig|
000075c0  6e 6f 72 65 64 2e 0a 0a  20 20 20 20 20 20 20 2d  |nored...       -|
000075d0  2f 20 65 78 74 65 6e 73  69 6f 6e 73 0a 20 20 20  |/ extensions.   |
000075e0  20 20 20 20 20 20 20 20  20 20 20 5b 41 63 6f 72  |           [Acor|
000075f0  6e 20 20 6f 6e 6c 79 5d  20 6f 76 65 72 72 69 64  |n  only] overrid|
00007600  65 73 20 74 68 65 20 65  78 74 65 6e 73 69 6f 6e  |es the extension|
00007610  20 6c 69 73 74 20 73 75  70 70 6c 69 65 64 20 62  | list supplied b|
00007620  79 20 55 6e 7a 69 70 24  45 78 74 0a 20 20 20 20  |y Unzip$Ext.    |
00007630  20 20 20 20 20 20 20 20  20 20 65 6e 76 69 72 6f  |          enviro|
00007640  6e 6d 65 6e 74 20 76 61  72 69 61 62 6c 65 2e 20  |nment variable. |
00007650  20 44 75 72 69 6e 67 20  20 65 78 74 72 61 63 74  | During  extract|
00007660  69 6f 6e 2c 20 20 66 69  6c 65 6e 61 6d 65 20 20  |ion,  filename  |
00007670  65 78 74 65 6e 73 69 6f  6e 73 0a 20 20 20 20 20  |extensions.     |
00007680  20 20 20 20 20 20 20 20  20 74 68 61 74 20 20 6d  |         that  m|
00007690  61 74 63 68 20 20 6f 6e  65 20 6f 66 20 74 68 65  |atch  one of the|
000076a0  20 69 74 65 6d 73 20 69  6e 20 74 68 69 73 20 65  | items in this e|
000076b0  78 74 65 6e 73 69 6f 6e  20 6c 69 73 74 20 61 72  |xtension list ar|
000076c0  65 20 73 77 61 70 70 65  64 0a 20 20 20 20 20 20  |e swapped.      |
000076d0  20 20 20 20 20 20 20 20  69 6e 20 66 72 6f 6e 74  |        in front|
000076e0  20 6f 66 20 74 68 65 20  62 61 73 65 20 6e 61 6d  | of the base nam|
000076f0  65 20 6f 66 20 74 68 65  20 65 78 74 72 61 63 74  |e of the extract|
00007700  65 64 20 66 69 6c 65 2e  0a 0a 20 20 20 20 20 20  |ed file...      |
00007710  20 2d 3a 20 20 20 20 20  5b 61 6c 6c 20 62 75 74  | -:     [all but|
00007720  20 41 63 6f 72 6e 2c 20  56 4d 2f 43 4d 53 2c 20  | Acorn, VM/CMS, |
00007730  4d 56 53 2c 20 54 61 6e  64 65 6d 5d 20 61 6c 6c  |MVS, Tandem] all|
00007740  6f 77 73 20 74 6f 20 20  65 78 74 72 61 63 74 20  |ows to  extract |
00007750  20 61 72 63 68 69 76 65  0a 20 20 20 20 20 20 20  | archive.       |
00007760  20 20 20 20 20 20 20 6d  65 6d 62 65 72 73 20 69  |       members i|
00007770  6e 74 6f 20 6c 6f 63 61  74 69 6f 6e 73 20 6f 75  |nto locations ou|
00007780  74 73 69 64 65 20 6f 66  20 74 68 65 20 63 75 72  |tside of the cur|
00007790  72 65 6e 74 20 60 60 20  65 78 74 72 61 63 74 69  |rent `` extracti|
000077a0  6f 6e 20 72 6f 6f 74 0a  20 20 20 20 20 20 20 20  |on root.        |
000077b0  20 20 20 20 20 20 66 6f  6c 64 65 72 27 27 2e 20  |      folder''. |
000077c0  46 6f 72 20 73 65 63 75  72 69 74 79 20 72 65 61  |For security rea|
000077d0  73 6f 6e 73 2c 20 75 6e  7a 69 70 20 6e 6f 72 6d  |sons, unzip norm|
000077e0  61 6c 6c 79 20 72 65 6d  6f 76 65 73 20 20 60 60  |ally removes  ``|
000077f0  70 61 72 65 6e 74 0a 20  20 20 20 20 20 20 20 20  |parent.         |
00007800  20 20 20 20 20 64 69 72  27 27 20 20 70 61 74 68  |     dir''  path|
00007810  20 20 63 6f 6d 70 6f 6e  65 6e 74 73 20 20 28 60  |  components  (`|
00007820  60 2e 2e 2f 27 27 29 20  20 66 72 6f 6d 20 20 74  |`../'')  from  t|
00007830  68 65 20 6e 61 6d 65 73  20 6f 66 20 65 78 74 72  |he names of extr|
00007840  61 63 74 65 64 0a 20 20  20 20 20 20 20 20 20 20  |acted.          |
00007850  20 20 20 20 66 69 6c 65  2e 20 20 54 68 69 73 20  |    file.  This |
00007860  73 61 66 65 74 79 20 66  65 61 74 75 72 65 20 28  |safety feature (|
00007870  6e 65 77 20 66 6f 72 20  76 65 72 73 69 6f 6e 20  |new for version |
00007880  35 2e 35 30 29 20 70 72  65 76 65 6e 74 73 20 75  |5.50) prevents u|
00007890  6e 7a 69 70 0a 20 20 20  20 20 20 20 20 20 20 20  |nzip.           |
000078a0  20 20 20 66 72 6f 6d 20  20 61 63 63 69 64 65 6e  |   from  acciden|
000078b0  74 61 6c 6c 79 20 20 77  72 69 74 69 6e 67 20 66  |tally  writing f|
000078c0  69 6c 65 73 20 74 6f 20  60 60 73 65 6e 73 69 74  |iles to ``sensit|
000078d0  69 76 65 27 27 20 61 72  65 61 73 20 6f 75 74 73  |ive'' areas outs|
000078e0  69 64 65 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ide.            |
000078f0  20 20 74 68 65 20 61 63  74 69 76 65 20 65 78 74  |  the active ext|
00007900  72 61 63 74 69 6f 6e 20  66 6f 6c 64 65 72 20 74  |raction folder t|
00007910  72 65 65 20 20 68 65 61  64 2e 20 20 20 54 68 65  |ree  head.   The|
00007920  20 20 2d 3a 20 20 6f 70  74 69 6f 6e 20 20 6c 65  |  -:  option  le|
00007930  74 73 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |ts.             |
00007940  20 75 6e 7a 69 70 20 20  73 77 69 74 63 68 20 20  | unzip  switch  |
00007950  62 61 63 6b 20 20 74 6f  20 69 74 73 20 70 72 65  |back  to its pre|
00007960  76 69 6f 75 73 2c 20 6d  6f 72 65 20 6c 69 62 65  |vious, more libe|
00007970  72 61 6c 20 62 65 68 61  76 69 6f 75 72 2c 20 74  |ral behaviour, t|
00007980  6f 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |o.              |
00007990  61 6c 6c 6f 77 20 65 78  61 63 74 20 65 78 74 72  |allow exact extr|
000079a0  61 63 74 69 6f 6e 20 6f  66 20 28 6f 6c 64 65 72  |action of (older|
000079b0  29 20 20 61 72 63 68 69  76 65 73 20 20 74 68 61  |)  archives  tha|
000079c0  74 20 20 75 73 65 64 20  20 60 60 2e 2e 2f 27 27  |t  used  ``../''|
000079d0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 63  |.              c|
000079e0  6f 6d 70 6f 6e 65 6e 74  73 20 20 74 6f 20 20 63  |omponents  to  c|
000079f0  72 65 61 74 65 20 20 6d  75 6c 74 69 70 6c 65 20  |reate  multiple |
00007a00  64 69 72 65 63 74 6f 72  79 20 74 72 65 65 73 20  |directory trees |
00007a10  61 74 20 74 68 65 20 6c  65 76 65 6c 20 6f 66 0a  |at the level of.|
00007a20  20 20 20 20 20 20 20 20  20 20 20 20 20 20 74 68  |              th|
00007a30  65 20 63 75 72 72 65 6e  74 20 65 78 74 72 61 63  |e current extrac|
00007a40  74 69 6f 6e 20 66 6f 6c  64 65 72 2e 20 20 20 54  |tion folder.   T|
00007a50  68 69 73 20 20 6f 70 74  69 6f 6e 20 20 64 6f 65  |his  option  doe|
00007a60  73 20 20 6e 6f 74 20 20  65 6e 61 62 6c 65 0a 20  |s  not  enable. |
00007a70  20 20 20 20 20 20 20 20  20 20 20 20 20 77 72 69  |             wri|
00007a80  74 69 6e 67 20 20 65 78  70 6c 69 63 69 74 6c 79  |ting  explicitly|
00007a90  20 20 74 6f 20 20 74 68  65 20 72 6f 6f 74 20 64  |  to  the root d|
00007aa0  69 72 65 63 74 6f 72 79  20 28 60 60 2f 27 27 29  |irectory (``/'')|
00007ab0  2e 20 20 54 6f 20 61 63  68 69 65 76 65 0a 20 20  |.  To achieve.  |
00007ac0  20 20 20 20 20 20 20 20  20 20 20 20 74 68 69 73  |            this|
00007ad0  2c 20 69 74 20 69 73 20  6e 65 63 65 73 73 61 72  |, it is necessar|
00007ae0  79 20 74 6f 20 73 65 74  20 74 68 65 20 20 65 78  |y to set the  ex|
00007af0  74 72 61 63 74 69 6f 6e  20 20 74 61 72 67 65 74  |traction  target|
00007b00  20 20 66 6f 6c 64 65 72  20 20 74 6f 0a 20 20 20  |  folder  to.   |
00007b10  20 20 20 20 20 20 20 20  20 20 20 72 6f 6f 74 20  |           root |
00007b20  28 65 2e 67 2e 20 2d 64  20 2f 20 29 2e 20 20 48  |(e.g. -d / ).  H|
00007b30  6f 77 65 76 65 72 2c 20  77 68 65 6e 20 74 68 65  |owever, when the|
00007b40  20 2d 3a 20 6f 70 74 69  6f 6e 20 69 73 20 73 70  | -: option is sp|
00007b50  65 63 69 66 69 65 64 2c  20 69 74 0a 20 20 20 20  |ecified, it.    |
00007b60  20 20 20 20 20 20 20 20  20 20 69 73 20 73 74 69  |          is sti|
00007b70  6c 6c 20 70 6f 73 73 69  62 6c 65 20 74 6f 20 69  |ll possible to i|
00007b80  6d 70 6c 69 63 69 74 6c  79 20 77 72 69 74 65 20  |mplicitly write |
00007b90  74 6f 20 74 68 65 20 72  6f 6f 74 20 20 64 69 72  |to the root  dir|
00007ba0  65 63 74 6f 72 79 20 20  62 79 0a 20 20 20 20 20  |ectory  by.     |
00007bb0  20 20 20 20 20 20 20 20  20 73 70 65 63 69 66 79  |         specify|
00007bc0  69 6e 67 20 20 20 65 6e  6f 75 67 68 20 20 60 60  |ing   enough  ``|
00007bd0  2e 2e 2f 27 27 20 20 70  61 74 68 20 20 63 6f 6d  |../''  path  com|
00007be0  70 6f 6e 65 6e 74 73 20  20 77 69 74 68 69 6e 20  |ponents  within |
00007bf0  20 74 68 65 20 20 7a 69  70 0a 20 20 20 20 20 20  | the  zip.      |
00007c00  20 20 20 20 20 20 20 20  61 72 63 68 69 76 65 2e  |        archive.|
00007c10  20 20 55 73 65 20 74 68  69 73 20 6f 70 74 69 6f  |  Use this optio|
00007c20  6e 20 77 69 74 68 20 65  78 74 72 65 6d 65 20 63  |n with extreme c|
00007c30  61 75 74 69 6f 6e 2e 0a  0a 20 20 20 20 20 20 20  |aution...       |
00007c40  2d 5e 20 20 20 20 20 5b  55 6e 69 78 20 6f 6e 6c  |-^     [Unix onl|
00007c50  79 5d 20 61 6c 6c 6f 77  20 63 6f 6e 74 72 6f 6c  |y] allow control|
00007c60  20 63 68 61 72 61 63 74  65 72 73 20 69 6e 20 6e  | characters in n|
00007c70  61 6d 65 73 20 6f 66 20  20 65 78 74 72 61 63 74  |ames of  extract|
00007c80  65 64 20 20 5a 49 50 0a  20 20 20 20 20 20 20 20  |ed  ZIP.        |
00007c90  20 20 20 20 20 20 61 72  63 68 69 76 65 20 20 65  |      archive  e|
00007ca0  6e 74 72 69 65 73 2e 20  20 20 4f 6e 20 55 6e 69  |ntries.   On Uni|
00007cb0  78 2c 20 61 20 66 69 6c  65 20 6e 61 6d 65 20 6d  |x, a file name m|
00007cc0  61 79 20 63 6f 6e 74 61  69 6e 20 61 6e 79 20 28  |ay contain any (|
00007cd0  38 2d 62 69 74 29 0a 20  20 20 20 20 20 20 20 20  |8-bit).         |
00007ce0  20 20 20 20 20 63 68 61  72 61 63 74 65 72 20 63  |     character c|
00007cf0  6f 64 65 20 77 69 74 68  20 74 68 65 20 74 77 6f  |ode with the two|
00007d00  20 65 78 63 65 70 74 69  6f 6e 20 27 2f 27 20 28  | exception '/' (|
00007d10  64 69 72 65 63 74 6f 72  79 20 20 64 65 6c 69 6d  |directory  delim|
00007d20  69 74 65 72 29 0a 20 20  20 20 20 20 20 20 20 20  |iter).          |
00007d30  20 20 20 20 61 6e 64 20  20 4e 55 4c 20 20 28 30  |    and  NUL  (0|
00007d40  78 30 30 2c 20 74 68 65  20 43 20 73 74 72 69 6e  |x00, the C strin|
00007d50  67 20 74 65 72 6d 69 6e  61 74 69 6f 6e 20 69 6e  |g termination in|
00007d60  64 69 63 61 74 6f 72 29  2c 20 75 6e 6c 65 73 73  |dicator), unless|
00007d70  20 74 68 65 0a 20 20 20  20 20 20 20 20 20 20 20  | the.           |
00007d80  20 20 20 73 70 65 63 69  66 69 63 20 66 69 6c 65  |   specific file|
00007d90  20 73 79 73 74 65 6d 20  68 61 73 20 6d 6f 72 65  | system has more|
00007da0  20 72 65 73 74 72 69 63  74 69 76 65 20 20 63 6f  | restrictive  co|
00007db0  6e 76 65 6e 74 69 6f 6e  73 2e 20 20 20 47 65 6e  |nventions.   Gen|
00007dc0  65 72 2d 0a 20 20 20 20  20 20 20 20 20 20 20 20  |er-.            |
00007dd0  20 20 61 6c 6c 79 2c 20  20 74 68 69 73 20 20 61  |  ally,  this  a|
00007de0  6c 6c 6f 77 73 20 20 74  6f 20 20 65 6d 62 65 64  |llows  to  embed|
00007df0  20 41 53 43 49 49 20 63  6f 6e 74 72 6f 6c 20 63  | ASCII control c|
00007e00  68 61 72 61 63 74 65 72  73 20 28 6f 72 20 65 76  |haracters (or ev|
00007e10  65 6e 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |en.             |
00007e20  20 73 6f 70 68 69 73 74  69 63 61 74 65 64 20 63  | sophisticated c|
00007e30  6f 6e 74 72 6f 6c 20 73  65 71 75 65 6e 63 65 73  |ontrol sequences|
00007e40  29 20 69 6e 20 20 66 69  6c 65 20 20 6e 61 6d 65  |) in  file  name|
00007e50  73 2c 20 20 61 74 20 20  6c 65 61 73 74 20 20 6f  |s,  at  least  o|
00007e60  6e 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |n.              |
00007e70  27 6e 61 74 69 76 65 27  20 20 55 6e 69 78 20 20  |'native'  Unix  |
00007e80  66 69 6c 65 20 20 73 79  73 74 65 6d 73 2e 20 20  |file  systems.  |
00007e90  48 6f 77 65 76 65 72 2c  20 69 74 20 6d 61 79 20  |However, it may |
00007ea0  62 65 20 68 69 67 68 6c  79 20 73 75 73 70 69 2d  |be highly suspi-|
00007eb0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 63  |.              c|
00007ec0  69 6f 75 73 20 74 6f 20  6d 61 6b 65 20 75 73 65  |ious to make use|
00007ed0  20 6f 66 20 20 74 68 69  73 20 20 55 6e 69 78 20  | of  this  Unix |
00007ee0  20 22 66 65 61 74 75 72  65 22 2e 20 20 20 45 6d  | "feature".   Em|
00007ef0  62 65 64 64 65 64 20 20  63 6f 6e 74 72 6f 6c 0a  |bedded  control.|
00007f00  20 20 20 20 20 20 20 20  20 20 20 20 20 20 63 68  |              ch|
00007f10  61 72 61 63 74 65 72 73  20 69 6e 20 66 69 6c 65  |aracters in file|
00007f20  20 6e 61 6d 65 73 20 6d  69 67 68 74 20 68 61 76  | names might hav|
00007f30  65 20 6e 61 73 74 79 20  73 69 64 65 20 65 66 66  |e nasty side eff|
00007f40  65 63 74 73 20 77 68 65  6e 20 64 69 73 2d 0a 20  |ects when dis-. |
00007f50  20 20 20 20 20 20 20 20  20 20 20 20 20 70 6c 61  |             pla|
00007f60  79 65 64 20 6f 6e 20 73  63 72 65 65 6e 20 62 79  |yed on screen by|
00007f70  20 73 6f 6d 65 20 6c 69  73 74 69 6e 67 20 63 6f  | some listing co|
00007f80  64 65 20 77 69 74 68 6f  75 74 20 73 75 66 66 69  |de without suffi|
00007f90  63 69 65 6e 74 20 66 69  6c 74 65 72 2d 0a 20 20  |cient filter-.  |
00007fa0  20 20 20 20 20 20 20 20  20 20 20 20 69 6e 67 2e  |            ing.|
00007fb0  20 20 20 41 6e 64 2c 20  20 66 6f 72 20 20 6f 72  |   And,  for  or|
00007fc0  64 69 6e 61 72 79 20 20  75 73 65 72 73 2c 20 69  |dinary  users, i|
00007fd0  74 20 6d 61 79 20 62 65  20 64 69 66 66 69 63 75  |t may be difficu|
00007fe0  6c 74 20 74 6f 20 68 61  6e 64 6c 65 0a 20 20 20  |lt to handle.   |
00007ff0  20 20 20 20 20 20 20 20  20 20 20 73 75 63 68 20  |           such |
00008000  66 69 6c 65 20 6e 61 6d  65 73 20 28 65 2e 67 2e  |file names (e.g.|
00008010  20 77 68 65 6e 20 74 72  79 69 6e 67 20 74 6f 20  | when trying to |
00008020  73 70 65 63 69 66 79 20  69 74 20 66 6f 72 20 6f  |specify it for o|
00008030  70 65 6e 2c 20 20 63 6f  70 79 2c 0a 20 20 20 20  |pen,  copy,.    |
00008040  20 20 20 20 20 20 20 20  20 20 6d 6f 76 65 2c 20  |          move, |
00008050  20 6f 72 20 64 65 6c 65  74 65 20 6f 70 65 72 61  | or delete opera|
00008060  74 69 6f 6e 73 29 2e 20  20 54 68 65 72 65 66 6f  |tions).  Therefo|
00008070  72 65 2c 20 75 6e 7a 69  70 20 61 70 70 6c 69 65  |re, unzip applie|
00008080  73 20 61 20 66 69 6c 74  65 72 0a 20 20 20 20 20  |s a filter.     |
00008090  20 20 20 20 20 20 20 20  20 62 79 20 64 65 66 61  |         by defa|
000080a0  75 6c 74 20 74 68 61 74  20 72 65 6d 6f 76 65 73  |ult that removes|
000080b0  20 70 6f 74 65 6e 74 69  61 6c 6c 79 20 64 61 6e  | potentially dan|
000080c0  67 65 72 6f 75 73 20 63  6f 6e 74 72 6f 6c 20 63  |gerous control c|
000080d0  68 61 72 61 63 74 65 72  73 0a 20 20 20 20 20 20  |haracters.      |
000080e0  20 20 20 20 20 20 20 20  66 72 6f 6d 20 20 74 68  |        from  th|
000080f0  65 20 65 78 74 72 61 63  74 65 64 20 66 69 6c 65  |e extracted file|
00008100  20 6e 61 6d 65 73 2e 20  54 68 65 20 2d 5e 20 6f  | names. The -^ o|
00008110  70 74 69 6f 6e 20 61 6c  6c 6f 77 73 20 74 6f 20  |ption allows to |
00008120  6f 76 65 72 72 69 64 65  0a 20 20 20 20 20 20 20  |override.       |
00008130  20 20 20 20 20 20 20 74  68 69 73 20 66 69 6c 74  |       this filt|
00008140  65 72 20 69 6e 20 74 68  65 20 72 61 72 65 20 20  |er in the rare  |
00008150  63 61 73 65 20 20 74 68  61 74 20 20 65 6d 62 65  |case  that  embe|
00008160  64 64 65 64 20 20 66 69  6c 65 6e 61 6d 65 20 20  |dded  filename  |
00008170  63 6f 6e 74 72 6f 6c 0a  20 20 20 20 20 20 20 20  |control.        |
00008180  20 20 20 20 20 20 63 68  61 72 61 63 74 65 72 73  |      characters|
00008190  20 61 72 65 20 74 6f 20  62 65 20 69 6e 74 65 6e  | are to be inten|
000081a0  74 69 6f 6e 61 6c 6c 79  20 72 65 73 74 6f 72 65  |tionally restore|
000081b0  64 2e 0a 0a 20 20 20 20  20 20 20 2d 32 20 20 20  |d...       -2   |
000081c0  20 20 5b 56 4d 53 5d 20  20 20 66 6f 72 63 65 20  |  [VMS]   force |
000081d0  20 20 75 6e 63 6f 6e 64  69 74 69 6f 6e 61 6c 6c  |  unconditionall|
000081e0  79 20 20 63 6f 6e 76 65  72 73 69 6f 6e 20 20 6f  |y  conversion  o|
000081f0  66 20 20 66 69 6c 65 20  20 6e 61 6d 65 73 20 20  |f  file  names  |
00008200  74 6f 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |to.             |
00008210  20 4f 44 53 32 2d 63 6f  6d 70 61 74 69 62 6c 65  | ODS2-compatible|
00008220  20 6e 61 6d 65 73 2e 20  20 54 68 65 20 64 65 66  | names.  The def|
00008230  61 75 6c 74 20 69 73 20  74 6f 20 65 78 70 6c 6f  |ault is to explo|
00008240  69 74 20 20 74 68 65 20  20 64 65 73 74 69 6e 61  |it  the  destina|
00008250  2d 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |-.              |
00008260  74 69 6f 6e 20 66 69 6c  65 20 73 79 73 74 65 6d  |tion file system|
00008270  2c 20 70 72 65 73 65 72  76 69 6e 67 20 63 61 73  |, preserving cas|
00008280  65 20 61 6e 64 20 65 78  74 65 6e 64 65 64 20 66  |e and extended f|
00008290  69 6c 65 20 6e 61 6d 65  20 63 68 61 72 61 63 2d  |ile name charac-|
000082a0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 74  |.              t|
000082b0  65 72 73 20 6f 6e 20 61  6e 20 20 4f 44 53 35 20  |ers on an  ODS5 |
000082c0  20 64 65 73 74 69 6e 61  74 69 6f 6e 20 20 66 69  | destination  fi|
000082d0  6c 65 20 20 73 79 73 74  65 6d 3b 20 20 61 6e 64  |le  system;  and|
000082e0  20 20 61 70 70 6c 79 69  6e 67 20 20 74 68 65 0a  |  applying  the.|
000082f0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 4f 44  |              OD|
00008300  53 32 2d 63 6f 6d 70 61  74 69 62 69 6c 69 74 79  |S2-compatibility|
00008310  20 20 66 69 6c 65 20 20  6e 61 6d 65 20 20 66 69  |  file  name  fi|
00008320  6c 74 65 72 69 6e 67 20  6f 6e 20 61 6e 20 4f 44  |ltering on an OD|
00008330  53 32 20 64 65 73 74 69  6e 61 74 69 6f 6e 0a 20  |S2 destination. |
00008340  20 20 20 20 20 20 20 20  20 20 20 20 20 66 69 6c  |             fil|
00008350  65 20 73 79 73 74 65 6d  2e 0a 0a 45 4e 56 49 52  |e system...ENVIR|
00008360  4f 4e 4d 45 4e 54 20 4f  50 54 49 4f 4e 53 0a 20  |ONMENT OPTIONS. |
00008370  20 20 20 20 20 20 75 6e  7a 69 70 27 73 20 64 65  |      unzip's de|
00008380  66 61 75 6c 74 20 62 65  68 61 76 69 6f 72 20 6d  |fault behavior m|
00008390  61 79 20 62 65 20 6d 6f  64 69 66 69 65 64 20 76  |ay be modified v|
000083a0  69 61 20 6f 70 74 69 6f  6e 73 20 70 6c 61 63 65  |ia options place|
000083b0  64 20 69 6e 20 61 6e 20  65 6e 76 69 2d 0a 20 20  |d in an envi-.  |
000083c0  20 20 20 20 20 72 6f 6e  6d 65 6e 74 20 76 61 72  |     ronment var|
000083d0  69 61 62 6c 65 2e 20 20  54 68 69 73 20 63 61 6e  |iable.  This can|
000083e0  20 62 65 20 64 6f 6e 65  20 77 69 74 68 20 61 6e  | be done with an|
000083f0  79 20 6f 70 74 69 6f 6e  2c 20 62 75 74 20 69 74  |y option, but it|
00008400  20 69 73 20 70 72 6f 62  61 62 6c 79 0a 20 20 20  | is probably.   |
00008410  20 20 20 20 6d 6f 73 74  20 75 73 65 66 75 6c 20  |    most useful |
00008420  77 69 74 68 20 74 68 65  20 2d 61 2c 20 2d 4c 2c  |with the -a, -L,|
00008430  20 2d 43 2c 20 2d 71 2c  20 2d 6f 2c 20 6f 72 20  | -C, -q, -o, or |
00008440  2d 6e 20 6d 6f 64 69 66  69 65 72 73 3a 20 20 20  |-n modifiers:   |
00008450  6d 61 6b 65 20 20 75 6e  7a 69 70 0a 20 20 20 20  |make  unzip.    |
00008460  20 20 20 61 75 74 6f 2d  63 6f 6e 76 65 72 74 20  |   auto-convert |
00008470  20 74 65 78 74 20 20 66  69 6c 65 73 20 20 62 79  | text  files  by|
00008480  20 20 64 65 66 61 75 6c  74 2c 20 20 6d 61 6b 65  |  default,  make|
00008490  20 69 74 20 63 6f 6e 76  65 72 74 20 66 69 6c 65  | it convert file|
000084a0  6e 61 6d 65 73 20 66 72  6f 6d 0a 20 20 20 20 20  |names from.     |
000084b0  20 20 75 70 70 65 72 63  61 73 65 20 73 79 73 74  |  uppercase syst|
000084c0  65 6d 73 20 74 6f 20 6c  6f 77 65 72 63 61 73 65  |ems to lowercase|
000084d0  2c 20 6d 61 6b 65 20 69  74 20 6d 61 74 63 68 20  |, make it match |
000084e0  6e 61 6d 65 73 20 63 61  73 65 2d 69 6e 73 65 6e  |names case-insen|
000084f0  73 69 74 69 76 65 6c 79  2c 0a 20 20 20 20 20 20  |sitively,.      |
00008500  20 6d 61 6b 65 20 20 69  74 20 20 71 75 69 65 74  | make  it  quiet|
00008510  65 72 2c 20 6f 72 20 6d  61 6b 65 20 69 74 20 61  |er, or make it a|
00008520  6c 77 61 79 73 20 6f 76  65 72 77 72 69 74 65 20  |lways overwrite |
00008530  6f 72 20 6e 65 76 65 72  20 6f 76 65 72 77 72 69  |or never overwri|
00008540  74 65 20 66 69 6c 65 73  0a 20 20 20 20 20 20 20  |te files.       |
00008550  61 73 20 69 74 20 65 78  74 72 61 63 74 73 20 74  |as it extracts t|
00008560  68 65 6d 2e 20 20 46 6f  72 20 65 78 61 6d 70 6c  |hem.  For exampl|
00008570  65 2c 20 74 6f 20 6d 61  6b 65 20 75 6e 7a 69 70  |e, to make unzip|
00008580  20 61 63 74 20 61 73 20  71 75 69 65 74 6c 79 20  | act as quietly |
00008590  61 73 20 70 6f 73 2d 0a  20 20 20 20 20 20 20 73  |as pos-.       s|
000085a0  69 62 6c 65 2c 20 20 6f  6e 6c 79 20 20 72 65 70  |ible,  only  rep|
000085b0  6f 72 74 69 6e 67 20 65  72 72 6f 72 73 2c 20 6f  |orting errors, o|
000085c0  6e 65 20 77 6f 75 6c 64  20 75 73 65 20 6f 6e 65  |ne would use one|
000085d0  20 6f 66 20 74 68 65 20  66 6f 6c 6c 6f 77 69 6e  | of the followin|
000085e0  67 20 63 6f 6d 2d 0a 20  20 20 20 20 20 20 6d 61  |g com-.       ma|
000085f0  6e 64 73 3a 0a 0a 20 20  20 20 20 20 20 20 20 55  |nds:..         U|
00008600  6e 69 78 20 42 6f 75 72  6e 65 20 73 68 65 6c 6c  |nix Bourne shell|
00008610  3a 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |:.              |
00008620  55 4e 5a 49 50 3d 2d 71  71 3b 20 65 78 70 6f 72  |UNZIP=-qq; expor|
00008630  74 20 55 4e 5a 49 50 0a  0a 20 20 20 20 20 20 20  |t UNZIP..       |
00008640  20 20 55 6e 69 78 20 43  20 73 68 65 6c 6c 3a 0a  |  Unix C shell:.|
00008650  20 20 20 20 20 20 20 20  20 20 20 20 20 20 73 65  |              se|
00008660  74 65 6e 76 20 55 4e 5a  49 50 20 2d 71 71 0a 0a  |tenv UNZIP -qq..|
00008670  20 20 20 20 20 20 20 20  20 4f 53 2f 32 20 6f 72  |         OS/2 or|
00008680  20 4d 53 2d 44 4f 53 3a  0a 20 20 20 20 20 20 20  | MS-DOS:.       |
00008690  20 20 20 20 20 20 20 73  65 74 20 55 4e 5a 49 50  |       set UNZIP|
000086a0  3d 2d 71 71 0a 0a 20 20  20 20 20 20 20 20 20 56  |=-qq..         V|
000086b0  4d 53 20 28 71 75 6f 74  65 73 20 66 6f 72 20 6c  |MS (quotes for l|
000086c0  6f 77 65 72 63 61 73 65  29 3a 0a 20 20 20 20 20  |owercase):.     |
000086d0  20 20 20 20 20 20 20 20  20 64 65 66 69 6e 65 20  |         define |
000086e0  55 4e 5a 49 50 5f 4f 50  54 53 20 22 2d 71 71 22  |UNZIP_OPTS "-qq"|
000086f0  0a 0a 20 20 20 20 20 20  20 45 6e 76 69 72 6f 6e  |..       Environ|
00008700  6d 65 6e 74 20 6f 70 74  69 6f 6e 73 20 61 72 65  |ment options are|
00008710  2c 20 69 6e 20 65 66 66  65 63 74 2c 20 63 6f 6e  |, in effect, con|
00008720  73 69 64 65 72 65 64 20  20 74 6f 20 20 62 65 20  |sidered  to  be |
00008730  20 6a 75 73 74 20 20 6c  69 6b 65 20 20 61 6e 79  | just  like  any|
00008740  0a 20 20 20 20 20 20 20  6f 74 68 65 72 20 20 63  |.       other  c|
00008750  6f 6d 6d 61 6e 64 2d 6c  69 6e 65 20 6f 70 74 69  |ommand-line opti|
00008760  6f 6e 73 2c 20 65 78 63  65 70 74 20 74 68 61 74  |ons, except that|
00008770  20 74 68 65 79 20 61 72  65 20 65 66 66 65 63 74  | they are effect|
00008780  69 76 65 6c 79 20 74 68  65 20 66 69 72 73 74 0a  |ively the first.|
00008790  20 20 20 20 20 20 20 6f  70 74 69 6f 6e 73 20 6f  |       options o|
000087a0  6e 20 74 68 65 20 63 6f  6d 6d 61 6e 64 20 6c 69  |n the command li|
000087b0  6e 65 2e 20 20 54 6f 20  6f 76 65 72 72 69 64 65  |ne.  To override|
000087c0  20 61 6e 20 20 65 6e 76  69 72 6f 6e 6d 65 6e 74  | an  environment|
000087d0  20 20 6f 70 74 69 6f 6e  2c 20 20 6f 6e 65 0a 20  |  option,  one. |
000087e0  20 20 20 20 20 20 6d 61  79 20 75 73 65 20 74 68  |      may use th|
000087f0  65 20 60 60 6d 69 6e 75  73 20 6f 70 65 72 61 74  |e ``minus operat|
00008800  6f 72 27 27 20 74 6f 20  72 65 6d 6f 76 65 20 69  |or'' to remove i|
00008810  74 2e 20 20 46 6f 72 20  69 6e 73 74 61 6e 63 65  |t.  For instance|
00008820  2c 20 74 6f 20 6f 76 65  72 72 69 64 65 0a 20 20  |, to override.  |
00008830  20 20 20 20 20 6f 6e 65  20 6f 66 20 74 68 65 20  |     one of the |
00008840  71 75 69 65 74 2d 66 6c  61 67 73 20 69 6e 20 74  |quiet-flags in t|
00008850  68 65 20 65 78 61 6d 70  6c 65 20 61 62 6f 76 65  |he example above|
00008860  2c 20 75 73 65 20 74 68  65 20 63 6f 6d 6d 61 6e  |, use the comman|
00008870  64 0a 0a 20 20 20 20 20  20 20 20 20 20 20 75 6e  |d..           un|
00008880  7a 69 70 20 2d 2d 71 5b  6f 74 68 65 72 20 6f 70  |zip --q[other op|
00008890  74 69 6f 6e 73 5d 20 7a  69 70 66 69 6c 65 0a 0a  |tions] zipfile..|
000088a0  20 20 20 20 20 20 20 54  68 65 20 66 69 72 73 74  |       The first|
000088b0  20 68 79 70 68 65 6e 20  69 73 20 74 68 65 20 6e  | hyphen is the n|
000088c0  6f 72 6d 61 6c 20 73 77  69 74 63 68 20 63 68 61  |ormal switch cha|
000088d0  72 61 63 74 65 72 2c 20  61 6e 64 20 74 68 65 20  |racter, and the |
000088e0  20 73 65 63 6f 6e 64 20  20 69 73 20 20 61 0a 20  | second  is  a. |
000088f0  20 20 20 20 20 20 6d 69  6e 75 73 20 20 73 69 67  |      minus  sig|
00008900  6e 2c 20 61 63 74 69 6e  67 20 6f 6e 20 74 68 65  |n, acting on the|
00008910  20 71 20 6f 70 74 69 6f  6e 2e 20 20 54 68 75 73  | q option.  Thus|
00008920  20 74 68 65 20 65 66 66  65 63 74 20 68 65 72 65  | the effect here|
00008930  20 69 73 20 74 6f 20 63  61 6e 63 65 6c 0a 20 20  | is to cancel.  |
00008940  20 20 20 20 20 6f 6e 65  20 71 75 61 6e 74 75 6d  |     one quantum|
00008950  20 6f 66 20 71 75 69 65  74 6e 65 73 73 2e 20 20  | of quietness.  |
00008960  54 6f 20 63 61 6e 63 65  6c 20 62 6f 74 68 20 71  |To cancel both q|
00008970  75 69 65 74 20 66 6c 61  67 73 2c 20 20 74 77 6f  |uiet flags,  two|
00008980  20 20 28 6f 72 20 20 6d  6f 72 65 29 0a 20 20 20  |  (or  more).   |
00008990  20 20 20 20 6d 69 6e 75  73 65 73 20 6d 61 79 20  |    minuses may |
000089a0  62 65 20 75 73 65 64 3a  0a 0a 20 20 20 20 20 20  |be used:..      |
000089b0  20 20 20 20 20 75 6e 7a  69 70 20 2d 74 2d 2d 71  |     unzip -t--q|
000089c0  20 7a 69 70 66 69 6c 65  0a 20 20 20 20 20 20 20  | zipfile.       |
000089d0  20 20 20 20 75 6e 7a 69  70 20 2d 2d 2d 71 74 20  |    unzip ---qt |
000089e0  7a 69 70 66 69 6c 65 0a  0a 20 20 20 20 20 20 20  |zipfile..       |
000089f0  28 74 68 65 20 20 74 77  6f 20 20 61 72 65 20 65  |(the  two  are e|
00008a00  71 75 69 76 61 6c 65 6e  74 29 2e 20 20 54 68 69  |quivalent).  Thi|
00008a10  73 20 6d 61 79 20 73 65  65 6d 20 61 77 6b 77 61  |s may seem awkwa|
00008a20  72 64 20 6f 72 20 63 6f  6e 66 75 73 69 6e 67 2c  |rd or confusing,|
00008a30  20 62 75 74 20 69 74 0a  20 20 20 20 20 20 20 69  | but it.       i|
00008a40  73 20 72 65 61 73 6f 6e  61 62 6c 79 20 69 6e 74  |s reasonably int|
00008a50  75 69 74 69 76 65 3a 20  20 6a 75 73 74 20 69 67  |uitive:  just ig|
00008a60  6e 6f 72 65 20 74 68 65  20 20 66 69 72 73 74 20  |nore the  first |
00008a70  20 68 79 70 68 65 6e 20  20 61 6e 64 20 20 67 6f  | hyphen  and  go|
00008a80  20 20 66 72 6f 6d 0a 20  20 20 20 20 20 20 74 68  |  from.       th|
00008a90  65 72 65 2e 20 20 49 74  20 69 73 20 61 6c 73 6f  |ere.  It is also|
00008aa0  20 63 6f 6e 73 69 73 74  65 6e 74 20 77 69 74 68  | consistent with|
00008ab0  20 74 68 65 20 62 65 68  61 76 69 6f 72 20 6f 66  | the behavior of|
00008ac0  20 55 6e 69 78 20 6e 69  63 65 28 31 29 2e 0a 0a  | Unix nice(1)...|
00008ad0  20 20 20 20 20 20 20 41  73 20 20 73 75 67 67 65  |       As  sugge|
00008ae0  73 74 65 64 20 20 62 79  20 20 74 68 65 20 20 65  |sted  by  the  e|
00008af0  78 61 6d 70 6c 65 73 20  20 61 62 6f 76 65 2c 20  |xamples  above, |
00008b00  74 68 65 20 64 65 66 61  75 6c 74 20 76 61 72 69  |the default vari|
00008b10  61 62 6c 65 20 6e 61 6d  65 73 20 61 72 65 0a 20  |able names are. |
00008b20  20 20 20 20 20 20 55 4e  5a 49 50 5f 4f 50 54 53  |      UNZIP_OPTS|
00008b30  20 66 6f 72 20 56 4d 53  20 28 77 68 65 72 65 20  | for VMS (where |
00008b40  74 68 65 20 73 79 6d 62  6f 6c 20 75 73 65 64 20  |the symbol used |
00008b50  74 6f 20 69 6e 73 74 61  6c 6c 20 75 6e 7a 69 70  |to install unzip|
00008b60  20 61 73 20 61 20 66 6f  72 65 69 67 6e 0a 20 20  | as a foreign.  |
00008b70  20 20 20 20 20 63 6f 6d  6d 61 6e 64 20 77 6f 75  |     command wou|
00008b80  6c 64 20 6f 74 68 65 72  77 69 73 65 20 62 65 20  |ld otherwise be |
00008b90  63 6f 6e 66 75 73 65 64  20 77 69 74 68 20 74 68  |confused with th|
00008ba0  65 20 65 6e 76 69 72 6f  6e 6d 65 6e 74 20 76 61  |e environment va|
00008bb0  72 69 61 62 6c 65 29 2c  20 61 6e 64 0a 20 20 20  |riable), and.   |
00008bc0  20 20 20 20 55 4e 5a 49  50 20 66 6f 72 20 61 6c  |    UNZIP for al|
00008bd0  6c 20 6f 74 68 65 72 20  6f 70 65 72 61 74 69 6e  |l other operatin|
00008be0  67 20 73 79 73 74 65 6d  73 2e 20 20 46 6f 72 20  |g systems.  For |
00008bf0  63 6f 6d 70 61 74 69 62  69 6c 69 74 79 20 77 69  |compatibility wi|
00008c00  74 68 20 7a 69 70 28 31  4c 29 2c 0a 20 20 20 20  |th zip(1L),.    |
00008c10  20 20 20 55 4e 5a 49 50  4f 50 54 20 20 69 73 20  |   UNZIPOPT  is |
00008c20  61 6c 73 6f 20 61 63 63  65 70 74 65 64 20 28 64  |also accepted (d|
00008c30  6f 6e 27 74 20 61 73 6b  29 2e 20 20 49 66 20 62  |on't ask).  If b|
00008c40  6f 74 68 20 55 4e 5a 49  50 20 61 6e 64 20 55 4e  |oth UNZIP and UN|
00008c50  5a 49 50 4f 50 54 20 61  72 65 0a 20 20 20 20 20  |ZIPOPT are.     |
00008c60  20 20 64 65 66 69 6e 65  64 2c 20 68 6f 77 65 76  |  defined, howev|
00008c70  65 72 2c 20 55 4e 5a 49  50 20 74 61 6b 65 73 20  |er, UNZIP takes |
00008c80  70 72 65 63 65 64 65 6e  63 65 2e 20 20 20 75 6e  |precedence.   un|
00008c90  7a 69 70 27 73 20 20 64  69 61 67 6e 6f 73 74 69  |zip's  diagnosti|
00008ca0  63 20 20 6f 70 74 69 6f  6e 0a 20 20 20 20 20 20  |c  option.      |
00008cb0  20 28 2d 76 20 20 77 69  74 68 20 20 6e 6f 20 7a  | (-v  with  no z|
00008cc0  69 70 66 69 6c 65 20 6e  61 6d 65 29 20 63 61 6e  |ipfile name) can|
00008cd0  20 62 65 20 75 73 65 64  20 74 6f 20 63 68 65 63  | be used to chec|
00008ce0  6b 20 74 68 65 20 76 61  6c 75 65 73 20 6f 66 20  |k the values of |
00008cf0  61 6c 6c 20 66 6f 75 72  0a 20 20 20 20 20 20 20  |all four.       |
00008d00  70 6f 73 73 69 62 6c 65  20 75 6e 7a 69 70 20 61  |possible unzip a|
00008d10  6e 64 20 7a 69 70 69 6e  66 6f 20 65 6e 76 69 72  |nd zipinfo envir|
00008d20  6f 6e 6d 65 6e 74 20 76  61 72 69 61 62 6c 65 73  |onment variables|
00008d30  2e 0a 0a 20 20 20 20 20  20 20 54 68 65 20 74 69  |...       The ti|
00008d40  6d 65 7a 6f 6e 65 20 76  61 72 69 61 62 6c 65 20  |mezone variable |
00008d50  28 54 5a 29 20 73 68 6f  75 6c 64 20 62 65 20 73  |(TZ) should be s|
00008d60  65 74 20 61 63 63 6f 72  64 69 6e 67 20 74 6f 20  |et according to |
00008d70  74 68 65 20 20 6c 6f 63  61 6c 20 20 74 69 6d 65  |the  local  time|
00008d80  2d 0a 20 20 20 20 20 20  20 7a 6f 6e 65 20 69 6e  |-.       zone in|
00008d90  20 6f 72 64 65 72 20 66  6f 72 20 74 68 65 20 2d  | order for the -|
00008da0  66 20 61 6e 64 20 2d 75  20 74 6f 20 6f 70 65 72  |f and -u to oper|
00008db0  61 74 65 20 63 6f 72 72  65 63 74 6c 79 2e 20 20  |ate correctly.  |
00008dc0  53 65 65 20 74 68 65 20  64 65 73 63 72 69 70 2d  |See the descrip-|
00008dd0  0a 20 20 20 20 20 20 20  74 69 6f 6e 20 6f 66 20  |.       tion of |
00008de0  2d 66 20 61 62 6f 76 65  20 66 6f 72 20 64 65 74  |-f above for det|
00008df0  61 69 6c 73 2e 20 20 54  68 69 73 20 76 61 72 69  |ails.  This vari|
00008e00  61 62 6c 65 20 6d 61 79  20 61 6c 73 6f 20 62 65  |able may also be|
00008e10  20 20 6e 65 63 65 73 73  61 72 79 20 20 74 6f 0a  |  necessary  to.|
00008e20  20 20 20 20 20 20 20 67  65 74 20 20 74 69 6d 65  |       get  time|
00008e30  73 74 61 6d 70 73 20 20  6f 66 20 20 65 78 74 72  |stamps  of  extr|
00008e40  61 63 74 65 64 20 20 66  69 6c 65 73 20 20 74 6f  |acted  files  to|
00008e50  20 20 62 65 20 73 65 74  20 63 6f 72 72 65 63 74  |  be set correct|
00008e60  6c 79 2e 20 20 54 68 65  20 57 49 4e 33 32 0a 20  |ly.  The WIN32. |
00008e70  20 20 20 20 20 20 28 57  69 6e 39 78 2f 4d 45 2f  |      (Win9x/ME/|
00008e80  4e 54 34 2f 32 4b 2f 58  50 2f 32 4b 33 29 20 70  |NT4/2K/XP/2K3) p|
00008e90  6f 72 74 20 6f 66 20 75  6e 7a 69 70 20 67 65 74  |ort of unzip get|
00008ea0  73 20 74 68 65 20 74 69  6d 65 7a 6f 6e 65 20 20  |s the timezone  |
00008eb0  63 6f 6e 66 69 67 75 72  61 74 69 6f 6e 0a 20 20  |configuration.  |
00008ec0  20 20 20 20 20 66 72 6f  6d 20 20 74 68 65 20 20  |     from  the  |
00008ed0  72 65 67 69 73 74 72 79  2c 20 61 73 73 75 6d 69  |registry, assumi|
00008ee0  6e 67 20 69 74 20 69 73  20 63 6f 72 72 65 63 74  |ng it is correct|
00008ef0  6c 79 20 73 65 74 20 69  6e 20 74 68 65 20 43 6f  |ly set in the Co|
00008f00  6e 74 72 6f 6c 20 50 61  6e 65 6c 2e 0a 20 20 20  |ntrol Panel..   |
00008f10  20 20 20 20 54 68 65 20  54 5a 20 76 61 72 69 61  |    The TZ varia|
00008f20  62 6c 65 20 69 73 20 69  67 6e 6f 72 65 64 20 66  |ble is ignored f|
00008f30  6f 72 20 74 68 69 73 20  70 6f 72 74 2e 0a 0a 44  |or this port...D|
00008f40  45 43 52 59 50 54 49 4f  4e 0a 20 20 20 20 20 20  |ECRYPTION.      |
00008f50  20 45 6e 63 72 79 70 74  65 64 20 61 72 63 68 69  | Encrypted archi|
00008f60  76 65 73 20 61 72 65 20  66 75 6c 6c 79 20 73 75  |ves are fully su|
00008f70  70 70 6f 72 74 65 64 20  62 79 20 49 6e 66 6f 2d  |pported by Info-|
00008f80  5a 49 50 20 73 6f 66 74  77 61 72 65 2c 20 62 75  |ZIP software, bu|
00008f90  74 20 64 75 65 20 74 6f  0a 20 20 20 20 20 20 20  |t due to.       |
00008fa0  55 6e 69 74 65 64 20 53  74 61 74 65 73 20 65 78  |United States ex|
00008fb0  70 6f 72 74 20 72 65 73  74 72 69 63 74 69 6f 6e  |port restriction|
00008fc0  73 2c 20 64 65 2d 2f 65  6e 63 72 79 70 74 69 6f  |s, de-/encryptio|
00008fd0  6e 20 73 75 70 70 6f 72  74 20 6d 69 67 68 74 20  |n support might |
00008fe0  62 65 20 64 69 73 2d 0a  20 20 20 20 20 20 20 61  |be dis-.       a|
00008ff0  62 6c 65 64 20 69 6e 20  79 6f 75 72 20 63 6f 6d  |bled in your com|
00009000  70 69 6c 65 64 20 62 69  6e 61 72 79 2e 20 20 48  |piled binary.  H|
00009010  6f 77 65 76 65 72 2c 20  73 69 6e 63 65 20 73 70  |owever, since sp|
00009020  72 69 6e 67 20 32 30 30  30 2c 20 20 55 53 20 20  |ring 2000,  US  |
00009030  65 78 70 6f 72 74 0a 20  20 20 20 20 20 20 72 65  |export.       re|
00009040  73 74 72 69 63 74 69 6f  6e 73 20 20 68 61 76 65  |strictions  have|
00009050  20 20 62 65 65 6e 20 20  6c 69 62 65 72 61 74 65  |  been  liberate|
00009060  64 2c 20 20 61 6e 64 20  20 6f 75 72 20 20 73 6f  |d,  and  our  so|
00009070  75 72 63 65 20 20 61 72  63 68 69 76 65 73 20 64  |urce  archives d|
00009080  6f 20 6e 6f 77 0a 20 20  20 20 20 20 20 69 6e 63  |o now.       inc|
00009090  6c 75 64 65 20 66 75 6c  6c 20 63 72 79 70 74 20  |lude full crypt |
000090a0  63 6f 64 65 2e 20 20 49  6e 20 63 61 73 65 20 79  |code.  In case y|
000090b0  6f 75 20 6e 65 65 64 20  20 62 69 6e 61 72 79 20  |ou need  binary |
000090c0  20 64 69 73 74 72 69 62  75 74 69 6f 6e 73 20 20  | distributions  |
000090d0  77 69 74 68 0a 20 20 20  20 20 20 20 63 72 79 70  |with.       cryp|
000090e0  74 20 73 75 70 70 6f 72  74 20 65 6e 61 62 6c 65  |t support enable|
000090f0  64 2c 20 73 65 65 20 74  68 65 20 66 69 6c 65 20  |d, see the file |
00009100  60 60 57 48 45 52 45 27  27 20 69 6e 20 61 6e 79  |``WHERE'' in any|
00009110  20 49 6e 66 6f 2d 5a 49  50 20 73 6f 75 72 63 65  | Info-ZIP source|
00009120  20 6f 72 0a 20 20 20 20  20 20 20 62 69 6e 61 72  | or.       binar|
00009130  79 20 64 69 73 74 72 69  62 75 74 69 6f 6e 20 66  |y distribution f|
00009140  6f 72 20 6c 6f 63 61 74  69 6f 6e 73 20 62 6f 74  |or locations bot|
00009150  68 20 69 6e 73 69 64 65  20 61 6e 64 20 6f 75 74  |h inside and out|
00009160  73 69 64 65 20 74 68 65  20 55 53 2e 0a 0a 20 20  |side the US...  |
00009170  20 20 20 20 20 53 6f 6d  65 20 63 6f 6d 70 69 6c  |     Some compil|
00009180  65 64 20 76 65 72 73 69  6f 6e 73 20 6f 66 20 75  |ed versions of u|
00009190  6e 7a 69 70 20 6d 61 79  20 6e 6f 74 20 73 75 70  |nzip may not sup|
000091a0  70 6f 72 74 20 64 65 63  72 79 70 74 69 6f 6e 2e  |port decryption.|
000091b0  20 20 54 6f 20 63 68 65  63 6b 20 61 0a 20 20 20  |  To check a.   |
000091c0  20 20 20 20 76 65 72 73  69 6f 6e 20 20 66 6f 72  |    version  for|
000091d0  20 20 63 72 79 70 74 20  20 73 75 70 70 6f 72 74  |  crypt  support|
000091e0  2c 20 20 65 69 74 68 65  72 20 20 61 74 74 65 6d  |,  either  attem|
000091f0  70 74 20 20 74 6f 20 20  74 65 73 74 20 20 6f 72  |pt  to  test  or|
00009200  20 65 78 74 72 61 63 74  20 61 6e 0a 20 20 20 20  | extract an.    |
00009210  20 20 20 65 6e 63 72 79  70 74 65 64 20 61 72 63  |   encrypted arc|
00009220  68 69 76 65 2c 20 6f 72  20 65 6c 73 65 20 63 68  |hive, or else ch|
00009230  65 63 6b 20 75 6e 7a 69  70 27 73 20 64 69 61 67  |eck unzip's diag|
00009240  6e 6f 73 74 69 63 20 73  63 72 65 65 6e 20 28 73  |nostic screen (s|
00009250  65 65 20 74 68 65 20 20  2d 76 0a 20 20 20 20 20  |ee the  -v.     |
00009260  20 20 6f 70 74 69 6f 6e  20 20 61 62 6f 76 65 29  |  option  above)|
00009270  20 20 66 6f 72 20 20 60  60 5b 64 65 63 72 79 70  |  for  ``[decryp|
00009280  74 69 6f 6e 5d 27 27 20  61 73 20 6f 6e 65 20 6f  |tion]'' as one o|
00009290  66 20 74 68 65 20 73 70  65 63 69 61 6c 20 63 6f  |f the special co|
000092a0  6d 70 69 6c 61 74 69 6f  6e 0a 20 20 20 20 20 20  |mpilation.      |
000092b0  20 6f 70 74 69 6f 6e 73  2e 0a 0a 20 20 20 20 20  | options...     |
000092c0  20 20 41 73 20 6e 6f 74  65 64 20 61 62 6f 76 65  |  As noted above|
000092d0  2c 20 74 68 65 20 2d 50  20 6f 70 74 69 6f 6e 20  |, the -P option |
000092e0  6d 61 79 20 62 65 20 75  73 65 64 20 74 6f 20 73  |may be used to s|
000092f0  75 70 70 6c 79 20 61 20  70 61 73 73 77 6f 72 64  |upply a password|
00009300  20 20 6f 6e 20 20 74 68  65 0a 20 20 20 20 20 20  |  on  the.      |
00009310  20 63 6f 6d 6d 61 6e 64  20 20 6c 69 6e 65 2c 20  | command  line, |
00009320  20 62 75 74 20 20 61 74  20 20 61 20 20 63 6f 73  | but  at  a  cos|
00009330  74 20 69 6e 20 73 65 63  75 72 69 74 79 2e 20 20  |t in security.  |
00009340  54 68 65 20 70 72 65 66  65 72 72 65 64 20 64 65  |The preferred de|
00009350  63 72 79 70 74 69 6f 6e  0a 20 20 20 20 20 20 20  |cryption.       |
00009360  6d 65 74 68 6f 64 20 69  73 20 73 69 6d 70 6c 79  |method is simply|
00009370  20 74 6f 20 65 78 74 72  61 63 74 20 6e 6f 72 6d  | to extract norm|
00009380  61 6c 6c 79 3b 20 69 66  20 61 20 7a 69 70 66 69  |ally; if a zipfi|
00009390  6c 65 20 6d 65 6d 62 65  72 20 69 73 20 65 6e 63  |le member is enc|
000093a0  72 79 70 74 65 64 2c 0a  20 20 20 20 20 20 20 75  |rypted,.       u|
000093b0  6e 7a 69 70 20 20 77 69  6c 6c 20 20 70 72 6f 6d  |nzip  will  prom|
000093c0  70 74 20 20 66 6f 72 20  20 74 68 65 20 20 70 61  |pt  for  the  pa|
000093d0  73 73 77 6f 72 64 20 20  77 69 74 68 6f 75 74 20  |ssword  without |
000093e0  65 63 68 6f 69 6e 67 20  77 68 61 74 20 69 73 20  |echoing what is |
000093f0  74 79 70 65 64 2e 0a 20  20 20 20 20 20 20 75 6e  |typed..       un|
00009400  7a 69 70 20 63 6f 6e 74  69 6e 75 65 73 20 74 6f  |zip continues to|
00009410  20 75 73 65 20 74 68 65  20 73 61 6d 65 20 70 61  | use the same pa|
00009420  73 73 77 6f 72 64 20 61  73 20 6c 6f 6e 67 20 61  |ssword as long a|
00009430  73 20 69 74 20 20 61 70  70 65 61 72 73 20 20 74  |s it  appears  t|
00009440  6f 20 20 62 65 0a 20 20  20 20 20 20 20 76 61 6c  |o  be.       val|
00009450  69 64 2c 20 20 62 79 20  74 65 73 74 69 6e 67 20  |id,  by testing |
00009460  61 20 31 32 2d 62 79 74  65 20 68 65 61 64 65 72  |a 12-byte header|
00009470  20 6f 6e 20 65 61 63 68  20 66 69 6c 65 2e 20 20  | on each file.  |
00009480  54 68 65 20 63 6f 72 72  65 63 74 20 70 61 73 73  |The correct pass|
00009490  77 6f 72 64 0a 20 20 20  20 20 20 20 77 69 6c 6c  |word.       will|
000094a0  20 61 6c 77 61 79 73 20  63 68 65 63 6b 20 6f 75  | always check ou|
000094b0  74 20 61 67 61 69 6e 73  74 20 74 68 65 20 20 68  |t against the  h|
000094c0  65 61 64 65 72 2c 20 20  62 75 74 20 20 74 68 65  |eader,  but  the|
000094d0  72 65 20 20 69 73 20 20  61 20 20 31 2d 69 6e 2d  |re  is  a  1-in-|
000094e0  32 35 36 0a 20 20 20 20  20 20 20 63 68 61 6e 63  |256.       chanc|
000094f0  65 20 20 74 68 61 74 20  20 61 6e 20 20 69 6e 63  |e  that  an  inc|
00009500  6f 72 72 65 63 74 20 70  61 73 73 77 6f 72 64 20  |orrect password |
00009510  77 69 6c 6c 20 61 73 20  77 65 6c 6c 2e 20 20 28  |will as well.  (|
00009520  54 68 69 73 20 69 73 20  61 20 73 65 63 75 72 69  |This is a securi|
00009530  74 79 0a 20 20 20 20 20  20 20 66 65 61 74 75 72  |ty.       featur|
00009540  65 20 6f 66 20 74 68 65  20 50 4b 57 41 52 45 20  |e of the PKWARE |
00009550  7a 69 70 66 69 6c 65 20  20 66 6f 72 6d 61 74 3b  |zipfile  format;|
00009560  20 20 69 74 20 20 68 65  6c 70 73 20 20 70 72 65  |  it  helps  pre|
00009570  76 65 6e 74 20 20 62 72  75 74 65 2d 66 6f 72 63  |vent  brute-forc|
00009580  65 0a 20 20 20 20 20 20  20 61 74 74 61 63 6b 73  |e.       attacks|
00009590  20 20 74 68 61 74 20 20  6d 69 67 68 74 20 20 6f  |  that  might  o|
000095a0  74 68 65 72 77 69 73 65  20 67 61 69 6e 20 61 20  |therwise gain a |
000095b0  6c 61 72 67 65 20 73 70  65 65 64 20 61 64 76 61  |large speed adva|
000095c0  6e 74 61 67 65 20 62 79  20 74 65 73 74 69 6e 67  |ntage by testing|
000095d0  0a 20 20 20 20 20 20 20  6f 6e 6c 79 20 74 68 65  |.       only the|
000095e0  20 68 65 61 64 65 72 2e  29 20 20 49 6e 20 74 68  | header.)  In th|
000095f0  65 20 63 61 73 65 20 74  68 61 74 20 61 6e 20 69  |e case that an i|
00009600  6e 63 6f 72 72 65 63 74  20 70 61 73 73 77 6f 72  |ncorrect passwor|
00009610  64 20 69 73 20 67 69 76  65 6e 20 20 62 75 74 0a  |d is given  but.|
00009620  20 20 20 20 20 20 20 69  74 20 20 70 61 73 73 65  |       it  passe|
00009630  73 20 74 68 65 20 68 65  61 64 65 72 20 74 65 73  |s the header tes|
00009640  74 20 61 6e 79 77 61 79  2c 20 65 69 74 68 65 72  |t anyway, either|
00009650  20 61 6e 20 69 6e 63 6f  72 72 65 63 74 20 43 52  | an incorrect CR|
00009660  43 20 77 69 6c 6c 20 62  65 20 67 65 6e 2d 0a 20  |C will be gen-. |
00009670  20 20 20 20 20 20 65 72  61 74 65 64 20 66 6f 72  |      erated for|
00009680  20 74 68 65 20 65 78 74  72 61 63 74 65 64 20 64  | the extracted d|
00009690  61 74 61 20 20 6f 72 20  20 65 6c 73 65 20 20 75  |ata  or  else  u|
000096a0  6e 7a 69 70 20 20 77 69  6c 6c 20 20 66 61 69 6c  |nzip  will  fail|
000096b0  20 20 64 75 72 69 6e 67  20 20 74 68 65 0a 20 20  |  during  the.  |
000096c0  20 20 20 20 20 65 78 74  72 61 63 74 69 6f 6e 20  |     extraction |
000096d0  20 62 65 63 61 75 73 65  20 20 74 68 65 20 20 60  | because  the  `|
000096e0  60 64 65 63 72 79 70 74  65 64 27 27 20 62 79 74  |`decrypted'' byt|
000096f0  65 73 20 64 6f 20 6e 6f  74 20 63 6f 6e 73 74 69  |es do not consti|
00009700  74 75 74 65 20 61 20 76  61 6c 69 64 0a 20 20 20  |tute a valid.   |
00009710  20 20 20 20 63 6f 6d 70  72 65 73 73 65 64 20 64  |    compressed d|
00009720  61 74 61 20 73 74 72 65  61 6d 2e 0a 0a 20 20 20  |ata stream...   |
00009730  20 20 20 20 49 66 20 74  68 65 20 66 69 72 73 74  |    If the first|
00009740  20 70 61 73 73 77 6f 72  64 20 66 61 69 6c 73 20  | password fails |
00009750  74 68 65 20 68 65 61 64  65 72 20 63 68 65 63 6b  |the header check|
00009760  20 6f 6e 20 73 6f 6d 65  20 66 69 6c 65 2c 20 20  | on some file,  |
00009770  75 6e 7a 69 70 20 20 77  69 6c 6c 0a 20 20 20 20  |unzip  will.    |
00009780  20 20 20 70 72 6f 6d 70  74 20 20 66 6f 72 20 20  |   prompt  for  |
00009790  61 6e 6f 74 68 65 72 20  70 61 73 73 77 6f 72 64  |another password|
000097a0  2c 20 61 6e 64 20 73 6f  20 6f 6e 20 75 6e 74 69  |, and so on unti|
000097b0  6c 20 61 6c 6c 20 66 69  6c 65 73 20 61 72 65 20  |l all files are |
000097c0  65 78 74 72 61 63 74 65  64 2e 0a 20 20 20 20 20  |extracted..     |
000097d0  20 20 49 66 20 61 20 70  61 73 73 77 6f 72 64 20  |  If a password |
000097e0  69 73 20 6e 6f 74 20 6b  6e 6f 77 6e 2c 20 65 6e  |is not known, en|
000097f0  74 65 72 69 6e 67 20 61  20 6e 75 6c 6c 20 70 61  |tering a null pa|
00009800  73 73 77 6f 72 64 20 28  74 68 61 74 20 69 73 2c  |ssword (that is,|
00009810  20 20 6a 75 73 74 20 20  61 0a 20 20 20 20 20 20  |  just  a.      |
00009820  20 63 61 72 72 69 61 67  65 20 20 72 65 74 75 72  | carriage  retur|
00009830  6e 20 6f 72 20 60 60 45  6e 74 65 72 27 27 29 20  |n or ``Enter'') |
00009840  69 73 20 74 61 6b 65 6e  20 61 73 20 61 20 73 69  |is taken as a si|
00009850  67 6e 61 6c 20 74 6f 20  73 6b 69 70 20 61 6c 6c  |gnal to skip all|
00009860  20 66 75 72 74 68 65 72  0a 20 20 20 20 20 20 20  | further.       |
00009870  70 72 6f 6d 70 74 69 6e  67 2e 20 20 4f 6e 6c 79  |prompting.  Only|
00009880  20 75 6e 65 6e 63 72 79  70 74 65 64 20 66 69 6c  | unencrypted fil|
00009890  65 73 20 69 6e 20 74 68  65 20 61 72 63 68 69 76  |es in the archiv|
000098a0  65 28 73 29 20 77 69 6c  6c 20 74 68 65 72 65 61  |e(s) will therea|
000098b0  66 74 65 72 20 62 65 0a  20 20 20 20 20 20 20 65  |fter be.       e|
000098c0  78 74 72 61 63 74 65 64  2e 20 20 20 28 49 6e 20  |xtracted.   (In |
000098d0  66 61 63 74 2c 20 74 68  61 74 27 73 20 6e 6f 74  |fact, that's not|
000098e0  20 71 75 69 74 65 20 74  72 75 65 3b 20 6f 6c 64  | quite true; old|
000098f0  65 72 20 76 65 72 73 69  6f 6e 73 20 6f 66 20 7a  |er versions of z|
00009900  69 70 28 31 4c 29 0a 20  20 20 20 20 20 20 61 6e  |ip(1L).       an|
00009910  64 20 7a 69 70 63 6c 6f  61 6b 28 31 4c 29 20 61  |d zipcloak(1L) a|
00009920  6c 6c 6f 77 65 64 20 6e  75 6c 6c 20 70 61 73 73  |llowed null pass|
00009930  77 6f 72 64 73 2c 20 73  6f 20 75 6e 7a 69 70 20  |words, so unzip |
00009940  63 68 65 63 6b 73 20 65  61 63 68 20 65 6e 63 72  |checks each encr|
00009950  79 70 74 65 64 0a 20 20  20 20 20 20 20 66 69 6c  |ypted.       fil|
00009960  65 20 20 74 6f 20 20 73  65 65 20 20 69 66 20 20  |e  to  see  if  |
00009970  74 68 65 20 6e 75 6c 6c  20 70 61 73 73 77 6f 72  |the null passwor|
00009980  64 20 77 6f 72 6b 73 2e  20 20 54 68 69 73 20 6d  |d works.  This m|
00009990  61 79 20 72 65 73 75 6c  74 20 69 6e 20 60 60 66  |ay result in ``f|
000099a0  61 6c 73 65 0a 20 20 20  20 20 20 20 70 6f 73 69  |alse.       posi|
000099b0  74 69 76 65 73 27 27 20  61 6e 64 20 65 78 74 72  |tives'' and extr|
000099c0  61 63 74 69 6f 6e 20 65  72 72 6f 72 73 2c 20 61  |action errors, a|
000099d0  73 20 6e 6f 74 65 64 20  61 62 6f 76 65 2e 29 0a  |s noted above.).|
000099e0  0a 20 20 20 20 20 20 20  41 72 63 68 69 76 65 73  |.       Archives|
000099f0  20 65 6e 63 72 79 70 74  65 64 20 77 69 74 68 20  | encrypted with |
00009a00  38 2d 62 69 74 20 70 61  73 73 77 6f 72 64 73 20  |8-bit passwords |
00009a10  28 66 6f 72 20 20 65 78  61 6d 70 6c 65 2c 20 20  |(for  example,  |
00009a20  70 61 73 73 77 6f 72 64  73 20 20 77 69 74 68 0a  |passwords  with.|
00009a30  20 20 20 20 20 20 20 61  63 63 65 6e 74 65 64 20  |       accented |
00009a40  45 75 72 6f 70 65 61 6e  20 63 68 61 72 61 63 74  |European charact|
00009a50  65 72 73 29 20 6d 61 79  20 6e 6f 74 20 62 65 20  |ers) may not be |
00009a60  70 6f 72 74 61 62 6c 65  20 61 63 72 6f 73 73 20  |portable across |
00009a70  73 79 73 74 65 6d 73 20  61 6e 64 2f 6f 72 0a 20  |systems and/or. |
00009a80  20 20 20 20 20 20 6f 74  68 65 72 20 61 72 63 68  |      other arch|
00009a90  69 76 65 72 73 2e 20 20  54 68 69 73 20 70 72 6f  |ivers.  This pro|
00009aa0  62 6c 65 6d 20 73 74 65  6d 73 20 66 72 6f 6d 20  |blem stems from |
00009ab0  74 68 65 20 75 73 65 20  6f 66 20 6d 75 6c 74 69  |the use of multi|
00009ac0  70 6c 65 20 20 65 6e 63  6f 64 69 6e 67 0a 20 20  |ple  encoding.  |
00009ad0  20 20 20 20 20 6d 65 74  68 6f 64 73 20 20 66 6f  |     methods  fo|
00009ae0  72 20 20 73 75 63 68 20  20 63 68 61 72 61 63 74  |r  such  charact|
00009af0  65 72 73 2c 20 20 69 6e  63 6c 75 64 69 6e 67 20  |ers,  including |
00009b00  4c 61 74 69 6e 2d 31 20  28 49 53 4f 20 38 38 35  |Latin-1 (ISO 885|
00009b10  39 2d 31 29 20 61 6e 64  20 4f 45 4d 0a 20 20 20  |9-1) and OEM.   |
00009b20  20 20 20 20 63 6f 64 65  20 70 61 67 65 20 38 35  |    code page 85|
00009b30  30 2e 20 20 44 4f 53 20  50 4b 5a 49 50 20 32 2e  |0.  DOS PKZIP 2.|
00009b40  30 34 67 20 75 73 65 73  20 74 68 65 20 4f 45 4d  |04g uses the OEM|
00009b50  20 63 6f 64 65 20 70 61  67 65 3b 20 20 57 69 6e  | code page;  Win|
00009b60  64 6f 77 73 20 20 50 4b  5a 49 50 0a 20 20 20 20  |dows  PKZIP.    |
00009b70  20 20 20 32 2e 35 30 20  75 73 65 73 20 4c 61 74  |   2.50 uses Lat|
00009b80  69 6e 2d 31 20 28 61 6e  64 20 69 73 20 74 68 65  |in-1 (and is the|
00009b90  72 65 66 6f 72 65 20 69  6e 63 6f 6d 70 61 74 69  |refore incompati|
00009ba0  62 6c 65 20 77 69 74 68  20 44 4f 53 20 50 4b 5a  |ble with DOS PKZ|
00009bb0  49 50 29 3b 20 49 6e 66  6f 2d 0a 20 20 20 20 20  |IP); Info-.     |
00009bc0  20 20 5a 49 50 20 75 73  65 73 20 74 68 65 20 4f  |  ZIP uses the O|
00009bd0  45 4d 20 63 6f 64 65 20  70 61 67 65 20 6f 6e 20  |EM code page on |
00009be0  44 4f 53 2c 20 4f 53 2f  32 20 61 6e 64 20 57 69  |DOS, OS/2 and Wi|
00009bf0  6e 33 2e 78 20 70 6f 72  74 73 20 62 75 74 20 49  |n3.x ports but I|
00009c00  53 4f 20 63 6f 64 69 6e  67 0a 20 20 20 20 20 20  |SO coding.      |
00009c10  20 28 4c 61 74 69 6e 2d  31 20 20 65 74 63 2e 29  | (Latin-1  etc.)|
00009c20  20 20 65 76 65 72 79 77  68 65 72 65 20 20 65 6c  |  everywhere  el|
00009c30  73 65 3b 20 20 61 6e 64  20 20 4e 69 63 6f 20 4d  |se;  and  Nico M|
00009c40  61 6b 27 73 20 57 69 6e  5a 69 70 20 36 2e 78 20  |ak's WinZip 6.x |
00009c50  64 6f 65 73 20 6e 6f 74  0a 20 20 20 20 20 20 20  |does not.       |
00009c60  61 6c 6c 6f 77 20 38 2d  62 69 74 20 70 61 73 73  |allow 8-bit pass|
00009c70  77 6f 72 64 73 20 61 74  20 61 6c 6c 2e 20 20 55  |words at all.  U|
00009c80  6e 5a 69 70 20 35 2e 33  20 28 6f 72 20 6e 65 77  |nZip 5.3 (or new|
00009c90  65 72 29 20 61 74 74 65  6d 70 74 73 20 74 6f 20  |er) attempts to |
00009ca0  75 73 65 20 74 68 65 0a  20 20 20 20 20 20 20 64  |use the.       d|
00009cb0  65 66 61 75 6c 74 20 20  63 68 61 72 61 63 74 65  |efault  characte|
00009cc0  72 20 73 65 74 20 66 69  72 73 74 20 28 65 2e 67  |r set first (e.g|
00009cd0  2e 2c 20 4c 61 74 69 6e  2d 31 29 2c 20 66 6f 6c  |., Latin-1), fol|
00009ce0  6c 6f 77 65 64 20 62 79  20 74 68 65 20 61 6c 74  |lowed by the alt|
00009cf0  65 72 6e 61 74 65 0a 20  20 20 20 20 20 20 6f 6e  |ernate.       on|
00009d00  65 20 28 65 2e 67 2e 2c  20 4f 45 4d 20 63 6f 64  |e (e.g., OEM cod|
00009d10  65 20 70 61 67 65 29 20  74 6f 20 74 65 73 74 20  |e page) to test |
00009d20  70 61 73 73 77 6f 72 64  73 2e 20 20 20 4f 6e 20  |passwords.   On |
00009d30  20 45 42 43 44 49 43 20  20 73 79 73 74 65 6d 73  | EBCDIC  systems|
00009d40  2c 20 20 69 66 0a 20 20  20 20 20 20 20 62 6f 74  |,  if.       bot|
00009d50  68 20 20 6f 66 20 20 74  68 65 73 65 20 20 66 61  |h  of  these  fa|
00009d60  69 6c 2c 20 45 42 43 44  49 43 20 65 6e 63 6f 64  |il, EBCDIC encod|
00009d70  69 6e 67 20 77 69 6c 6c  20 62 65 20 74 65 73 74  |ing will be test|
00009d80  65 64 20 61 73 20 61 20  6c 61 73 74 20 72 65 73  |ed as a last res|
00009d90  6f 72 74 2e 0a 20 20 20  20 20 20 20 28 45 42 43  |ort..       (EBC|
00009da0  44 49 43 20 69 73 20 6e  6f 74 20 74 65 73 74 65  |DIC is not teste|
00009db0  64 20 6f 6e 20 6e 6f 6e  2d 45 42 43 44 49 43 20  |d on non-EBCDIC |
00009dc0  73 79 73 74 65 6d 73 2c  20 62 65 63 61 75 73 65  |systems, because|
00009dd0  20 74 68 65 72 65 20 61  72 65 20 6e 6f 20 6b 6e  | there are no kn|
00009de0  6f 77 6e 0a 20 20 20 20  20 20 20 61 72 63 68 69  |own.       archi|
00009df0  76 65 72 73 20 74 68 61  74 20 65 6e 63 72 79 70  |vers that encryp|
00009e00  74 20 75 73 69 6e 67 20  45 42 43 44 49 43 20 65  |t using EBCDIC e|
00009e10  6e 63 6f 64 69 6e 67 2e  29 20 20 49 53 4f 20 63  |ncoding.)  ISO c|
00009e20  68 61 72 61 63 74 65 72  20 65 6e 63 6f 64 69 6e  |haracter encodin|
00009e30  67 73 0a 20 20 20 20 20  20 20 6f 74 68 65 72 20  |gs.       other |
00009e40  74 68 61 6e 20 4c 61 74  69 6e 2d 31 20 61 72 65  |than Latin-1 are|
00009e50  20 6e 6f 74 20 73 75 70  70 6f 72 74 65 64 2e 20  | not supported. |
00009e60  20 54 68 65 20 6e 65 77  20 61 64 64 69 74 69 6f  | The new additio|
00009e70  6e 20 6f 66 20 20 28 70  61 72 74 69 61 6c 6c 79  |n of  (partially|
00009e80  29 0a 20 20 20 20 20 20  20 55 6e 69 63 6f 64 65  |).       Unicode|
00009e90  20 28 72 65 73 70 2e 20  20 55 54 46 2d 38 29 20  | (resp.  UTF-8) |
00009ea0  73 75 70 70 6f 72 74 20  69 6e 20 55 6e 5a 69 70  |support in UnZip|
00009eb0  20 36 2e 30 20 68 61 73  20 6e 6f 74 20 79 65 74  | 6.0 has not yet|
00009ec0  20 62 65 65 6e 20 61 64  61 70 74 65 64 20 74 6f  | been adapted to|
00009ed0  0a 20 20 20 20 20 20 20  74 68 65 20 65 6e 63 72  |.       the encr|
00009ee0  79 70 74 69 6f 6e 20 70  61 73 73 77 6f 72 64 20  |yption password |
00009ef0  68 61 6e 64 6c 69 6e 67  20 69 6e 20 75 6e 7a 69  |handling in unzi|
00009f00  70 2e 20 20 4f 6e 20 73  79 73 74 65 6d 73 20 74  |p.  On systems t|
00009f10  68 61 74 20 20 75 73 65  20 20 55 54 46 2d 38 0a  |hat  use  UTF-8.|
00009f20  20 20 20 20 20 20 20 61  73 20 20 6e 61 74 69 76  |       as  nativ|
00009f30  65 20 20 63 68 61 72 61  63 74 65 72 20 20 65 6e  |e  character  en|
00009f40  63 6f 64 69 6e 67 2c 20  75 6e 7a 69 70 20 73 69  |coding, unzip si|
00009f50  6d 70 6c 79 20 74 72 69  65 73 20 64 65 63 72 79  |mply tries decry|
00009f60  70 74 69 6f 6e 20 77 69  74 68 20 74 68 65 0a 20  |ption with the. |
00009f70  20 20 20 20 20 20 6e 61  74 69 76 65 20 55 54 46  |      native UTF|
00009f80  2d 38 20 65 6e 63 6f 64  65 64 20 70 61 73 73 77  |-8 encoded passw|
00009f90  6f 72 64 3b 20 74 68 65  20 62 75 69 6c 74 2d 69  |ord; the built-i|
00009fa0  6e 20 61 74 74 65 6d 70  74 73 20 74 6f 20 63 68  |n attempts to ch|
00009fb0  65 63 6b 20 74 68 65 20  70 61 73 73 2d 0a 20 20  |eck the pass-.  |
00009fc0  20 20 20 20 20 77 6f 72  64 20 69 6e 20 74 72 61  |     word in tra|
00009fd0  6e 73 6c 61 74 65 64 20  65 6e 63 6f 64 69 6e 67  |nslated encoding|
00009fe0  20 68 61 76 65 20 6e 6f  74 20 79 65 74 20 62 65  | have not yet be|
00009ff0  65 6e 20 61 64 61 70 74  65 64 20 66 6f 72 20 55  |en adapted for U|
0000a000  54 46 2d 38 20 73 75 70  70 6f 72 74 0a 20 20 20  |TF-8 support.   |
0000a010  20 20 20 20 61 6e 64 20  77 69 6c 6c 20 63 6f 6e  |    and will con|
0000a020  73 65 71 75 65 6e 74 6c  79 20 66 61 69 6c 2e 0a  |sequently fail..|
0000a030  0a 45 58 41 4d 50 4c 45  53 0a 20 20 20 20 20 20  |.EXAMPLES.      |
0000a040  20 54 6f 20 75 73 65 20  75 6e 7a 69 70 20 74 6f  | To use unzip to|
0000a050  20 65 78 74 72 61 63 74  20 61 6c 6c 20 6d 65 6d  | extract all mem|
0000a060  62 65 72 73 20 6f 66 20  74 68 65 20 61 72 63 68  |bers of the arch|
0000a070  69 76 65 20 6c 65 74 74  65 72 73 2e 7a 69 70 20  |ive letters.zip |
0000a080  69 6e 74 6f 20 74 68 65  0a 20 20 20 20 20 20 20  |into the.       |
0000a090  63 75 72 72 65 6e 74 20  64 69 72 65 63 74 6f 72  |current director|
0000a0a0  79 20 61 6e 64 20 73 75  62 64 69 72 65 63 74 6f  |y and subdirecto|
0000a0b0  72 69 65 73 20 62 65 6c  6f 77 20 69 74 2c 20 63  |ries below it, c|
0000a0c0  72 65 61 74 69 6e 67 20  61 6e 79 20 73 75 62 64  |reating any subd|
0000a0d0  69 72 65 63 74 6f 2d 0a  20 20 20 20 20 20 20 72  |irecto-.       r|
0000a0e0  69 65 73 20 61 73 20 6e  65 63 65 73 73 61 72 79  |ies as necessary|
0000a0f0  3a 0a 0a 20 20 20 20 20  20 20 20 20 20 20 75 6e  |:..           un|
0000a100  7a 69 70 20 6c 65 74 74  65 72 73 0a 0a 20 20 20  |zip letters..   |
0000a110  20 20 20 20 54 6f 20 65  78 74 72 61 63 74 20 61  |    To extract a|
0000a120  6c 6c 20 6d 65 6d 62 65  72 73 20 6f 66 20 6c 65  |ll members of le|
0000a130  74 74 65 72 73 2e 7a 69  70 20 69 6e 74 6f 20 74  |tters.zip into t|
0000a140  68 65 20 63 75 72 72 65  6e 74 20 64 69 72 65 63  |he current direc|
0000a150  74 6f 72 79 20 6f 6e 6c  79 3a 0a 0a 20 20 20 20  |tory only:..    |
0000a160  20 20 20 20 20 20 20 75  6e 7a 69 70 20 2d 6a 20  |       unzip -j |
0000a170  6c 65 74 74 65 72 73 0a  0a 20 20 20 20 20 20 20  |letters..       |
0000a180  54 6f 20 74 65 73 74 20  6c 65 74 74 65 72 73 2e  |To test letters.|
0000a190  7a 69 70 2c 20 70 72 69  6e 74 69 6e 67 20 6f 6e  |zip, printing on|
0000a1a0  6c 79 20 61 20 73 75 6d  6d 61 72 79 20 6d 65 73  |ly a summary mes|
0000a1b0  73 61 67 65 20 69 6e 64  69 63 61 74 69 6e 67 20  |sage indicating |
0000a1c0  77 68 65 74 68 65 72 0a  20 20 20 20 20 20 20 74  |whether.       t|
0000a1d0  68 65 20 61 72 63 68 69  76 65 20 69 73 20 4f 4b  |he archive is OK|
0000a1e0  20 6f 72 20 6e 6f 74 3a  0a 0a 20 20 20 20 20 20  | or not:..      |
0000a1f0  20 20 20 20 20 75 6e 7a  69 70 20 2d 74 71 20 6c  |     unzip -tq l|
0000a200  65 74 74 65 72 73 0a 0a  20 20 20 20 20 20 20 54  |etters..       T|
0000a210  6f 20 20 74 65 73 74 20  20 61 6c 6c 20 7a 69 70  |o  test  all zip|
0000a220  66 69 6c 65 73 20 69 6e  20 74 68 65 20 63 75 72  |files in the cur|
0000a230  72 65 6e 74 20 64 69 72  65 63 74 6f 72 79 2c 20  |rent directory, |
0000a240  70 72 69 6e 74 69 6e 67  20 6f 6e 6c 79 20 74 68  |printing only th|
0000a250  65 20 73 75 6d 2d 0a 20  20 20 20 20 20 20 6d 61  |e sum-.       ma|
0000a260  72 69 65 73 3a 0a 0a 20  20 20 20 20 20 20 20 20  |ries:..         |
0000a270  20 20 75 6e 7a 69 70 20  2d 74 71 20 5c 2a 2e 7a  |  unzip -tq \*.z|
0000a280  69 70 0a 0a 20 20 20 20  20 20 20 28 54 68 65 20  |ip..       (The |
0000a290  62 61 63 6b 73 6c 61 73  68 20 62 65 66 6f 72 65  |backslash before|
0000a2a0  20 74 68 65 20 20 61 73  74 65 72 69 73 6b 20 20  | the  asterisk  |
0000a2b0  69 73 20 20 6f 6e 6c 79  20 20 72 65 71 75 69 72  |is  only  requir|
0000a2c0  65 64 20 20 69 66 20 20  74 68 65 20 20 73 68 65  |ed  if  the  she|
0000a2d0  6c 6c 0a 20 20 20 20 20  20 20 65 78 70 61 6e 64  |ll.       expand|
0000a2e0  73 20 20 77 69 6c 64 63  61 72 64 73 2c 20 20 61  |s  wildcards,  a|
0000a2f0  73 20 20 69 6e 20 20 55  6e 69 78 3b 20 20 64 6f  |s  in  Unix;  do|
0000a300  75 62 6c 65 20 20 71 75  6f 74 65 73 20 63 6f 75  |uble  quotes cou|
0000a310  6c 64 20 68 61 76 65 20  62 65 65 6e 20 75 73 65  |ld have been use|
0000a320  64 0a 20 20 20 20 20 20  20 69 6e 73 74 65 61 64  |d.       instead|
0000a330  2c 20 61 73 20 69 6e 20  74 68 65 20 73 6f 75 72  |, as in the sour|
0000a340  63 65 20 65 78 61 6d 70  6c 65 73 20 62 65 6c 6f  |ce examples belo|
0000a350  77 2e 29 20 20 54 6f 20  65 78 74 72 61 63 74 20  |w.)  To extract |
0000a360  74 6f 20 73 74 61 6e 64  61 72 64 20 6f 75 74 2d  |to standard out-|
0000a370  0a 20 20 20 20 20 20 20  70 75 74 20 61 6c 6c 20  |.       put all |
0000a380  6d 65 6d 62 65 72 73 20  6f 66 20 6c 65 74 74 65  |members of lette|
0000a390  72 73 2e 7a 69 70 20 77  68 6f 73 65 20 6e 61 6d  |rs.zip whose nam|
0000a3a0  65 73 20 65 6e 64 20 69  6e 20 2e 74 65 78 2c 20  |es end in .tex, |
0000a3b0  61 75 74 6f 2d 63 6f 6e  76 65 72 74 69 6e 67 0a  |auto-converting.|
0000a3c0  20 20 20 20 20 20 20 74  6f 20 74 68 65 20 6c 6f  |       to the lo|
0000a3d0  63 61 6c 20 65 6e 64 2d  6f 66 2d 6c 69 6e 65 20  |cal end-of-line |
0000a3e0  63 6f 6e 76 65 6e 74 69  6f 6e 20 61 6e 64 20 70  |convention and p|
0000a3f0  69 70 69 6e 67 20 74 68  65 20 6f 75 74 70 75 74  |iping the output|
0000a400  20 69 6e 74 6f 20 6d 6f  72 65 28 31 29 3a 0a 0a  | into more(1):..|
0000a410  20 20 20 20 20 20 20 20  20 20 20 75 6e 7a 69 70  |           unzip|
0000a420  20 2d 63 61 20 6c 65 74  74 65 72 73 20 5c 2a 2e  | -ca letters \*.|
0000a430  74 65 78 20 7c 20 6d 6f  72 65 0a 0a 20 20 20 20  |tex | more..    |
0000a440  20 20 20 54 6f 20 65 78  74 72 61 63 74 20 74 68  |   To extract th|
0000a450  65 20 62 69 6e 61 72 79  20 66 69 6c 65 20 70 61  |e binary file pa|
0000a460  70 65 72 31 2e 64 76 69  20 74 6f 20 73 74 61 6e  |per1.dvi to stan|
0000a470  64 61 72 64 20 6f 75 74  70 75 74 20 61 6e 64 20  |dard output and |
0000a480  70 69 70 65 20 69 74 20  74 6f 0a 20 20 20 20 20  |pipe it to.     |
0000a490  20 20 61 20 70 72 69 6e  74 69 6e 67 20 70 72 6f  |  a printing pro|
0000a4a0  67 72 61 6d 3a 0a 0a 20  20 20 20 20 20 20 20 20  |gram:..         |
0000a4b0  20 20 75 6e 7a 69 70 20  2d 70 20 61 72 74 69 63  |  unzip -p artic|
0000a4c0  6c 65 73 20 70 61 70 65  72 31 2e 64 76 69 20 7c  |les paper1.dvi ||
0000a4d0  20 64 76 69 70 73 0a 0a  20 20 20 20 20 20 20 54  | dvips..       T|
0000a4e0  6f 20 65 78 74 72 61 63  74 20 61 6c 6c 20 46 4f  |o extract all FO|
0000a4f0  52 54 52 41 4e 20 61 6e  64 20 43 20 73 6f 75 72  |RTRAN and C sour|
0000a500  63 65 20 66 69 6c 65 73  2d 2d 2a 2e 66 2c 20 20  |ce files--*.f,  |
0000a510  2a 2e 63 2c 20 20 2a 2e  68 2c 20 20 61 6e 64 20  |*.c,  *.h,  and |
0000a520  20 4d 61 6b 65 2d 0a 20  20 20 20 20 20 20 66 69  | Make-.       fi|
0000a530  6c 65 2d 2d 69 6e 74 6f  20 74 68 65 20 2f 74 6d  |le--into the /tm|
0000a540  70 20 64 69 72 65 63 74  6f 72 79 3a 0a 0a 20 20  |p directory:..  |
0000a550  20 20 20 20 20 20 20 20  20 75 6e 7a 69 70 20 73  |         unzip s|
0000a560  6f 75 72 63 65 2e 7a 69  70 20 22 2a 2e 5b 66 63  |ource.zip "*.[fc|
0000a570  68 5d 22 20 4d 61 6b 65  66 69 6c 65 20 2d 64 20  |h]" Makefile -d |
0000a580  2f 74 6d 70 0a 0a 20 20  20 20 20 20 20 28 74 68  |/tmp..       (th|
0000a590  65 20 20 64 6f 75 62 6c  65 20 20 71 75 6f 74 65  |e  double  quote|
0000a5a0  73 20 61 72 65 20 6e 65  63 65 73 73 61 72 79 20  |s are necessary |
0000a5b0  6f 6e 6c 79 20 69 6e 20  55 6e 69 78 20 61 6e 64  |only in Unix and|
0000a5c0  20 6f 6e 6c 79 20 69 66  20 67 6c 6f 62 62 69 6e  | only if globbin|
0000a5d0  67 20 69 73 0a 20 20 20  20 20 20 20 74 75 72 6e  |g is.       turn|
0000a5e0  65 64 20 6f 6e 29 2e 20  20 54 6f 20 65 78 74 72  |ed on).  To extr|
0000a5f0  61 63 74 20 61 6c 6c 20  46 4f 52 54 52 41 4e 20  |act all FORTRAN |
0000a600  61 6e 64 20 43 20 73 6f  75 72 63 65 20 66 69 6c  |and C source fil|
0000a610  65 73 2c 20 20 72 65 67  61 72 64 6c 65 73 73 20  |es,  regardless |
0000a620  20 6f 66 0a 20 20 20 20  20 20 20 63 61 73 65 20  | of.       case |
0000a630  20 28 65 2e 67 2e 2c 20  20 62 6f 74 68 20 2a 2e  | (e.g.,  both *.|
0000a640  63 20 61 6e 64 20 2a 2e  43 2c 20 61 6e 64 20 61  |c and *.C, and a|
0000a650  6e 79 20 6d 61 6b 65 66  69 6c 65 2c 20 4d 61 6b  |ny makefile, Mak|
0000a660  65 66 69 6c 65 2c 20 4d  41 4b 45 46 49 4c 45 20  |efile, MAKEFILE |
0000a670  6f 72 0a 20 20 20 20 20  20 20 73 69 6d 69 6c 61  |or.       simila|
0000a680  72 29 3a 0a 0a 20 20 20  20 20 20 20 20 20 20 20  |r):..           |
0000a690  75 6e 7a 69 70 20 2d 43  20 73 6f 75 72 63 65 2e  |unzip -C source.|
0000a6a0  7a 69 70 20 22 2a 2e 5b  66 63 68 5d 22 20 6d 61  |zip "*.[fch]" ma|
0000a6b0  6b 65 66 69 6c 65 20 2d  64 20 2f 74 6d 70 0a 0a  |kefile -d /tmp..|
0000a6c0  20 20 20 20 20 20 20 54  6f 20 65 78 74 72 61 63  |       To extrac|
0000a6d0  74 20 61 6e 79 20 73 75  63 68 20 66 69 6c 65 73  |t any such files|
0000a6e0  20 62 75 74 20 63 6f 6e  76 65 72 74 20 61 6e 79  | but convert any|
0000a6f0  20 75 70 70 65 72 63 61  73 65 20 4d 53 2d 44 4f  | uppercase MS-DO|
0000a700  53 20 6f 72 20 56 4d 53  20 6e 61 6d 65 73 0a 20  |S or VMS names. |
0000a710  20 20 20 20 20 20 74 6f  20 20 6c 6f 77 65 72 63  |      to  lowerc|
0000a720  61 73 65 20 20 61 6e 64  20 20 63 6f 6e 76 65 72  |ase  and  conver|
0000a730  74 20 74 68 65 20 6c 69  6e 65 2d 65 6e 64 69 6e  |t the line-endin|
0000a740  67 73 20 6f 66 20 61 6c  6c 20 6f 66 20 74 68 65  |gs of all of the|
0000a750  20 66 69 6c 65 73 20 74  6f 20 74 68 65 0a 20 20  | files to the.  |
0000a760  20 20 20 20 20 6c 6f 63  61 6c 20 73 74 61 6e 64  |     local stand|
0000a770  61 72 64 20 28 77 69 74  68 6f 75 74 20 72 65 73  |ard (without res|
0000a780  70 65 63 74 20 74 6f 20  20 61 6e 79 20 20 66 69  |pect to  any  fi|
0000a790  6c 65 73 20 20 74 68 61  74 20 20 6d 69 67 68 74  |les  that  might|
0000a7a0  20 20 62 65 20 20 6d 61  72 6b 65 64 0a 20 20 20  |  be  marked.   |
0000a7b0  20 20 20 20 60 60 62 69  6e 61 72 79 27 27 29 3a  |    ``binary''):|
0000a7c0  0a 0a 20 20 20 20 20 20  20 20 20 20 20 75 6e 7a  |..           unz|
0000a7d0  69 70 20 2d 61 61 43 4c  20 73 6f 75 72 63 65 2e  |ip -aaCL source.|
0000a7e0  7a 69 70 20 22 2a 2e 5b  66 63 68 5d 22 20 6d 61  |zip "*.[fch]" ma|
0000a7f0  6b 65 66 69 6c 65 20 2d  64 20 2f 74 6d 70 0a 0a  |kefile -d /tmp..|
0000a800  20 20 20 20 20 20 20 54  6f 20 20 65 78 74 72 61  |       To  extra|
0000a810  63 74 20 20 6f 6e 6c 79  20 20 6e 65 77 65 72 20  |ct  only  newer |
0000a820  20 76 65 72 73 69 6f 6e  73 20 20 6f 66 20 74 68  | versions  of th|
0000a830  65 20 66 69 6c 65 73 20  61 6c 72 65 61 64 79 20  |e files already |
0000a840  69 6e 20 74 68 65 20 63  75 72 72 65 6e 74 0a 20  |in the current. |
0000a850  20 20 20 20 20 20 64 69  72 65 63 74 6f 72 79 2c  |      directory,|
0000a860  20 77 69 74 68 6f 75 74  20 71 75 65 72 79 69 6e  | without queryin|
0000a870  67 20 28 4e 4f 54 45 3a  20 20 62 65 20 20 63 61  |g (NOTE:  be  ca|
0000a880  72 65 66 75 6c 20 20 6f  66 20 20 75 6e 7a 69 70  |reful  of  unzip|
0000a890  70 69 6e 67 20 20 69 6e  20 20 6f 6e 65 0a 20 20  |ping  in  one.  |
0000a8a0  20 20 20 20 20 74 69 6d  65 7a 6f 6e 65 20 20 61  |     timezone  a|
0000a8b0  20 20 7a 69 70 66 69 6c  65 20 20 63 72 65 61 74  |  zipfile  creat|
0000a8c0  65 64 20 69 6e 20 61 6e  6f 74 68 65 72 2d 2d 5a  |ed in another--Z|
0000a8d0  49 50 20 61 72 63 68 69  76 65 73 20 6f 74 68 65  |IP archives othe|
0000a8e0  72 20 74 68 61 6e 20 74  68 6f 73 65 0a 20 20 20  |r than those.   |
0000a8f0  20 20 20 20 63 72 65 61  74 65 64 20 62 79 20 5a  |    created by Z|
0000a900  69 70 20 32 2e 31 20 6f  72 20 6c 61 74 65 72 20  |ip 2.1 or later |
0000a910  63 6f 6e 74 61 69 6e 20  20 6e 6f 20 20 74 69 6d  |contain  no  tim|
0000a920  65 7a 6f 6e 65 20 20 69  6e 66 6f 72 6d 61 74 69  |ezone  informati|
0000a930  6f 6e 2c 20 20 61 6e 64  20 20 61 0a 20 20 20 20  |on,  and  a.    |
0000a940  20 20 20 60 60 6e 65 77  65 72 27 27 20 66 69 6c  |   ``newer'' fil|
0000a950  65 20 66 72 6f 6d 20 61  6e 20 65 61 73 74 65 72  |e from an easter|
0000a960  6e 20 74 69 6d 65 7a 6f  6e 65 20 6d 61 79 2c 20  |n timezone may, |
0000a970  69 6e 20 66 61 63 74 2c  20 62 65 20 6f 6c 64 65  |in fact, be olde|
0000a980  72 29 3a 0a 0a 20 20 20  20 20 20 20 20 20 20 20  |r):..           |
0000a990  75 6e 7a 69 70 20 2d 66  6f 20 73 6f 75 72 63 65  |unzip -fo source|
0000a9a0  73 0a 0a 20 20 20 20 20  20 20 54 6f 20 65 78 74  |s..       To ext|
0000a9b0  72 61 63 74 20 6e 65 77  65 72 20 76 65 72 73 69  |ract newer versi|
0000a9c0  6f 6e 73 20 6f 66 20 74  68 65 20 66 69 6c 65 73  |ons of the files|
0000a9d0  20 61 6c 72 65 61 64 79  20 69 6e 20 74 68 65 20  | already in the |
0000a9e0  63 75 72 72 65 6e 74 20  64 69 72 65 63 74 6f 72  |current director|
0000a9f0  79 0a 20 20 20 20 20 20  20 61 6e 64 20 74 6f 20  |y.       and to |
0000aa00  63 72 65 61 74 65 20 61  6e 79 20 66 69 6c 65 73  |create any files|
0000aa10  20 6e 6f 74 20 61 6c 72  65 61 64 79 20 20 74 68  | not already  th|
0000aa20  65 72 65 20 20 28 73 61  6d 65 20 20 63 61 76 65  |ere  (same  cave|
0000aa30  61 74 20 20 61 73 20 20  70 72 65 76 69 6f 75 73  |at  as  previous|
0000aa40  0a 20 20 20 20 20 20 20  65 78 61 6d 70 6c 65 29  |.       example)|
0000aa50  3a 0a 0a 20 20 20 20 20  20 20 20 20 20 20 75 6e  |:..           un|
0000aa60  7a 69 70 20 2d 75 6f 20  73 6f 75 72 63 65 73 0a  |zip -uo sources.|
0000aa70  0a 20 20 20 20 20 20 20  54 6f 20 20 64 69 73 70  |.       To  disp|
0000aa80  6c 61 79 20 61 20 64 69  61 67 6e 6f 73 74 69 63  |lay a diagnostic|
0000aa90  20 73 63 72 65 65 6e 20  73 68 6f 77 69 6e 67 20  | screen showing |
0000aaa0  77 68 69 63 68 20 75 6e  7a 69 70 20 61 6e 64 20  |which unzip and |
0000aab0  7a 69 70 69 6e 66 6f 20  6f 70 74 69 6f 6e 73 0a  |zipinfo options.|
0000aac0  20 20 20 20 20 20 20 61  72 65 20 73 74 6f 72 65  |       are store|
0000aad0  64 20 69 6e 20 65 6e 76  69 72 6f 6e 6d 65 6e 74  |d in environment|
0000aae0  20 76 61 72 69 61 62 6c  65 73 2c 20 20 77 68 65  | variables,  whe|
0000aaf0  74 68 65 72 20 20 64 65  63 72 79 70 74 69 6f 6e  |ther  decryption|
0000ab00  20 20 73 75 70 70 6f 72  74 20 20 77 61 73 0a 20  |  support  was. |
0000ab10  20 20 20 20 20 20 63 6f  6d 70 69 6c 65 64 20 69  |      compiled i|
0000ab20  6e 2c 20 74 68 65 20 63  6f 6d 70 69 6c 65 72 20  |n, the compiler |
0000ab30  77 69 74 68 20 77 68 69  63 68 20 75 6e 7a 69 70  |with which unzip|
0000ab40  20 77 61 73 20 63 6f 6d  70 69 6c 65 64 2c 20 65  | was compiled, e|
0000ab50  74 63 2e 3a 0a 0a 20 20  20 20 20 20 20 20 20 20  |tc.:..          |
0000ab60  20 75 6e 7a 69 70 20 2d  76 0a 0a 20 20 20 20 20  | unzip -v..     |
0000ab70  20 20 49 6e 20 20 74 68  65 20 20 6c 61 73 74 20  |  In  the  last |
0000ab80  20 66 69 76 65 20 65 78  61 6d 70 6c 65 73 2c 20  | five examples, |
0000ab90  61 73 73 75 6d 65 20 74  68 61 74 20 55 4e 5a 49  |assume that UNZI|
0000aba0  50 20 6f 72 20 55 4e 5a  49 50 5f 4f 50 54 53 20  |P or UNZIP_OPTS |
0000abb0  69 73 20 73 65 74 20 74  6f 0a 20 20 20 20 20 20  |is set to.      |
0000abc0  20 2d 71 2e 20 20 54 6f  20 64 6f 20 61 20 73 69  | -q.  To do a si|
0000abd0  6e 67 6c 79 20 71 75 69  65 74 20 6c 69 73 74 69  |ngly quiet listi|
0000abe0  6e 67 3a 0a 0a 20 20 20  20 20 20 20 20 20 20 20  |ng:..           |
0000abf0  75 6e 7a 69 70 20 2d 6c  20 66 69 6c 65 2e 7a 69  |unzip -l file.zi|
0000ac00  70 0a 0a 20 20 20 20 20  20 20 54 6f 20 64 6f 20  |p..       To do |
0000ac10  61 20 64 6f 75 62 6c 79  20 71 75 69 65 74 20 6c  |a doubly quiet l|
0000ac20  69 73 74 69 6e 67 3a 0a  0a 20 20 20 20 20 20 20  |isting:..       |
0000ac30  20 20 20 20 75 6e 7a 69  70 20 2d 71 6c 20 66 69  |    unzip -ql fi|
0000ac40  6c 65 2e 7a 69 70 0a 0a  20 20 20 20 20 20 20 28  |le.zip..       (|
0000ac50  4e 6f 74 65 20 74 68 61  74 20 74 68 65 20 60 60  |Note that the ``|
0000ac60  2e 7a 69 70 27 27 20 69  73 20 67 65 6e 65 72 61  |.zip'' is genera|
0000ac70  6c 6c 79 20 6e 6f 74 20  6e 65 63 65 73 73 61 72  |lly not necessar|
0000ac80  79 2e 29 20 20 54 6f 20  64 6f 20 61 20 20 73 74  |y.)  To do a  st|
0000ac90  61 6e 64 61 72 64 0a 20  20 20 20 20 20 20 6c 69  |andard.       li|
0000aca0  73 74 69 6e 67 3a 0a 0a  20 20 20 20 20 20 20 20  |sting:..        |
0000acb0  20 20 20 75 6e 7a 69 70  20 2d 2d 71 6c 20 66 69  |   unzip --ql fi|
0000acc0  6c 65 2e 7a 69 70 0a 20  20 20 20 20 20 20 6f 72  |le.zip.       or|
0000acd0  0a 20 20 20 20 20 20 20  20 20 20 20 75 6e 7a 69  |.           unzi|
0000ace0  70 20 2d 6c 2d 71 20 66  69 6c 65 2e 7a 69 70 0a  |p -l-q file.zip.|
0000acf0  20 20 20 20 20 20 20 6f  72 0a 20 20 20 20 20 20  |       or.      |
0000ad00  20 20 20 20 20 75 6e 7a  69 70 20 2d 6c 2d 2d 71  |     unzip -l--q|
0000ad10  20 66 69 6c 65 2e 7a 69  70 0a 20 20 20 20 20 20  | file.zip.      |
0000ad20  20 28 45 78 74 72 61 20  6d 69 6e 75 73 65 73 20  | (Extra minuses |
0000ad30  69 6e 20 6f 70 74 69 6f  6e 73 20 64 6f 6e 27 74  |in options don't|
0000ad40  20 68 75 72 74 2e 29 0a  0a 54 49 50 53 0a 20 20  | hurt.)..TIPS.  |
0000ad50  20 20 20 20 20 54 68 65  20 20 63 75 72 72 65 6e  |     The  curren|
0000ad60  74 20 20 6d 61 69 6e 74  61 69 6e 65 72 2c 20 20  |t  maintainer,  |
0000ad70  62 65 69 6e 67 20 20 61  20 20 6c 61 7a 79 20 73  |being  a  lazy s|
0000ad80  6f 72 74 2c 20 66 69 6e  64 73 20 69 74 20 76 65  |ort, finds it ve|
0000ad90  72 79 20 75 73 65 66 75  6c 20 74 6f 0a 20 20 20  |ry useful to.   |
0000ada0  20 20 20 20 64 65 66 69  6e 65 20 61 20 70 61 69  |    define a pai|
0000adb0  72 20 6f 66 20 61 6c 69  61 73 65 73 3a 20 20 74  |r of aliases:  t|
0000adc0  74 20 66 6f 72 20 60 60  75 6e 7a 69 70 20 2d 74  |t for ``unzip -t|
0000add0  71 27 27 20 61 6e 64 20  69 69 20 66 6f 72 20 60  |q'' and ii for `|
0000ade0  60 75 6e 7a 69 70 20 2d  5a 27 27 0a 20 20 20 20  |`unzip -Z''.    |
0000adf0  20 20 20 28 6f 72 20 20  60 60 7a 69 70 69 6e 66  |   (or  ``zipinf|
0000ae00  6f 27 27 29 2e 20 20 20  4f 6e 65 20 6d 61 79 20  |o'').   One may |
0000ae10  74 68 65 6e 20 73 69 6d  70 6c 79 20 74 79 70 65  |then simply type|
0000ae20  20 60 60 74 74 20 7a 69  70 66 69 6c 65 27 27 20  | ``tt zipfile'' |
0000ae30  74 6f 20 74 65 73 74 20  61 6e 0a 20 20 20 20 20  |to test an.     |
0000ae40  20 20 61 72 63 68 69 76  65 2c 20 73 6f 6d 65 74  |  archive, somet|
0000ae50  68 69 6e 67 20 74 68 61  74 20 69 73 20 77 6f 72  |hing that is wor|
0000ae60  74 68 20 6d 61 6b 69 6e  67 20 61 20 68 61 62 69  |th making a habi|
0000ae70  74 20 6f 66 20 20 64 6f  69 6e 67 2e 20 20 20 57  |t of  doing.   W|
0000ae80  69 74 68 20 20 6c 75 63  6b 0a 20 20 20 20 20 20  |ith  luck.      |
0000ae90  20 75 6e 7a 69 70 20 20  77 69 6c 6c 20 20 72 65  | unzip  will  re|
0000aea0  70 6f 72 74 20 20 60 60  4e 6f 20 20 65 72 72 6f  |port  ``No  erro|
0000aeb0  72 73 20 20 64 65 74 65  63 74 65 64 20 20 69 6e  |rs  detected  in|
0000aec0  20 63 6f 6d 70 72 65 73  73 65 64 20 64 61 74 61  | compressed data|
0000aed0  20 6f 66 20 7a 69 70 2d  0a 20 20 20 20 20 20 20  | of zip-.       |
0000aee0  66 69 6c 65 2e 7a 69 70  2c 27 27 20 61 66 74 65  |file.zip,'' afte|
0000aef0  72 20 77 68 69 63 68 20  6f 6e 65 20 6d 61 79 20  |r which one may |
0000af00  62 72 65 61 74 68 65 20  61 20 73 69 67 68 20 6f  |breathe a sigh o|
0000af10  66 20 72 65 6c 69 65 66  2e 0a 0a 20 20 20 20 20  |f relief...     |
0000af20  20 20 54 68 65 20 6d 61  69 6e 74 61 69 6e 65 72  |  The maintainer|
0000af30  20 61 6c 73 6f 20 66 69  6e 64 73 20 69 74 20 75  | also finds it u|
0000af40  73 65 66 75 6c 20 74 6f  20 73 65 74 20 74 68 65  |seful to set the|
0000af50  20 55 4e 5a 49 50 20 65  6e 76 69 72 6f 6e 6d 65  | UNZIP environme|
0000af60  6e 74 20 20 76 61 72 69  2d 0a 20 20 20 20 20 20  |nt  vari-.      |
0000af70  20 61 62 6c 65 20 20 74  6f 20 20 60 60 2d 61 4c  | able  to  ``-aL|
0000af80  27 27 20 20 61 6e 64 20  20 69 73 20 20 74 65 6d  |''  and  is  tem|
0000af90  70 74 65 64 20 74 6f 20  61 64 64 20 60 60 2d 43  |pted to add ``-C|
0000afa0  27 27 20 61 73 20 77 65  6c 6c 2e 20 20 48 69 73  |'' as well.  His|
0000afb0  20 5a 49 50 49 4e 46 4f  0a 20 20 20 20 20 20 20  | ZIPINFO.       |
0000afc0  76 61 72 69 61 62 6c 65  20 69 73 20 73 65 74 20  |variable is set |
0000afd0  74 6f 20 60 60 2d 7a 27  27 2e 0a 0a 44 49 41 47  |to ``-z''...DIAG|
0000afe0  4e 4f 53 54 49 43 53 0a  20 20 20 20 20 20 20 54  |NOSTICS.       T|
0000aff0  68 65 20 65 78 69 74 20  73 74 61 74 75 73 20 28  |he exit status (|
0000b000  6f 72 20 65 72 72 6f 72  20 6c 65 76 65 6c 29 20  |or error level) |
0000b010  61 70 70 72 6f 78 69 6d  61 74 65 73 20 74 68 65  |approximates the|
0000b020  20 65 78 69 74 20 63 6f  64 65 73 20 64 65 66 69  | exit codes defi|
0000b030  6e 65 64 20 62 79 0a 20  20 20 20 20 20 20 50 4b  |ned by.       PK|
0000b040  57 41 52 45 20 61 6e 64  20 74 61 6b 65 73 20 6f  |WARE and takes o|
0000b050  6e 20 74 68 65 20 66 6f  6c 6c 6f 77 69 6e 67 20  |n the following |
0000b060  76 61 6c 75 65 73 2c 20  65 78 63 65 70 74 20 75  |values, except u|
0000b070  6e 64 65 72 20 56 4d 53  3a 0a 0a 20 20 20 20 20  |nder VMS:..     |
0000b080  20 20 20 20 20 20 20 20  20 30 20 20 20 20 20 20  |         0      |
0000b090  6e 6f 72 6d 61 6c 3b 20  6e 6f 20 65 72 72 6f 72  |normal; no error|
0000b0a0  73 20 6f 72 20 77 61 72  6e 69 6e 67 73 20 64 65  |s or warnings de|
0000b0b0  74 65 63 74 65 64 2e 0a  0a 20 20 20 20 20 20 20  |tected...       |
0000b0c0  20 20 20 20 20 20 20 31  20 20 20 20 20 20 6f 6e  |       1      on|
0000b0d0  65 20 6f 72 20 6d 6f 72  65 20 77 61 72 6e 69 6e  |e or more warnin|
0000b0e0  67 20 65 72 72 6f 72 73  20 77 65 72 65 20 65 6e  |g errors were en|
0000b0f0  63 6f 75 6e 74 65 72 65  64 2c 20 62 75 74 20 70  |countered, but p|
0000b100  72 6f 63 65 73 73 2d 0a  20 20 20 20 20 20 20 20  |rocess-.        |
0000b110  20 20 20 20 20 20 20 20  20 20 20 20 20 69 6e 67  |             ing|
0000b120  20 63 6f 6d 70 6c 65 74  65 64 20 73 75 63 63 65  | completed succe|
0000b130  73 73 66 75 6c 6c 79 20  61 6e 79 77 61 79 2e 20  |ssfully anyway. |
0000b140  20 20 54 68 69 73 20 20  69 6e 63 6c 75 64 65 73  |  This  includes|
0000b150  20 20 7a 69 70 2d 0a 20  20 20 20 20 20 20 20 20  |  zip-.         |
0000b160  20 20 20 20 20 20 20 20  20 20 20 20 66 69 6c 65  |            file|
0000b170  73 20 20 77 68 65 72 65  20 20 6f 6e 65 20 6f 72  |s  where  one or|
0000b180  20 6d 6f 72 65 20 66 69  6c 65 73 20 77 61 73 20  | more files was |
0000b190  73 6b 69 70 70 65 64 20  64 75 65 20 74 6f 20 75  |skipped due to u|
0000b1a0  6e 73 75 70 2d 0a 20 20  20 20 20 20 20 20 20 20  |nsup-.          |
0000b1b0  20 20 20 20 20 20 20 20  20 20 20 70 6f 72 74 65  |           porte|
0000b1c0  64 20 63 6f 6d 70 72 65  73 73 69 6f 6e 20 6d 65  |d compression me|
0000b1d0  74 68 6f 64 20 6f 72 20  65 6e 63 72 79 70 74 69  |thod or encrypti|
0000b1e0  6f 6e 20 77 69 74 68 20  20 61 6e 20 20 75 6e 6b  |on with  an  unk|
0000b1f0  6e 6f 77 6e 0a 20 20 20  20 20 20 20 20 20 20 20  |nown.           |
0000b200  20 20 20 20 20 20 20 20  20 20 70 61 73 73 77 6f  |          passwo|
0000b210  72 64 2e 0a 0a 20 20 20  20 20 20 20 20 20 20 20  |rd...           |
0000b220  20 20 20 32 20 20 20 20  20 20 61 20 67 65 6e 65  |   2      a gene|
0000b230  72 69 63 20 65 72 72 6f  72 20 69 6e 20 74 68 65  |ric error in the|
0000b240  20 7a 69 70 66 69 6c 65  20 66 6f 72 6d 61 74 20  | zipfile format |
0000b250  77 61 73 20 64 65 74 65  63 74 65 64 2e 20 20 50  |was detected.  P|
0000b260  72 6f 2d 0a 20 20 20 20  20 20 20 20 20 20 20 20  |ro-.            |
0000b270  20 20 20 20 20 20 20 20  20 63 65 73 73 69 6e 67  |         cessing|
0000b280  20 6d 61 79 20 68 61 76  65 20 63 6f 6d 70 6c 65  | may have comple|
0000b290  74 65 64 20 73 75 63 63  65 73 73 66 75 6c 6c 79  |ted successfully|
0000b2a0  20 61 6e 79 77 61 79 3b  20 73 6f 6d 65 20 62 72  | anyway; some br|
0000b2b0  6f 2d 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |o-.             |
0000b2c0  20 20 20 20 20 20 20 20  6b 65 6e 20 7a 69 70 66  |        ken zipf|
0000b2d0  69 6c 65 73 20 63 72 65  61 74 65 64 20 62 79 20  |iles created by |
0000b2e0  6f 74 68 65 72 20 61 72  63 68 69 76 65 72 73 20  |other archivers |
0000b2f0  68 61 76 65 20 73 69 6d  70 6c 65 20 77 6f 72 6b  |have simple work|
0000b300  2d 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |-.              |
0000b310  20 20 20 20 20 20 20 61  72 6f 75 6e 64 73 2e 0a  |       arounds..|
0000b320  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 33  |.              3|
0000b330  20 20 20 20 20 20 61 20  73 65 76 65 72 65 20 65  |      a severe e|
0000b340  72 72 6f 72 20 69 6e 20  74 68 65 20 7a 69 70 66  |rror in the zipf|
0000b350  69 6c 65 20 66 6f 72 6d  61 74 20 77 61 73 20 64  |ile format was d|
0000b360  65 74 65 63 74 65 64 2e  20 20 20 50 72 6f 2d 0a  |etected.   Pro-.|
0000b370  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
0000b380  20 20 20 20 20 63 65 73  73 69 6e 67 20 70 72 6f  |     cessing pro|
0000b390  62 61 62 6c 79 20 66 61  69 6c 65 64 20 69 6d 6d  |bably failed imm|
0000b3a0  65 64 69 61 74 65 6c 79  2e 0a 0a 20 20 20 20 20  |ediately...     |
0000b3b0  20 20 20 20 20 20 20 20  20 34 20 20 20 20 20 20  |         4      |
0000b3c0  75 6e 7a 69 70 20 20 77  61 73 20 20 75 6e 61 62  |unzip  was  unab|
0000b3d0  6c 65 20 20 74 6f 20 20  61 6c 6c 6f 63 61 74 65  |le  to  allocate|
0000b3e0  20 20 6d 65 6d 6f 72 79  20 20 66 6f 72 20 6f 6e  |  memory  for on|
0000b3f0  65 20 6f 72 20 6d 6f 72  65 0a 20 20 20 20 20 20  |e or more.      |
0000b400  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 62  |               b|
0000b410  75 66 66 65 72 73 20 64  75 72 69 6e 67 20 70 72  |uffers during pr|
0000b420  6f 67 72 61 6d 20 69 6e  69 74 69 61 6c 69 7a 61  |ogram initializa|
0000b430  74 69 6f 6e 2e 0a 0a 20  20 20 20 20 20 20 20 20  |tion...         |
0000b440  20 20 20 20 20 35 20 20  20 20 20 20 75 6e 7a 69  |     5      unzi|
0000b450  70 20 77 61 73 20 75 6e  61 62 6c 65 20 74 6f 20  |p was unable to |
0000b460  61 6c 6c 6f 63 61 74 65  20 6d 65 6d 6f 72 79 20  |allocate memory |
0000b470  6f 72 20 75 6e 61 62 6c  65 20 74 6f 20 6f 62 74  |or unable to obt|
0000b480  61 69 6e 20 61 0a 20 20  20 20 20 20 20 20 20 20  |ain a.          |
0000b490  20 20 20 20 20 20 20 20  20 20 20 74 74 79 20 74  |           tty t|
0000b4a0  6f 20 72 65 61 64 20 74  68 65 20 64 65 63 72 79  |o read the decry|
0000b4b0  70 74 69 6f 6e 20 70 61  73 73 77 6f 72 64 28 73  |ption password(s|
0000b4c0  29 2e 0a 0a 20 20 20 20  20 20 20 20 20 20 20 20  |)...            |
0000b4d0  20 20 36 20 20 20 20 20  20 75 6e 7a 69 70 20 20  |  6      unzip  |
0000b4e0  77 61 73 20 75 6e 61 62  6c 65 20 74 6f 20 61 6c  |was unable to al|
0000b4f0  6c 6f 63 61 74 65 20 6d  65 6d 6f 72 79 20 64 75  |locate memory du|
0000b500  72 69 6e 67 20 64 65 63  6f 6d 70 72 65 73 73 69  |ring decompressi|
0000b510  6f 6e 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |on.             |
0000b520  20 20 20 20 20 20 20 20  74 6f 20 64 69 73 6b 2e  |        to disk.|
0000b530  0a 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |..              |
0000b540  37 20 20 20 20 20 20 75  6e 7a 69 70 20 77 61 73  |7      unzip was|
0000b550  20 75 6e 61 62 6c 65 20  20 74 6f 20 20 61 6c 6c  | unable  to  all|
0000b560  6f 63 61 74 65 20 20 6d  65 6d 6f 72 79 20 20 64  |ocate  memory  d|
0000b570  75 72 69 6e 67 20 20 69  6e 2d 6d 65 6d 6f 72 79  |uring  in-memory|
0000b580  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
0000b590  20 20 20 20 20 20 64 65  63 6f 6d 70 72 65 73 73  |      decompress|
0000b5a0  69 6f 6e 2e 0a 0a 20 20  20 20 20 20 20 20 20 20  |ion...          |
0000b5b0  20 20 20 20 38 20 20 20  20 20 20 5b 63 75 72 72  |    8      [curr|
0000b5c0  65 6e 74 6c 79 20 6e 6f  74 20 75 73 65 64 5d 0a  |ently not used].|
0000b5d0  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 39  |.              9|
0000b5e0  20 20 20 20 20 20 74 68  65 20 73 70 65 63 69 66  |      the specif|
0000b5f0  69 65 64 20 7a 69 70 66  69 6c 65 73 20 77 65 72  |ied zipfiles wer|
0000b600  65 20 6e 6f 74 20 66 6f  75 6e 64 2e 0a 0a 20 20  |e not found...  |
0000b610  20 20 20 20 20 20 20 20  20 20 20 20 31 30 20 20  |            10  |
0000b620  20 20 20 69 6e 76 61 6c  69 64 20 6f 70 74 69 6f  |   invalid optio|
0000b630  6e 73 20 77 65 72 65 20  73 70 65 63 69 66 69 65  |ns were specifie|
0000b640  64 20 6f 6e 20 74 68 65  20 63 6f 6d 6d 61 6e 64  |d on the command|
0000b650  20 6c 69 6e 65 2e 0a 0a  20 20 20 20 20 20 20 20  | line...        |
0000b660  20 20 20 20 20 20 31 31  20 20 20 20 20 6e 6f 20  |      11     no |
0000b670  6d 61 74 63 68 69 6e 67  20 66 69 6c 65 73 20 77  |matching files w|
0000b680  65 72 65 20 66 6f 75 6e  64 2e 0a 0a 20 20 20 20  |ere found...    |
0000b690  20 20 20 20 20 20 20 20  20 20 35 30 20 20 20 20  |          50    |
0000b6a0  20 74 68 65 20 64 69 73  6b 20 69 73 20 28 6f 72  | the disk is (or|
0000b6b0  20 77 61 73 29 20 66 75  6c 6c 20 64 75 72 69 6e  | was) full durin|
0000b6c0  67 20 65 78 74 72 61 63  74 69 6f 6e 2e 0a 0a 20  |g extraction... |
0000b6d0  20 20 20 20 20 20 20 20  20 20 20 20 20 35 31 20  |             51 |
0000b6e0  20 20 20 20 74 68 65 20  65 6e 64 20 6f 66 20 74  |    the end of t|
0000b6f0  68 65 20 5a 49 50 20 61  72 63 68 69 76 65 20 77  |he ZIP archive w|
0000b700  61 73 20 65 6e 63 6f 75  6e 74 65 72 65 64 20 70  |as encountered p|
0000b710  72 65 6d 61 74 75 72 65  6c 79 2e 0a 0a 20 20 20  |rematurely...   |
0000b720  20 20 20 20 20 20 20 20  20 20 20 38 30 20 20 20  |           80   |
0000b730  20 20 74 68 65 20 20 75  73 65 72 20 20 61 62 6f  |  the  user  abo|
0000b740  72 74 65 64 20 20 75 6e  7a 69 70 20 20 70 72 65  |rted  unzip  pre|
0000b750  6d 61 74 75 72 65 6c 79  20 77 69 74 68 20 63 6f  |maturely with co|
0000b760  6e 74 72 6f 6c 2d 43 20  28 6f 72 0a 20 20 20 20  |ntrol-C (or.    |
0000b770  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
0000b780  20 73 69 6d 69 6c 61 72  29 0a 0a 20 20 20 20 20  | similar)..     |
0000b790  20 20 20 20 20 20 20 20  20 38 31 20 20 20 20 20  |         81     |
0000b7a0  74 65 73 74 69 6e 67 20  6f 72 20 65 78 74 72 61  |testing or extra|
0000b7b0  63 74 69 6f 6e 20 6f 66  20 6f 6e 65 20 6f 72 20  |ction of one or |
0000b7c0  6d 6f 72 65 20 66 69 6c  65 73 20 66 61 69 6c 65  |more files faile|
0000b7d0  64 20 64 75 65 20 20 74  6f 0a 20 20 20 20 20 20  |d due  to.      |
0000b7e0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 75  |               u|
0000b7f0  6e 73 75 70 70 6f 72 74  65 64 20 20 63 6f 6d 70  |nsupported  comp|
0000b800  72 65 73 73 69 6f 6e 20  20 6d 65 74 68 6f 64 73  |ression  methods|
0000b810  20 20 6f 72 20 75 6e 73  75 70 70 6f 72 74 65 64  |  or unsupported|
0000b820  20 64 65 63 72 79 70 2d  0a 20 20 20 20 20 20 20  | decryp-.       |
0000b830  20 20 20 20 20 20 20 20  20 20 20 20 20 20 74 69  |              ti|
0000b840  6f 6e 2e 0a 0a 20 20 20  20 20 20 20 20 20 20 20  |on...           |
0000b850  20 20 20 38 32 20 20 20  20 20 6e 6f 20 66 69 6c  |   82     no fil|
0000b860  65 73 20 77 65 72 65 20  66 6f 75 6e 64 20 64 75  |es were found du|
0000b870  65 20 74 6f 20 20 62 61  64 20 20 64 65 63 72 79  |e to  bad  decry|
0000b880  70 74 69 6f 6e 20 20 70  61 73 73 77 6f 72 64 28  |ption  password(|
0000b890  73 29 2e 0a 20 20 20 20  20 20 20 20 20 20 20 20  |s)..            |
0000b8a0  20 20 20 20 20 20 20 20  20 28 49 66 20 65 76 65  |         (If eve|
0000b8b0  6e 20 6f 6e 65 20 66 69  6c 65 20 69 73 20 73 75  |n one file is su|
0000b8c0  63 63 65 73 73 66 75 6c  6c 79 20 70 72 6f 63 65  |ccessfully proce|
0000b8d0  73 73 65 64 2c 20 68 6f  77 65 76 65 72 2c 20 74  |ssed, however, t|
0000b8e0  68 65 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |he.             |
0000b8f0  20 20 20 20 20 20 20 20  65 78 69 74 20 73 74 61  |        exit sta|
0000b900  74 75 73 20 69 73 20 31  2e 29 0a 0a 20 20 20 20  |tus is 1.)..    |
0000b910  20 20 20 56 4d 53 20 69  6e 74 65 72 70 72 65 74  |   VMS interpret|
0000b920  73 20 73 74 61 6e 64 61  72 64 20 55 6e 69 78 20  |s standard Unix |
0000b930  28 6f 72 20 50 43 29 20  72 65 74 75 72 6e 20 76  |(or PC) return v|
0000b940  61 6c 75 65 73 20 61 73  20 20 6f 74 68 65 72 2c  |alues as  other,|
0000b950  20 20 73 63 61 72 69 65  72 2d 0a 20 20 20 20 20  |  scarier-.     |
0000b960  20 20 6c 6f 6f 6b 69 6e  67 20 74 68 69 6e 67 73  |  looking things|
0000b970  2c 20 73 6f 20 75 6e 7a  69 70 20 69 6e 73 74 65  |, so unzip inste|
0000b980  61 64 20 6d 61 70 73 20  74 68 65 6d 20 69 6e 74  |ad maps them int|
0000b990  6f 20 56 4d 53 2d 73 74  79 6c 65 20 73 74 61 74  |o VMS-style stat|
0000b9a0  75 73 20 63 6f 64 65 73  2e 0a 20 20 20 20 20 20  |us codes..      |
0000b9b0  20 54 68 65 20 63 75 72  72 65 6e 74 20 6d 61 70  | The current map|
0000b9c0  70 69 6e 67 20 69 73 20  61 73 20 20 66 6f 6c 6c  |ping is as  foll|
0000b9d0  6f 77 73 3a 20 20 20 20  31 20 20 28 73 75 63 63  |ows:    1  (succ|
0000b9e0  65 73 73 29 20 20 66 6f  72 20 20 6e 6f 72 6d 61  |ess)  for  norma|
0000b9f0  6c 20 20 65 78 69 74 2c  0a 20 20 20 20 20 20 20  |l  exit,.       |
0000ba00  30 78 37 66 66 66 30 30  30 31 20 20 20 20 66 6f  |0x7fff0001    fo|
0000ba10  72 20 20 20 77 61 72 6e  69 6e 67 20 20 20 65 72  |r   warning   er|
0000ba20  72 6f 72 73 2c 20 20 20  61 6e 64 20 20 20 28 30  |rors,   and   (0|
0000ba30  78 37 66 66 66 30 30 30  3f 20 20 20 2b 20 20 20  |x7fff000?   +   |
0000ba40  31 36 2a 6e 6f 72 2d 0a  20 20 20 20 20 20 20 6d  |16*nor-.       m|
0000ba50  61 6c 5f 75 6e 7a 69 70  5f 65 78 69 74 5f 73 74  |al_unzip_exit_st|
0000ba60  61 74 75 73 29 20 66 6f  72 20 61 6c 6c 20 6f 74  |atus) for all ot|
0000ba70  68 65 72 20 65 72 72 6f  72 73 2c 20 77 68 65 72  |her errors, wher|
0000ba80  65 20 74 68 65 20 60 3f  27 20 69 73 20 32 20 28  |e the `?' is 2 (|
0000ba90  65 72 72 6f 72 29 0a 20  20 20 20 20 20 20 66 6f  |error).       fo|
0000baa0  72 20 75 6e 7a 69 70 20  76 61 6c 75 65 73 20 32  |r unzip values 2|
0000bab0  2c 20 39 2d 31 31 20 61  6e 64 20 38 30 2d 38 32  |, 9-11 and 80-82|
0000bac0  2c 20 61 6e 64 20 34 20  28 66 61 74 61 6c 20 65  |, and 4 (fatal e|
0000bad0  72 72 6f 72 29 20 66 6f  72 20 74 68 65 20 72 65  |rror) for the re|
0000bae0  6d 61 69 6e 2d 0a 20 20  20 20 20 20 20 69 6e 67  |main-.       ing|
0000baf0  20 6f 6e 65 73 20 28 33  2d 38 2c 20 35 30 2c 20  | ones (3-8, 50, |
0000bb00  35 31 29 2e 20 20 49 6e  20 61 64 64 69 74 69 6f  |51).  In additio|
0000bb10  6e 2c 20 74 68 65 72 65  20 69 73 20 61 20 63 6f  |n, there is a co|
0000bb20  6d 70 69 6c 61 74 69 6f  6e 20 6f 70 74 69 6f 6e  |mpilation option|
0000bb30  20 20 74 6f 0a 20 20 20  20 20 20 20 65 78 70 61  |  to.       expa|
0000bb40  6e 64 20 20 75 70 6f 6e  20 20 74 68 69 73 20 62  |nd  upon  this b|
0000bb50  65 68 61 76 69 6f 72 3a  20 20 64 65 66 69 6e 69  |ehavior:  defini|
0000bb60  6e 67 20 52 45 54 55 52  4e 5f 43 4f 44 45 53 20  |ng RETURN_CODES |
0000bb70  72 65 73 75 6c 74 73 20  69 6e 20 61 20 68 75 6d  |results in a hum|
0000bb80  61 6e 2d 0a 20 20 20 20  20 20 20 72 65 61 64 61  |an-.       reada|
0000bb90  62 6c 65 20 65 78 70 6c  61 6e 61 74 69 6f 6e 20  |ble explanation |
0000bba0  6f 66 20 77 68 61 74 20  74 68 65 20 65 72 72 6f  |of what the erro|
0000bbb0  72 20 73 74 61 74 75 73  20 6d 65 61 6e 73 2e 0a  |r status means..|
0000bbc0  0a 42 55 47 53 0a 20 20  20 20 20 20 20 4d 75 6c  |.BUGS.       Mul|
0000bbd0  74 69 2d 70 61 72 74 20  61 72 63 68 69 76 65 73  |ti-part archives|
0000bbe0  20 61 72 65 20 6e 6f 74  20 79 65 74 20 73 75 70  | are not yet sup|
0000bbf0  70 6f 72 74 65 64 2c 20  65 78 63 65 70 74 20 69  |ported, except i|
0000bc00  6e 20 20 63 6f 6e 6a 75  6e 63 74 69 6f 6e 20 20  |n  conjunction  |
0000bc10  77 69 74 68 0a 20 20 20  20 20 20 20 7a 69 70 2e  |with.       zip.|
0000bc20  20 20 28 41 6c 6c 20 70  61 72 74 73 20 6d 75 73  |  (All parts mus|
0000bc30  74 20 62 65 20 63 6f 6e  63 61 74 65 6e 61 74 65  |t be concatenate|
0000bc40  64 20 74 6f 67 65 74 68  65 72 20 69 6e 20 6f 72  |d together in or|
0000bc50  64 65 72 2c 20 61 6e 64  20 74 68 65 6e 20 60 60  |der, and then ``|
0000bc60  7a 69 70 0a 20 20 20 20  20 20 20 2d 46 27 27 20  |zip.       -F'' |
0000bc70  28 66 6f 72 20 7a 69 70  20 32 2e 78 29 20 6f 72  |(for zip 2.x) or|
0000bc80  20 60 60 7a 69 70 20 2d  46 46 27 27 20 28 66 6f  | ``zip -FF'' (fo|
0000bc90  72 20 7a 69 70 20 33 2e  78 29 20 6d 75 73 74 20  |r zip 3.x) must |
0000bca0  20 62 65 20 20 70 65 72  66 6f 72 6d 65 64 20 20  | be  performed  |
0000bcb0  6f 6e 0a 20 20 20 20 20  20 20 74 68 65 20 20 63  |on.       the  c|
0000bcc0  6f 6e 63 61 74 65 6e 61  74 65 64 20 20 61 72 63  |oncatenated  arc|
0000bcd0  68 69 76 65 20 20 69 6e  20 20 6f 72 64 65 72 20  |hive  in  order |
0000bce0  74 6f 20 60 60 66 69 78  27 27 20 69 74 2e 20 20  |to ``fix'' it.  |
0000bcf0  41 6c 73 6f 2c 20 7a 69  70 20 33 2e 30 20 61 6e  |Also, zip 3.0 an|
0000bd00  64 0a 20 20 20 20 20 20  20 6c 61 74 65 72 20 63  |d.       later c|
0000bd10  61 6e 20 63 6f 6d 62 69  6e 65 20 6d 75 6c 74 69  |an combine multi|
0000bd20  2d 70 61 72 74 20 28 73  70 6c 69 74 29 20 61 72  |-part (split) ar|
0000bd30  63 68 69 76 65 73 20 69  6e 74 6f 20 61 20 20 63  |chives into a  c|
0000bd40  6f 6d 62 69 6e 65 64 20  20 73 69 6e 67 6c 65 2d  |ombined  single-|
0000bd50  0a 20 20 20 20 20 20 20  66 69 6c 65 20 20 61 72  |.       file  ar|
0000bd60  63 68 69 76 65 20 75 73  69 6e 67 20 60 60 7a 69  |chive using ``zi|
0000bd70  70 20 2d 73 2d 20 69 6e  61 72 63 68 69 76 65 20  |p -s- inarchive |
0000bd80  2d 4f 20 6f 75 74 61 72  63 68 69 76 65 27 27 2e  |-O outarchive''.|
0000bd90  20 20 53 65 65 20 74 68  65 20 7a 69 70 20 33 0a  |  See the zip 3.|
0000bda0  20 20 20 20 20 20 20 6d  61 6e 75 61 6c 20 70 61  |       manual pa|
0000bdb0  67 65 20 66 6f 72 20 6d  6f 72 65 20 69 6e 66 6f  |ge for more info|
0000bdc0  72 6d 61 74 69 6f 6e 2e  29 20 20 54 68 69 73 20  |rmation.)  This |
0000bdd0  77 69 6c 6c 20 64 65 66  69 6e 69 74 65 6c 79 20  |will definitely |
0000bde0  20 62 65 20 20 63 6f 72  72 65 63 74 65 64 0a 20  | be  corrected. |
0000bdf0  20 20 20 20 20 20 69 6e  20 74 68 65 20 6e 65 78  |      in the nex|
0000be00  74 20 6d 61 6a 6f 72 20  72 65 6c 65 61 73 65 2e  |t major release.|
0000be10  0a 0a 20 20 20 20 20 20  20 41 72 63 68 69 76 65  |..       Archive|
0000be20  73 20 20 72 65 61 64 20  20 66 72 6f 6d 20 20 73  |s  read  from  s|
0000be30  74 61 6e 64 61 72 64 20  69 6e 70 75 74 20 61 72  |tandard input ar|
0000be40  65 20 6e 6f 74 20 79 65  74 20 73 75 70 70 6f 72  |e not yet suppor|
0000be50  74 65 64 2c 20 65 78 63  65 70 74 20 77 69 74 68  |ted, except with|
0000be60  0a 20 20 20 20 20 20 20  66 75 6e 7a 69 70 20 20  |.       funzip  |
0000be70  28 61 6e 64 20 20 74 68  65 6e 20 20 6f 6e 6c 79  |(and  then  only|
0000be80  20 20 74 68 65 20 20 66  69 72 73 74 20 20 6d 65  |  the  first  me|
0000be90  6d 62 65 72 20 20 6f 66  20 20 74 68 65 20 20 61  |mber  of  the  a|
0000bea0  72 63 68 69 76 65 20 20  63 61 6e 20 20 62 65 0a  |rchive  can  be.|
0000beb0  20 20 20 20 20 20 20 65  78 74 72 61 63 74 65 64  |       extracted|
0000bec0  29 2e 0a 0a 20 20 20 20  20 20 20 41 72 63 68 69  |)...       Archi|
0000bed0  76 65 73 20 20 65 6e 63  72 79 70 74 65 64 20 77  |ves  encrypted w|
0000bee0  69 74 68 20 38 2d 62 69  74 20 70 61 73 73 77 6f  |ith 8-bit passwo|
0000bef0  72 64 73 20 28 65 2e 67  2e 2c 20 70 61 73 73 77  |rds (e.g., passw|
0000bf00  6f 72 64 73 20 77 69 74  68 20 61 63 63 65 6e 74  |ords with accent|
0000bf10  65 64 0a 20 20 20 20 20  20 20 45 75 72 6f 70 65  |ed.       Europe|
0000bf20  61 6e 20 63 68 61 72 61  63 74 65 72 73 29 20 6d  |an characters) m|
0000bf30  61 79 20 6e 6f 74 20 62  65 20 70 6f 72 74 61 62  |ay not be portab|
0000bf40  6c 65 20 61 63 72 6f 73  73 20 20 73 79 73 74 65  |le across  syste|
0000bf50  6d 73 20 20 61 6e 64 2f  6f 72 20 20 6f 74 68 65  |ms  and/or  othe|
0000bf60  72 0a 20 20 20 20 20 20  20 61 72 63 68 69 76 65  |r.       archive|
0000bf70  72 73 2e 20 20 53 65 65  20 74 68 65 20 64 69 73  |rs.  See the dis|
0000bf80  63 75 73 73 69 6f 6e 20  69 6e 20 44 45 43 52 59  |cussion in DECRY|
0000bf90  50 54 49 4f 4e 20 61 62  6f 76 65 2e 0a 0a 20 20  |PTION above...  |
0000bfa0  20 20 20 20 20 75 6e 7a  69 70 27 73 20 2d 4d 20  |     unzip's -M |
0000bfb0  28 60 60 6d 6f 72 65 27  27 29 20 6f 70 74 69 6f  |(``more'') optio|
0000bfc0  6e 20 74 72 69 65 73 20  74 6f 20 74 61 6b 65 20  |n tries to take |
0000bfd0  69 6e 74 6f 20 61 63 63  6f 75 6e 74 20 61 75 74  |into account aut|
0000bfe0  6f 6d 61 74 69 63 20 77  72 61 70 2d 0a 20 20 20  |omatic wrap-.   |
0000bff0  20 20 20 20 70 69 6e 67  20 6f 66 20 6c 6f 6e 67  |    ping of long|
0000c000  20 6c 69 6e 65 73 2e 20  48 6f 77 65 76 65 72 2c  | lines. However,|
0000c010  20 74 68 65 20 63 6f 64  65 20 6d 61 79 20 66 61  | the code may fa|
0000c020  69 6c 20 74 6f 20 20 64  65 74 65 63 74 20 20 74  |il to  detect  t|
0000c030  68 65 20 20 63 6f 72 72  65 63 74 0a 20 20 20 20  |he  correct.    |
0000c040  20 20 20 77 72 61 70 70  69 6e 67 20 20 20 6c 6f  |   wrapping   lo|
0000c050  63 61 74 69 6f 6e 73 2e  20 20 20 46 69 72 73 74  |cations.   First|
0000c060  2c 20 20 54 41 42 20 20  63 68 61 72 61 63 74 65  |,  TAB  characte|
0000c070  72 73 20 20 28 61 6e 64  20 20 73 69 6d 69 6c 61  |rs  (and  simila|
0000c080  72 20 20 63 6f 6e 74 72  6f 6c 0a 20 20 20 20 20  |r  control.     |
0000c090  20 20 73 65 71 75 65 6e  63 65 73 29 20 61 72 65  |  sequences) are|
0000c0a0  20 6e 6f 74 20 74 61 6b  65 6e 20 69 6e 74 6f 20  | not taken into |
0000c0b0  61 63 63 6f 75 6e 74 2c  20 74 68 65 79 20 20 61  |account, they  a|
0000c0c0  72 65 20 20 68 61 6e 64  6c 65 64 20 20 61 73 20  |re  handled  as |
0000c0d0  20 6f 72 64 69 6e 61 72  79 0a 20 20 20 20 20 20  | ordinary.      |
0000c0e0  20 70 72 69 6e 74 61 62  6c 65 20 20 63 68 61 72  | printable  char|
0000c0f0  61 63 74 65 72 73 2e 20  20 20 53 65 63 6f 6e 64  |acters.   Second|
0000c100  2c 20 20 64 65 70 65 6e  64 69 6e 67 20 20 6f 6e  |,  depending  on|
0000c110  20 20 74 68 65 20 61 63  74 75 61 6c 20 73 79 73  |  the actual sys|
0000c120  74 65 6d 20 2f 20 4f 53  0a 20 20 20 20 20 20 20  |tem / OS.       |
0000c130  70 6f 72 74 2c 20 75 6e  7a 69 70 20 6d 61 79 20  |port, unzip may |
0000c140  6e 6f 74 20 64 65 74 65  63 74 20 74 68 65 20 74  |not detect the t|
0000c150  72 75 65 20 73 63 72 65  65 6e 20 67 65 6f 6d 65  |rue screen geome|
0000c160  74 72 79 20 62 75 74 20  72 61 74 68 65 72 20 72  |try but rather r|
0000c170  65 6c 79 20 20 6f 6e 0a  20 20 20 20 20 20 20 22  |ely  on.       "|
0000c180  63 6f 6d 6d 6f 6e 6c 79  20 75 73 65 64 22 20 64  |commonly used" d|
0000c190  65 66 61 75 6c 74 20 64  69 6d 65 6e 73 69 6f 6e  |efault dimension|
0000c1a0  73 2e 20 20 54 68 65 20  63 6f 72 72 65 63 74 20  |s.  The correct |
0000c1b0  68 61 6e 64 6c 69 6e 67  20 6f 66 20 74 61 62 73  |handling of tabs|
0000c1c0  20 77 6f 75 6c 64 0a 20  20 20 20 20 20 20 72 65  | would.       re|
0000c1d0  71 75 69 72 65 20 74 68  65 20 69 6d 70 6c 65 6d  |quire the implem|
0000c1e0  65 6e 74 61 74 69 6f 6e  20 6f 66 20 61 20 71 75  |entation of a qu|
0000c1f0  65 72 79 20 66 6f 72 20  74 68 65 20 61 63 74 75  |ery for the actu|
0000c200  61 6c 20 74 61 62 75 6c  61 74 6f 72 20 73 65 74  |al tabulator set|
0000c210  75 70 20 6f 6e 0a 20 20  20 20 20 20 20 74 68 65  |up on.       the|
0000c220  20 6f 75 74 70 75 74 20  63 6f 6e 73 6f 6c 65 2e  | output console.|
0000c230  0a 0a 20 20 20 20 20 20  20 44 61 74 65 73 2c 20  |..       Dates, |
0000c240  20 74 69 6d 65 73 20 20  61 6e 64 20 20 70 65 72  | times  and  per|
0000c250  6d 69 73 73 69 6f 6e 73  20 20 6f 66 20 73 74 6f  |missions  of sto|
0000c260  72 65 64 20 64 69 72 65  63 74 6f 72 69 65 73 20  |red directories |
0000c270  61 72 65 20 6e 6f 74 20  72 65 73 74 6f 72 65 64  |are not restored|
0000c280  0a 20 20 20 20 20 20 20  65 78 63 65 70 74 20 75  |.       except u|
0000c290  6e 64 65 72 20 55 6e 69  78 2e 20 28 4f 6e 20 57  |nder Unix. (On W|
0000c2a0  69 6e 64 6f 77 73 20 4e  54 20 61 6e 64 20 73 75  |indows NT and su|
0000c2b0  63 63 65 73 73 6f 72 73  2c 20 20 74 69 6d 65 73  |ccessors,  times|
0000c2c0  74 61 6d 70 73 20 20 61  72 65 20 20 6e 6f 77 0a  |tamps  are  now.|
0000c2d0  20 20 20 20 20 20 20 72  65 73 74 6f 72 65 64 2e  |       restored.|
0000c2e0  29 0a 0a 20 20 20 20 20  20 20 5b 4d 53 2d 44 4f  |)..       [MS-DO|
0000c2f0  53 5d 20 20 57 68 65 6e  20 20 65 78 74 72 61 63  |S]  When  extrac|
0000c300  74 69 6e 67 20 6f 72 20  74 65 73 74 69 6e 67 20  |ting or testing |
0000c310  66 69 6c 65 73 20 66 72  6f 6d 20 61 6e 20 61 72  |files from an ar|
0000c320  63 68 69 76 65 20 6f 6e  20 61 20 64 65 66 65 63  |chive on a defec|
0000c330  2d 0a 20 20 20 20 20 20  20 74 69 76 65 20 66 6c  |-.       tive fl|
0000c340  6f 70 70 79 20 64 69 73  6b 65 74 74 65 2c 20 69  |oppy diskette, i|
0000c350  66 20 74 68 65 20 20 60  60 46 61 69 6c 27 27 20  |f the  ``Fail'' |
0000c360  20 6f 70 74 69 6f 6e 20  20 69 73 20 20 63 68 6f  | option  is  cho|
0000c370  73 65 6e 20 20 66 72 6f  6d 20 20 44 4f 53 27 73  |sen  from  DOS's|
0000c380  0a 20 20 20 20 20 20 20  60 60 41 62 6f 72 74 2c  |.       ``Abort,|
0000c390  20 20 52 65 74 72 79 2c  20 20 46 61 69 6c 3f 27  |  Retry,  Fail?'|
0000c3a0  27 20 6d 65 73 73 61 67  65 2c 20 6f 6c 64 65 72  |' message, older|
0000c3b0  20 76 65 72 73 69 6f 6e  73 20 6f 66 20 75 6e 7a  | versions of unz|
0000c3c0  69 70 20 6d 61 79 20 68  61 6e 67 20 74 68 65 0a  |ip may hang the.|
0000c3d0  20 20 20 20 20 20 20 73  79 73 74 65 6d 2c 20 72  |       system, r|
0000c3e0  65 71 75 69 72 69 6e 67  20 61 20 72 65 62 6f 6f  |equiring a reboo|
0000c3f0  74 2e 20 20 54 68 69 73  20 70 72 6f 62 6c 65 6d  |t.  This problem|
0000c400  20 61 70 70 65 61 72 73  20 74 6f 20 62 65 20 66  | appears to be f|
0000c410  69 78 65 64 2c 20 62 75  74 20 63 6f 6e 2d 0a 20  |ixed, but con-. |
0000c420  20 20 20 20 20 20 74 72  6f 6c 2d 43 20 28 6f 72  |      trol-C (or|
0000c430  20 63 6f 6e 74 72 6f 6c  2d 42 72 65 61 6b 29 20  | control-Break) |
0000c440  63 61 6e 20 73 74 69 6c  6c 20 62 65 20 75 73 65  |can still be use|
0000c450  64 20 74 6f 20 74 65 72  6d 69 6e 61 74 65 20 75  |d to terminate u|
0000c460  6e 7a 69 70 2e 0a 0a 20  20 20 20 20 20 20 55 6e  |nzip...       Un|
0000c470  64 65 72 20 44 45 43 20  55 6c 74 72 69 78 2c 20  |der DEC Ultrix, |
0000c480  75 6e 7a 69 70 20 77 6f  75 6c 64 20 73 6f 6d 65  |unzip would some|
0000c490  74 69 6d 65 73 20 66 61  69 6c 20 6f 6e 20 6c 6f  |times fail on lo|
0000c4a0  6e 67 20 7a 69 70 66 69  6c 65 73 20 28 62 61 64  |ng zipfiles (bad|
0000c4b0  20 43 52 43 2c 0a 20 20  20 20 20 20 20 6e 6f 74  | CRC,.       not|
0000c4c0  20 61 6c 77 61 79 73 20  72 65 70 72 6f 64 75 63  | always reproduc|
0000c4d0  69 62 6c 65 29 2e 20 20  54 68 69 73 20 77 61 73  |ible).  This was|
0000c4e0  20 61 70 70 61 72 65 6e  74 6c 79 20 64 75 65 20  | apparently due |
0000c4f0  65 69 74 68 65 72 20 74  6f 20 61 20 68 61 72 64  |either to a hard|
0000c500  77 61 72 65 0a 20 20 20  20 20 20 20 62 75 67 20  |ware.       bug |
0000c510  20 28 63 61 63 68 65 20  20 6d 65 6d 6f 72 79 29  | (cache  memory)|
0000c520  20 20 6f 72 20 20 61 6e  20 6f 70 65 72 61 74 69  |  or  an operati|
0000c530  6e 67 20 73 79 73 74 65  6d 20 62 75 67 20 28 69  |ng system bug (i|
0000c540  6d 70 72 6f 70 65 72 20  68 61 6e 64 6c 69 6e 67  |mproper handling|
0000c550  20 6f 66 0a 20 20 20 20  20 20 20 70 61 67 65 20  | of.       page |
0000c560  66 61 75 6c 74 73 3f 29  2e 20 20 53 69 6e 63 65  |faults?).  Since|
0000c570  20 55 6c 74 72 69 78 20  68 61 73 20 62 65 65 6e  | Ultrix has been|
0000c580  20 61 62 61 6e 64 6f 6e  65 64 20 20 69 6e 20 20  | abandoned  in  |
0000c590  66 61 76 6f 72 20 20 6f  66 20 20 44 69 67 69 74  |favor  of  Digit|
0000c5a0  61 6c 0a 20 20 20 20 20  20 20 55 6e 69 78 20 28  |al.       Unix (|
0000c5b0  4f 53 46 2f 31 29 2c 20  74 68 69 73 20 6d 61 79  |OSF/1), this may|
0000c5c0  20 6e 6f 74 20 62 65 20  61 6e 20 69 73 73 75 65  | not be an issue|
0000c5d0  20 61 6e 79 6d 6f 72 65  2e 0a 0a 20 20 20 20 20  | anymore...     |
0000c5e0  20 20 5b 55 6e 69 78 5d  20 20 55 6e 69 78 20 20  |  [Unix]  Unix  |
0000c5f0  73 70 65 63 69 61 6c 20  20 66 69 6c 65 73 20 20  |special  files  |
0000c600  73 75 63 68 20 61 73 20  46 49 46 4f 20 62 75 66  |such as FIFO buf|
0000c610  66 65 72 73 20 28 6e 61  6d 65 64 20 70 69 70 65  |fers (named pipe|
0000c620  73 29 2c 20 62 6c 6f 63  6b 0a 20 20 20 20 20 20  |s), block.      |
0000c630  20 64 65 76 69 63 65 73  20 61 6e 64 20 63 68 61  | devices and cha|
0000c640  72 61 63 74 65 72 20 64  65 76 69 63 65 73 20 61  |racter devices a|
0000c650  72 65 20 6e 6f 74 20 72  65 73 74 6f 72 65 64 20  |re not restored |
0000c660  65 76 65 6e 20 69 66 20  74 68 65 79 20 61 72 65  |even if they are|
0000c670  20 73 6f 6d 65 68 6f 77  0a 20 20 20 20 20 20 20  | somehow.       |
0000c680  72 65 70 72 65 73 65 6e  74 65 64 20 20 69 6e 20  |represented  in |
0000c690  74 68 65 20 7a 69 70 66  69 6c 65 2c 20 6e 6f 72  |the zipfile, nor|
0000c6a0  20 61 72 65 20 68 61 72  64 2d 6c 69 6e 6b 65 64  | are hard-linked|
0000c6b0  20 66 69 6c 65 73 20 72  65 6c 69 6e 6b 65 64 2e  | files relinked.|
0000c6c0  20 20 42 61 73 69 2d 0a  20 20 20 20 20 20 20 63  |  Basi-.       c|
0000c6d0  61 6c 6c 79 20 74 68 65  20 6f 6e 6c 79 20 66 69  |ally the only fi|
0000c6e0  6c 65 20 74 79 70 65 73  20 72 65 73 74 6f 72 65  |le types restore|
0000c6f0  64 20 62 79 20 75 6e 7a  69 70 20 61 72 65 20 72  |d by unzip are r|
0000c700  65 67 75 6c 61 72 20 66  69 6c 65 73 2c 20 64 69  |egular files, di|
0000c710  72 65 63 74 6f 2d 0a 20  20 20 20 20 20 20 72 69  |recto-.       ri|
0000c720  65 73 20 61 6e 64 20 73  79 6d 62 6f 6c 69 63 20  |es and symbolic |
0000c730  28 73 6f 66 74 29 20 6c  69 6e 6b 73 2e 0a 0a 20  |(soft) links... |
0000c740  20 20 20 20 20 20 5b 4f  53 2f 32 5d 20 45 78 74  |      [OS/2] Ext|
0000c750  65 6e 64 65 64 20 61 74  74 72 69 62 75 74 65 73  |ended attributes|
0000c760  20 66 6f 72 20 65 78 69  73 74 69 6e 67 20 64 69  | for existing di|
0000c770  72 65 63 74 6f 72 69 65  73 20 61 72 65 20 6f 6e  |rectories are on|
0000c780  6c 79 20 75 70 64 61 74  65 64 20 69 66 0a 20 20  |ly updated if.  |
0000c790  20 20 20 20 20 74 68 65  20 2d 6f 20 28 60 60 6f  |     the -o (``o|
0000c7a0  76 65 72 77 72 69 74 65  20 61 6c 6c 27 27 29 20  |verwrite all'') |
0000c7b0  6f 70 74 69 6f 6e 20 69  73 20 67 69 76 65 6e 2e  |option is given.|
0000c7c0  20 20 54 68 69 73 20 69  73 20 20 61 20 20 6c 69  |  This is  a  li|
0000c7d0  6d 69 74 61 74 69 6f 6e  20 20 6f 66 0a 20 20 20  |mitation  of.   |
0000c7e0  20 20 20 20 74 68 65 20  20 6f 70 65 72 61 74 69  |    the  operati|
0000c7f0  6e 67 20 20 73 79 73 74  65 6d 3b 20 20 62 65 63  |ng  system;  bec|
0000c800  61 75 73 65 20 20 64 69  72 65 63 74 6f 72 69 65  |ause  directorie|
0000c810  73 20 6f 6e 6c 79 20 68  61 76 65 20 61 20 63 72  |s only have a cr|
0000c820  65 61 74 69 6f 6e 20 74  69 6d 65 0a 20 20 20 20  |eation time.    |
0000c830  20 20 20 61 73 73 6f 63  69 61 74 65 64 20 77 69  |   associated wi|
0000c840  74 68 20 74 68 65 6d 2c  20 75 6e 7a 69 70 20 68  |th them, unzip h|
0000c850  61 73 20 6e 6f 20 77 61  79 20 74 6f 20 64 65 74  |as no way to det|
0000c860  65 72 6d 69 6e 65 20 77  68 65 74 68 65 72 20 74  |ermine whether t|
0000c870  68 65 20 20 73 74 6f 72  65 64 0a 20 20 20 20 20  |he  stored.     |
0000c880  20 20 61 74 74 72 69 62  75 74 65 73 20 61 72 65  |  attributes are|
0000c890  20 6e 65 77 65 72 20 6f  72 20 6f 6c 64 65 72 20  | newer or older |
0000c8a0  74 68 61 6e 20 74 68 6f  73 65 20 6f 6e 20 64 69  |than those on di|
0000c8b0  73 6b 2e 20 20 49 6e 20  70 72 61 63 74 69 63 65  |sk.  In practice|
0000c8c0  20 74 68 69 73 20 6d 61  79 0a 20 20 20 20 20 20  | this may.      |
0000c8d0  20 6d 65 61 6e 20 61 20  74 77 6f 2d 70 61 73 73  | mean a two-pass|
0000c8e0  20 61 70 70 72 6f 61 63  68 20 69 73 20 72 65 71  | approach is req|
0000c8f0  75 69 72 65 64 3a 20 20  66 69 72 73 74 20 75 6e  |uired:  first un|
0000c900  70 61 63 6b 20 20 74 68  65 20 20 61 72 63 68 69  |pack  the  archi|
0000c910  76 65 20 20 6e 6f 72 2d  0a 20 20 20 20 20 20 20  |ve  nor-.       |
0000c920  6d 61 6c 6c 79 20 20 28  77 69 74 68 20 20 6f 72  |mally  (with  or|
0000c930  20 20 77 69 74 68 6f 75  74 20 20 66 72 65 73 68  |  without  fresh|
0000c940  65 6e 69 6e 67 2f 75 70  64 61 74 69 6e 67 20 20  |ening/updating  |
0000c950  65 78 69 73 74 69 6e 67  20 20 66 69 6c 65 73 29  |existing  files)|
0000c960  2c 20 20 74 68 65 6e 0a  20 20 20 20 20 20 20 6f  |,  then.       o|
0000c970  76 65 72 77 72 69 74 65  20 6a 75 73 74 20 74 68  |verwrite just th|
0000c980  65 20 64 69 72 65 63 74  6f 72 79 20 65 6e 74 72  |e directory entr|
0000c990  69 65 73 20 28 65 2e 67  2e 2c 20 60 60 75 6e 7a  |ies (e.g., ``unz|
0000c9a0  69 70 20 2d 6f 20 66 6f  6f 20 2a 2f 27 27 29 2e  |ip -o foo */'').|
0000c9b0  0a 0a 20 20 20 20 20 20  20 5b 56 4d 53 5d 20 57  |..       [VMS] W|
0000c9c0  68 65 6e 20 65 78 74 72  61 63 74 69 6e 67 20 74  |hen extracting t|
0000c9d0  6f 20 61 6e 6f 74 68 65  72 20 64 69 72 65 63 74  |o another direct|
0000c9e0  6f 72 79 2c 20 6f 6e 6c  79 20 74 68 65 20 5b 2e  |ory, only the [.|
0000c9f0  66 6f 6f 5d 20 20 73 79  6e 74 61 78 20 20 69 73  |foo]  syntax  is|
0000ca00  0a 20 20 20 20 20 20 20  61 63 63 65 70 74 65 64  |.       accepted|
0000ca10  20 20 66 6f 72 20 20 74  68 65 20 20 2d 64 20 20  |  for  the  -d  |
0000ca20  6f 70 74 69 6f 6e 3b 20  20 74 68 65 20 73 69 6d  |option;  the sim|
0000ca30  70 6c 65 20 55 6e 69 78  20 66 6f 6f 20 73 79 6e  |ple Unix foo syn|
0000ca40  74 61 78 20 69 73 20 73  69 6c 65 6e 74 6c 79 0a  |tax is silently.|
0000ca50  20 20 20 20 20 20 20 69  67 6e 6f 72 65 64 20 28  |       ignored (|
0000ca60  61 73 20 69 73 20 74 68  65 20 6c 65 73 73 20 63  |as is the less c|
0000ca70  6f 6d 6d 6f 6e 20 56 4d  53 20 66 6f 6f 2e 64 69  |ommon VMS foo.di|
0000ca80  72 20 73 79 6e 74 61 78  29 2e 0a 0a 20 20 20 20  |r syntax)...    |
0000ca90  20 20 20 5b 56 4d 53 5d  20 57 68 65 6e 20 74 68  |   [VMS] When th|
0000caa0  65 20 66 69 6c 65 20 62  65 69 6e 67 20 65 78 74  |e file being ext|
0000cab0  72 61 63 74 65 64 20 61  6c 72 65 61 64 79 20 65  |racted already e|
0000cac0  78 69 73 74 73 2c 20 75  6e 7a 69 70 27 73 20 71  |xists, unzip's q|
0000cad0  75 65 72 79 20 20 6f 6e  6c 79 0a 20 20 20 20 20  |uery  only.     |
0000cae0  20 20 61 6c 6c 6f 77 73  20 20 73 6b 69 70 70 69  |  allows  skippi|
0000caf0  6e 67 2c 20 6f 76 65 72  77 72 69 74 69 6e 67 20  |ng, overwriting |
0000cb00  6f 72 20 72 65 6e 61 6d  69 6e 67 3b 20 74 68 65  |or renaming; the|
0000cb10  72 65 20 73 68 6f 75 6c  64 20 61 64 64 69 74 69  |re should additi|
0000cb20  6f 6e 61 6c 6c 79 20 62  65 0a 20 20 20 20 20 20  |onally be.      |
0000cb30  20 61 20 63 68 6f 69 63  65 20 66 6f 72 20 63 72  | a choice for cr|
0000cb40  65 61 74 69 6e 67 20 61  20 6e 65 77 20 76 65 72  |eating a new ver|
0000cb50  73 69 6f 6e 20 6f 66 20  74 68 65 20 66 69 6c 65  |sion of the file|
0000cb60  2e 20 20 49 6e 20 66 61  63 74 2c 20 74 68 65 20  |.  In fact, the |
0000cb70  20 60 60 6f 76 65 72 2d  0a 20 20 20 20 20 20 20  | ``over-.       |
0000cb80  77 72 69 74 65 27 27 20  20 63 68 6f 69 63 65 20  |write''  choice |
0000cb90  64 6f 65 73 20 63 72 65  61 74 65 20 61 20 6e 65  |does create a ne|
0000cba0  77 20 76 65 72 73 69 6f  6e 3b 20 74 68 65 20 6f  |w version; the o|
0000cbb0  6c 64 20 76 65 72 73 69  6f 6e 20 69 73 20 6e 6f  |ld version is no|
0000cbc0  74 20 6f 76 65 72 2d 0a  20 20 20 20 20 20 20 77  |t over-.       w|
0000cbd0  72 69 74 74 65 6e 20 6f  72 20 64 65 6c 65 74 65  |ritten or delete|
0000cbe0  64 2e 0a 0a 53 45 45 20  41 4c 53 4f 0a 20 20 20  |d...SEE ALSO.   |
0000cbf0  20 20 20 20 66 75 6e 7a  69 70 28 31 4c 29 2c 20  |    funzip(1L), |
0000cc00  20 7a 69 70 28 31 4c 29  2c 20 20 7a 69 70 63 6c  | zip(1L),  zipcl|
0000cc10  6f 61 6b 28 31 4c 29 2c  20 20 7a 69 70 67 72 65  |oak(1L),  zipgre|
0000cc20  70 28 31 4c 29 2c 20 20  7a 69 70 69 6e 66 6f 28  |p(1L),  zipinfo(|
0000cc30  31 4c 29 2c 20 20 20 7a  69 70 2d 0a 20 20 20 20  |1L),   zip-.    |
0000cc40  20 20 20 6e 6f 74 65 28  31 4c 29 2c 20 7a 69 70  |   note(1L), zip|
0000cc50  73 70 6c 69 74 28 31 4c  29 0a 0a 55 52 4c 0a 20  |split(1L)..URL. |
0000cc60  20 20 20 20 20 20 54 68  65 20 49 6e 66 6f 2d 5a  |      The Info-Z|
0000cc70  49 50 20 68 6f 6d 65 20  70 61 67 65 20 69 73 20  |IP home page is |
0000cc80  63 75 72 72 65 6e 74 6c  79 20 61 74 0a 20 20 20  |currently at.   |
0000cc90  20 20 20 20 20 20 20 20  68 74 74 70 3a 2f 2f 77  |        http://w|
0000cca0  77 77 2e 69 6e 66 6f 2d  7a 69 70 2e 6f 72 67 2f  |ww.info-zip.org/|
0000ccb0  70 75 62 2f 69 6e 66 6f  7a 69 70 2f 0a 20 20 20  |pub/infozip/.   |
0000ccc0  20 20 20 20 6f 72 0a 20  20 20 20 20 20 20 20 20  |    or.         |
0000ccd0  20 20 66 74 70 3a 2f 2f  66 74 70 2e 69 6e 66 6f  |  ftp://ftp.info|
0000cce0  2d 7a 69 70 2e 6f 72 67  2f 70 75 62 2f 69 6e 66  |-zip.org/pub/inf|
0000ccf0  6f 7a 69 70 2f 20 2e 0a  0a 41 55 54 48 4f 52 53  |ozip/ ...AUTHORS|
0000cd00  0a 20 20 20 20 20 20 20  54 68 65 20 20 70 72 69  |.       The  pri|
0000cd10  6d 61 72 79 20 20 49 6e  66 6f 2d 5a 49 50 20 61  |mary  Info-ZIP a|
0000cd20  75 74 68 6f 72 73 20 28  63 75 72 72 65 6e 74 20  |uthors (current |
0000cd30  73 65 6d 69 2d 61 63 74  69 76 65 20 6d 65 6d 62  |semi-active memb|
0000cd40  65 72 73 20 6f 66 20 74  68 65 20 5a 69 70 2d 0a  |ers of the Zip-.|
0000cd50  20 20 20 20 20 20 20 42  75 67 73 20 77 6f 72 6b  |       Bugs work|
0000cd60  67 72 6f 75 70 29 20 61  72 65 3a 20 20 45 64 20  |group) are:  Ed |
0000cd70  47 6f 72 64 6f 6e 20 28  5a 69 70 2c 20 67 65 6e  |Gordon (Zip, gen|
0000cd80  65 72 61 6c 20 6d 61 69  6e 74 65 6e 61 6e 63 65  |eral maintenance|
0000cd90  2c 20 73 68 61 72 65 64  20 63 6f 64 65 2c 0a 20  |, shared code,. |
0000cda0  20 20 20 20 20 20 5a 69  70 36 34 2c 20 20 57 69  |      Zip64,  Wi|
0000cdb0  6e 33 32 2c 20 20 55 6e  69 78 2c 20 20 55 6e 69  |n32,  Unix,  Uni|
0000cdc0  63 6f 64 65 29 3b 20 20  43 68 72 69 73 74 69 61  |code);  Christia|
0000cdd0  6e 20 20 53 70 69 65 6c  65 72 20 28 55 6e 5a 69  |n  Spieler (UnZi|
0000cde0  70 20 6d 61 69 6e 74 65  6e 61 6e 63 65 0a 20 20  |p maintenance.  |
0000cdf0  20 20 20 20 20 63 6f 6f  72 64 69 6e 61 74 69 6f  |     coordinatio|
0000ce00  6e 2c 20 56 4d 53 2c 20  4d 53 2d 44 4f 53 2c 20  |n, VMS, MS-DOS, |
0000ce10  57 69 6e 33 32 2c 20 73  68 61 72 65 64 20 63 6f  |Win32, shared co|
0000ce20  64 65 2c 20 67 65 6e 65  72 61 6c 20 20 5a 69 70  |de, general  Zip|
0000ce30  20 20 61 6e 64 20 20 55  6e 5a 69 70 0a 20 20 20  |  and  UnZip.   |
0000ce40  20 20 20 20 69 6e 74 65  67 72 61 74 69 6f 6e 20  |    integration |
0000ce50  20 61 6e 64 20 20 6f 70  74 69 6d 69 7a 61 74 69  | and  optimizati|
0000ce60  6f 6e 29 3b 20 20 4f 6e  6e 6f 20 76 61 6e 20 64  |on);  Onno van d|
0000ce70  65 72 20 4c 69 6e 64 65  6e 20 28 5a 69 70 29 3b  |er Linden (Zip);|
0000ce80  20 4d 69 6b 65 20 57 68  69 74 65 0a 20 20 20 20  | Mike White.    |
0000ce90  20 20 20 28 57 69 6e 33  32 2c 20 57 69 6e 64 6f  |   (Win32, Windo|
0000cea0  77 73 20 47 55 49 2c 20  57 69 6e 64 6f 77 73 20  |ws GUI, Windows |
0000ceb0  20 44 4c 4c 73 29 3b 20  20 4b 61 69 20 20 55 77  | DLLs);  Kai  Uw|
0000cec0  65 20 20 52 6f 6d 6d 65  6c 20 20 28 4f 53 2f 32  |e  Rommel  (OS/2|
0000ced0  2c 20 20 57 69 6e 33 32  29 3b 0a 20 20 20 20 20  |,  Win32);.     |
0000cee0  20 20 53 74 65 76 65 6e  20 20 4d 2e 20 20 53 63  |  Steven  M.  Sc|
0000cef0  68 77 65 64 61 20 20 28  56 4d 53 2c 20 55 6e 69  |hweda  (VMS, Uni|
0000cf00  78 2c 20 73 75 70 70 6f  72 74 20 6f 66 20 6e 65  |x, support of ne|
0000cf10  77 20 66 65 61 74 75 72  65 73 29 3b 20 50 61 75  |w features); Pau|
0000cf20  6c 20 4b 69 65 6e 69 74  7a 0a 20 20 20 20 20 20  |l Kienitz.      |
0000cf30  20 28 41 6d 69 67 61 2c  20 57 69 6e 33 32 2c 20  | (Amiga, Win32, |
0000cf40  55 6e 69 63 6f 64 65 29  3b 20 43 68 72 69 73 20  |Unicode); Chris |
0000cf50  48 65 72 62 6f 72 74 68  20 28 42 65 4f 53 2c 20  |Herborth (BeOS, |
0000cf60  20 51 4e 58 2c 20 20 41  74 61 72 69 29 3b 20 20  | QNX,  Atari);  |
0000cf70  4a 6f 6e 61 74 68 61 6e  0a 20 20 20 20 20 20 20  |Jonathan.       |
0000cf80  48 75 64 73 6f 6e 20 28  53 4d 53 2f 51 44 4f 53  |Hudson (SMS/QDOS|
0000cf90  29 3b 20 53 65 72 67 69  6f 20 4d 6f 6e 65 73 69  |); Sergio Monesi|
0000cfa0  20 28 41 63 6f 72 6e 20  52 49 53 43 20 4f 53 29  | (Acorn RISC OS)|
0000cfb0  3b 20 48 61 72 61 6c 64  20 44 65 6e 6b 65 72 20  |; Harald Denker |
0000cfc0  28 41 74 61 72 69 2c 0a  20 20 20 20 20 20 20 4d  |(Atari,.       M|
0000cfd0  56 53 29 3b 20 4a 6f 68  6e 20 42 75 73 68 20 28  |VS); John Bush (|
0000cfe0  53 6f 6c 61 72 69 73 2c  20 41 6d 69 67 61 29 3b  |Solaris, Amiga);|
0000cff0  20 48 75 6e 74 65 72 20  47 6f 61 74 6c 65 79 20  | Hunter Goatley |
0000d000  20 28 56 4d 53 2c 20 20  49 6e 66 6f 2d 5a 49 50  | (VMS,  Info-ZIP|
0000d010  20 20 53 69 74 65 0a 20  20 20 20 20 20 20 6d 61  |  Site.       ma|
0000d020  69 6e 74 65 6e 61 6e 63  65 29 3b 20 20 53 74 65  |intenance);  Ste|
0000d030  76 65 20 20 53 61 6c 69  73 62 75 72 79 20 28 57  |ve  Salisbury (W|
0000d040  69 6e 33 32 29 3b 20 53  74 65 76 65 20 4d 69 6c  |in32); Steve Mil|
0000d050  6c 65 72 20 28 57 69 6e  64 6f 77 73 20 43 45 20  |ler (Windows CE |
0000d060  47 55 49 29 2c 0a 20 20  20 20 20 20 20 4a 6f 68  |GUI),.       Joh|
0000d070  6e 6e 79 20 4c 65 65 20  28 4d 53 2d 44 4f 53 2c  |nny Lee (MS-DOS,|
0000d080  20 57 69 6e 33 32 2c 20  5a 69 70 36 34 29 3b 20  | Win32, Zip64); |
0000d090  61 6e 64 20 44 61 76 65  20 53 6d 69 74 68 20 28  |and Dave Smith (|
0000d0a0  54 61 6e 64 65 6d 20 4e  53 4b 29 2e 0a 0a 20 20  |Tandem NSK)...  |
0000d0b0  20 20 20 20 20 54 68 65  20 66 6f 6c 6c 6f 77 69  |     The followi|
0000d0c0  6e 67 20 70 65 6f 70 6c  65 20 77 65 72 65 20 66  |ng people were f|
0000d0d0  6f 72 6d 65 72 20 6d 65  6d 62 65 72 73 20 6f 66  |ormer members of|
0000d0e0  20 20 74 68 65 20 20 49  6e 66 6f 2d 5a 49 50 20  |  the  Info-ZIP |
0000d0f0  20 64 65 76 65 6c 6f 70  6d 65 6e 74 0a 20 20 20  | development.   |
0000d100  20 20 20 20 67 72 6f 75  70 20 20 61 6e 64 20 20  |    group  and  |
0000d110  70 72 6f 76 69 64 65 64  20 20 6d 61 6a 6f 72 20  |provided  major |
0000d120  20 63 6f 6e 74 72 69 62  75 74 69 6f 6e 73 20 20  | contributions  |
0000d130  74 6f 20 6b 65 79 20 70  61 72 74 73 20 6f 66 20  |to key parts of |
0000d140  74 68 65 20 63 75 72 72  65 6e 74 0a 20 20 20 20  |the current.    |
0000d150  20 20 20 63 6f 64 65 3a  20 47 72 65 67 20 60 60  |   code: Greg ``|
0000d160  43 61 76 65 20 4e 65 77  74 27 27 20 52 6f 65 6c  |Cave Newt'' Roel|
0000d170  6f 66 73 20 28 55 6e 5a  69 70 2c 20 75 6e 73 68  |ofs (UnZip, unsh|
0000d180  72 69 6e 6b 20 64 65 63  6f 6d 70 72 65 73 73 69  |rink decompressi|
0000d190  6f 6e 29 3b 20 4a 65 61  6e 2d 0a 20 20 20 20 20  |on); Jean-.     |
0000d1a0  20 20 6c 6f 75 70 20 20  47 61 69 6c 6c 79 20 20  |  loup  Gailly  |
0000d1b0  28 64 65 66 6c 61 74 65  20 63 6f 6d 70 72 65 73  |(deflate compres|
0000d1c0  73 69 6f 6e 29 3b 20 4d  61 72 6b 20 41 64 6c 65  |sion); Mark Adle|
0000d1d0  72 20 28 69 6e 66 6c 61  74 65 20 64 65 63 6f 6d  |r (inflate decom|
0000d1e0  70 72 65 73 73 69 6f 6e  2c 0a 20 20 20 20 20 20  |pression,.      |
0000d1f0  20 66 55 6e 5a 69 70 29  2e 0a 0a 20 20 20 20 20  | fUnZip)...     |
0000d200  20 20 54 68 65 20 61 75  74 68 6f 72 20 6f 66 20  |  The author of |
0000d210  74 68 65 20 6f 72 69 67  69 6e 61 6c 20 75 6e 7a  |the original unz|
0000d220  69 70 20 63 6f 64 65 20  75 70 6f 6e 20 77 68 69  |ip code upon whi|
0000d230  63 68 20 49 6e 66 6f 2d  5a 49 50 27 73 20 20 77  |ch Info-ZIP's  w|
0000d240  61 73 20 20 62 61 73 65  64 0a 20 20 20 20 20 20  |as  based.      |
0000d250  20 69 73 20 20 53 61 6d  75 65 6c 20 48 2e 20 53  | is  Samuel H. S|
0000d260  6d 69 74 68 3b 20 43 61  72 6c 20 4d 61 73 63 6f  |mith; Carl Masco|
0000d270  74 74 20 64 69 64 20 74  68 65 20 66 69 72 73 74  |tt did the first|
0000d280  20 55 6e 69 78 20 70 6f  72 74 3b 20 61 6e 64 20  | Unix port; and |
0000d290  44 61 76 69 64 20 50 2e  0a 20 20 20 20 20 20 20  |David P..       |
0000d2a0  4b 69 72 73 63 68 62 61  75 6d 20 6f 72 67 61 6e  |Kirschbaum organ|
0000d2b0  69 7a 65 64 20 61 6e 64  20 6c 65 64 20 49 6e 66  |ized and led Inf|
0000d2c0  6f 2d 5a 49 50 20 69 6e  20 20 69 74 73 20 20 65  |o-ZIP in  its  e|
0000d2d0  61 72 6c 79 20 20 64 61  79 73 20 20 77 69 74 68  |arly  days  with|
0000d2e0  20 20 4b 65 69 74 68 0a  20 20 20 20 20 20 20 50  |  Keith.       P|
0000d2f0  65 74 65 72 73 65 6e 20  20 68 6f 73 74 69 6e 67  |etersen  hosting|
0000d300  20 74 68 65 20 6f 72 69  67 69 6e 61 6c 20 6d 61  | the original ma|
0000d310  69 6c 69 6e 67 20 6c 69  73 74 20 61 74 20 57 53  |iling list at WS|
0000d320  4d 52 2d 53 69 6d 54 65  6c 32 30 2e 20 20 54 68  |MR-SimTel20.  Th|
0000d330  65 20 66 75 6c 6c 0a 20  20 20 20 20 20 20 6c 69  |e full.       li|
0000d340  73 74 20 6f 66 20 63 6f  6e 74 72 69 62 75 74 6f  |st of contributo|
0000d350  72 73 20 74 6f 20 55 6e  5a 69 70 20 68 61 73 20  |rs to UnZip has |
0000d360  67 72 6f 77 6e 20 71 75  69 74 65 20 6c 61 72 67  |grown quite larg|
0000d370  65 3b 20 20 70 6c 65 61  73 65 20 20 72 65 66 65  |e;  please  refe|
0000d380  72 20 20 74 6f 0a 20 20  20 20 20 20 20 74 68 65  |r  to.       the|
0000d390  20 20 43 4f 4e 54 52 49  42 53 20 20 66 69 6c 65  |  CONTRIBS  file|
0000d3a0  20 20 69 6e 20 20 74 68  65 20 55 6e 5a 69 70 20  |  in  the UnZip |
0000d3b0  73 6f 75 72 63 65 20 64  69 73 74 72 69 62 75 74  |source distribut|
0000d3c0  69 6f 6e 20 66 6f 72 20  61 20 72 65 6c 61 74 69  |ion for a relati|
0000d3d0  76 65 6c 79 0a 20 20 20  20 20 20 20 63 6f 6d 70  |vely.       comp|
0000d3e0  6c 65 74 65 20 76 65 72  73 69 6f 6e 2e 0a 0a 56  |lete version...V|
0000d3f0  45 52 53 49 4f 4e 53 0a  20 20 20 20 20 20 20 76  |ERSIONS.       v|
0000d400  31 2e 32 20 20 20 31 35  20 4d 61 72 20 38 39 20  |1.2   15 Mar 89 |
0000d410  20 20 53 61 6d 75 65 6c  20 48 2e 20 53 6d 69 74  |  Samuel H. Smit|
0000d420  68 0a 20 20 20 20 20 20  20 76 32 2e 30 20 20 20  |h.       v2.0   |
0000d430  20 39 20 53 65 70 20 38  39 20 20 20 53 61 6d 75  | 9 Sep 89   Samu|
0000d440  65 6c 20 48 2e 20 53 6d  69 74 68 0a 20 20 20 20  |el H. Smith.    |
0000d450  20 20 20 76 32 2e 78 20  20 20 66 61 6c 6c 20 31  |   v2.x   fall 1|
0000d460  39 38 39 20 20 20 6d 61  6e 79 20 55 73 65 6e 65  |989   many Usene|
0000d470  74 20 63 6f 6e 74 72 69  62 75 74 6f 72 73 0a 20  |t contributors. |
0000d480  20 20 20 20 20 20 76 33  2e 30 20 20 20 20 31 20  |      v3.0    1 |
0000d490  4d 61 79 20 39 30 20 20  20 49 6e 66 6f 2d 5a 49  |May 90   Info-ZI|
0000d4a0  50 20 28 44 50 4b 2c 20  63 6f 6e 73 6f 6c 69 64  |P (DPK, consolid|
0000d4b0  61 74 6f 72 29 0a 20 20  20 20 20 20 20 76 33 2e  |ator).       v3.|
0000d4c0  31 20 20 20 31 35 20 41  75 67 20 39 30 20 20 20  |1   15 Aug 90   |
0000d4d0  49 6e 66 6f 2d 5a 49 50  20 28 44 50 4b 2c 20 63  |Info-ZIP (DPK, c|
0000d4e0  6f 6e 73 6f 6c 69 64 61  74 6f 72 29 0a 20 20 20  |onsolidator).   |
0000d4f0  20 20 20 20 76 34 2e 30  20 20 20 20 31 20 44 65  |    v4.0    1 De|
0000d500  63 20 39 30 20 20 20 49  6e 66 6f 2d 5a 49 50 20  |c 90   Info-ZIP |
0000d510  28 47 52 52 2c 20 6d 61  69 6e 74 61 69 6e 65 72  |(GRR, maintainer|
0000d520  29 0a 20 20 20 20 20 20  20 76 34 2e 31 20 20 20  |).       v4.1   |
0000d530  31 32 20 4d 61 79 20 39  31 20 20 20 49 6e 66 6f  |12 May 91   Info|
0000d540  2d 5a 49 50 0a 20 20 20  20 20 20 20 76 34 2e 32  |-ZIP.       v4.2|
0000d550  20 20 20 32 30 20 4d 61  72 20 39 32 20 20 20 49  |   20 Mar 92   I|
0000d560  6e 66 6f 2d 5a 49 50 20  28 5a 69 70 2d 42 75 67  |nfo-ZIP (Zip-Bug|
0000d570  73 20 73 75 62 67 72 6f  75 70 2c 20 47 52 52 29  |s subgroup, GRR)|
0000d580  0a 20 20 20 20 20 20 20  76 35 2e 30 20 20 20 32  |.       v5.0   2|
0000d590  31 20 41 75 67 20 39 32  20 20 20 49 6e 66 6f 2d  |1 Aug 92   Info-|
0000d5a0  5a 49 50 20 28 5a 69 70  2d 42 75 67 73 20 73 75  |ZIP (Zip-Bugs su|
0000d5b0  62 67 72 6f 75 70 2c 20  47 52 52 29 0a 20 20 20  |bgroup, GRR).   |
0000d5c0  20 20 20 20 76 35 2e 30  31 20 20 31 35 20 4a 61  |    v5.01  15 Ja|
0000d5d0  6e 20 39 33 20 20 20 49  6e 66 6f 2d 5a 49 50 20  |n 93   Info-ZIP |
0000d5e0  28 5a 69 70 2d 42 75 67  73 20 73 75 62 67 72 6f  |(Zip-Bugs subgro|
0000d5f0  75 70 2c 20 47 52 52 29  0a 20 20 20 20 20 20 20  |up, GRR).       |
0000d600  76 35 2e 31 20 20 20 20  37 20 46 65 62 20 39 34  |v5.1    7 Feb 94|
0000d610  20 20 20 49 6e 66 6f 2d  5a 49 50 20 28 5a 69 70  |   Info-ZIP (Zip|
0000d620  2d 42 75 67 73 20 73 75  62 67 72 6f 75 70 2c 20  |-Bugs subgroup, |
0000d630  47 52 52 29 0a 20 20 20  20 20 20 20 76 35 2e 31  |GRR).       v5.1|
0000d640  31 20 20 20 32 20 41 75  67 20 39 34 20 20 20 49  |1   2 Aug 94   I|
0000d650  6e 66 6f 2d 5a 49 50 20  28 5a 69 70 2d 42 75 67  |nfo-ZIP (Zip-Bug|
0000d660  73 20 73 75 62 67 72 6f  75 70 2c 20 47 52 52 29  |s subgroup, GRR)|
0000d670  0a 20 20 20 20 20 20 20  76 35 2e 31 32 20 20 32  |.       v5.12  2|
0000d680  38 20 41 75 67 20 39 34  20 20 20 49 6e 66 6f 2d  |8 Aug 94   Info-|
0000d690  5a 49 50 20 28 5a 69 70  2d 42 75 67 73 20 73 75  |ZIP (Zip-Bugs su|
0000d6a0  62 67 72 6f 75 70 2c 20  47 52 52 29 0a 20 20 20  |bgroup, GRR).   |
0000d6b0  20 20 20 20 76 35 2e 32  20 20 20 33 30 20 41 70  |    v5.2   30 Ap|
0000d6c0  72 20 39 36 20 20 20 49  6e 66 6f 2d 5a 49 50 20  |r 96   Info-ZIP |
0000d6d0  28 5a 69 70 2d 42 75 67  73 20 73 75 62 67 72 6f  |(Zip-Bugs subgro|
0000d6e0  75 70 2c 20 47 52 52 29  0a 20 20 20 20 20 20 20  |up, GRR).       |
0000d6f0  76 35 2e 33 20 20 20 32  32 20 41 70 72 20 39 37  |v5.3   22 Apr 97|
0000d700  20 20 20 49 6e 66 6f 2d  5a 49 50 20 28 5a 69 70  |   Info-ZIP (Zip|
0000d710  2d 42 75 67 73 20 73 75  62 67 72 6f 75 70 2c 20  |-Bugs subgroup, |
0000d720  47 52 52 29 0a 20 20 20  20 20 20 20 76 35 2e 33  |GRR).       v5.3|
0000d730  31 20 20 33 31 20 4d 61  79 20 39 37 20 20 20 49  |1  31 May 97   I|
0000d740  6e 66 6f 2d 5a 49 50 20  28 5a 69 70 2d 42 75 67  |nfo-ZIP (Zip-Bug|
0000d750  73 20 73 75 62 67 72 6f  75 70 2c 20 47 52 52 29  |s subgroup, GRR)|
0000d760  0a 20 20 20 20 20 20 20  76 35 2e 33 32 20 20 20  |.       v5.32   |
0000d770  33 20 4e 6f 76 20 39 37  20 20 20 49 6e 66 6f 2d  |3 Nov 97   Info-|
0000d780  5a 49 50 20 28 5a 69 70  2d 42 75 67 73 20 73 75  |ZIP (Zip-Bugs su|
0000d790  62 67 72 6f 75 70 2c 20  47 52 52 29 0a 20 20 20  |bgroup, GRR).   |
0000d7a0  20 20 20 20 76 35 2e 34  20 20 20 32 38 20 4e 6f  |    v5.4   28 No|
0000d7b0  76 20 39 38 20 20 20 49  6e 66 6f 2d 5a 49 50 20  |v 98   Info-ZIP |
0000d7c0  28 5a 69 70 2d 42 75 67  73 20 73 75 62 67 72 6f  |(Zip-Bugs subgro|
0000d7d0  75 70 2c 20 53 50 43 29  0a 20 20 20 20 20 20 20  |up, SPC).       |
0000d7e0  76 35 2e 34 31 20 20 31  36 20 41 70 72 20 30 30  |v5.41  16 Apr 00|
0000d7f0  20 20 20 49 6e 66 6f 2d  5a 49 50 20 28 5a 69 70  |   Info-ZIP (Zip|
0000d800  2d 42 75 67 73 20 73 75  62 67 72 6f 75 70 2c 20  |-Bugs subgroup, |
0000d810  53 50 43 29 0a 20 20 20  20 20 20 20 76 35 2e 34  |SPC).       v5.4|
0000d820  32 20 20 31 34 20 4a 61  6e 20 30 31 20 20 20 49  |2  14 Jan 01   I|
0000d830  6e 66 6f 2d 5a 49 50 20  28 5a 69 70 2d 42 75 67  |nfo-ZIP (Zip-Bug|
0000d840  73 20 73 75 62 67 72 6f  75 70 2c 20 53 50 43 29  |s subgroup, SPC)|
0000d850  0a 20 20 20 20 20 20 20  76 35 2e 35 20 20 20 31  |.       v5.5   1|
0000d860  37 20 46 65 62 20 30 32  20 20 20 49 6e 66 6f 2d  |7 Feb 02   Info-|
0000d870  5a 49 50 20 28 5a 69 70  2d 42 75 67 73 20 73 75  |ZIP (Zip-Bugs su|
0000d880  62 67 72 6f 75 70 2c 20  53 50 43 29 0a 20 20 20  |bgroup, SPC).   |
0000d890  20 20 20 20 76 35 2e 35  31 20 20 32 32 20 4d 61  |    v5.51  22 Ma|
0000d8a0  79 20 30 34 20 20 20 49  6e 66 6f 2d 5a 49 50 20  |y 04   Info-ZIP |
0000d8b0  28 5a 69 70 2d 42 75 67  73 20 73 75 62 67 72 6f  |(Zip-Bugs subgro|
0000d8c0  75 70 2c 20 53 50 43 29  0a 20 20 20 20 20 20 20  |up, SPC).       |
0000d8d0  76 35 2e 35 32 20 20 32  38 20 46 65 62 20 30 35  |v5.52  28 Feb 05|
0000d8e0  20 20 20 49 6e 66 6f 2d  5a 49 50 20 28 5a 69 70  |   Info-ZIP (Zip|
0000d8f0  2d 42 75 67 73 20 73 75  62 67 72 6f 75 70 2c 20  |-Bugs subgroup, |
0000d900  53 50 43 29 0a 20 20 20  20 20 20 20 76 36 2e 30  |SPC).       v6.0|
0000d910  20 20 20 32 30 20 41 70  72 20 30 39 20 20 20 49  |   20 Apr 09   I|
0000d920  6e 66 6f 2d 5a 49 50 20  28 5a 69 70 2d 42 75 67  |nfo-ZIP (Zip-Bug|
0000d930  73 20 73 75 62 67 72 6f  75 70 2c 20 53 50 43 29  |s subgroup, SPC)|
0000d940  0a 0a 49 6e 66 6f 2d 5a  49 50 20 20 20 20 20 20  |..Info-ZIP      |
0000d950  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 32  |               2|
0000d960  30 20 41 70 72 69 6c 20  32 30 30 39 20 28 76 36  |0 April 2009 (v6|
0000d970  2e 30 29 20 20 20 20 20  20 20 20 20 20 20 20 20  |.0)             |
0000d980  20 20 20 20 20 20 20 55  4e 5a 49 50 28 31 4c 29  |       UNZIP(1L)|
0000d990  0a                                                |.|
0000d991