home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / misc / volume31 / unzip50 / part14 < prev    next >
Encoding:
Text File  |  1992-08-22  |  3.8 KB  |  106 lines

  1. Newsgroups: comp.sources.misc
  2. From: zip-bugs@cs.ucla.edu (Info-ZIP group)
  3. Subject:  v31i117:  unzip50 - Info-ZIP portable UnZip, version 5.0, Part14/14
  4. Message-ID: <1992Aug24.025855.25421@sparky.imd.sterling.com>
  5. X-Md4-Signature: 7a6fe84598fc50477a18bc9d38c4080b
  6. Date: Mon, 24 Aug 1992 02:58:55 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: zip-bugs@cs.ucla.edu (Info-ZIP group)
  10. Posting-number: Volume 31, Issue 117
  11. Archive-name: unzip50/part14
  12. Supersedes: unzip: Volume 29, Issue 31-42
  13. Environment: UNIX, VMS, OS/2, MS-DOS, MACINTOSH, WIN-NT, LINUX, MINIX, COHERENT AMIGA?, !ATARI, symlink, SGI, DEC, Cray, Convex, Amdahl, Sun
  14.  
  15. #! /bin/sh
  16. # This is a shell archive.  Remove anything before this line, then feed it
  17. # into a shell via "sh file" or similar.  To overwrite existing files,
  18. # type "sh file -c".
  19. # The tool that generated this appeared in the comp.sources.unix newsgroup;
  20. # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
  21. # Contents:  MSDOS/tcc/zipinfo.prj OS2/unzip.def OS2/zipinfo.def zip.h
  22. # Wrapped by kent@sparky on Sun Aug 23 21:09:37 1992
  23. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  24. echo If this archive is complete, you will see the following message:
  25. echo '          "shar: End of archive 14 (of 14)."'
  26. if test -f 'MSDOS/tcc/zipinfo.prj' -a "${1}" != "-c" ; then 
  27.   echo shar: Will not clobber existing file \"'MSDOS/tcc/zipinfo.prj'\"
  28. else
  29.   echo shar: Extracting \"'MSDOS/tcc/zipinfo.prj'\" \(83 characters\)
  30.   sed "s/^X//" >'MSDOS/tcc/zipinfo.prj' <<'END_OF_FILE'
  31. Xzipinfo.c    (unzip.h)
  32. Xmatch.c        (unzip.h)
  33. Xmisc.c        (unzip.h)
  34. Xenvargs.c       (unzip.h)
  35. END_OF_FILE
  36.   if test 83 -ne `wc -c <'MSDOS/tcc/zipinfo.prj'`; then
  37.     echo shar: \"'MSDOS/tcc/zipinfo.prj'\" unpacked with wrong size!
  38.   fi
  39.   # end of 'MSDOS/tcc/zipinfo.prj'
  40. fi
  41. if test -f 'OS2/unzip.def' -a "${1}" != "-c" ; then 
  42.   echo shar: Will not clobber existing file \"'OS2/unzip.def'\"
  43. else
  44.   echo shar: Extracting \"'OS2/unzip.def'\" \(98 characters\)
  45.   sed "s/^X//" >'OS2/unzip.def' <<'END_OF_FILE'
  46. XNAME UnZip WINDOWCOMPAT NEWFILES
  47. XDESCRIPTION 'The world-famous unarchiving utility from Info-ZIP'
  48. END_OF_FILE
  49.   if test 98 -ne `wc -c <'OS2/unzip.def'`; then
  50.     echo shar: \"'OS2/unzip.def'\" unpacked with wrong size!
  51.   fi
  52.   # end of 'OS2/unzip.def'
  53. fi
  54. if test -f 'OS2/zipinfo.def' -a "${1}" != "-c" ; then 
  55.   echo shar: Will not clobber existing file \"'OS2/zipinfo.def'\"
  56. else
  57.   echo shar: Extracting \"'OS2/zipinfo.def'\" \(95 characters\)
  58.   sed "s/^X//" >'OS2/zipinfo.def' <<'END_OF_FILE'
  59. XNAME ZipInfo WINDOWCOMPAT NEWFILES
  60. XDESCRIPTION 'Great gobs of interesting info about zipfiles'
  61. END_OF_FILE
  62.   if test 95 -ne `wc -c <'OS2/zipinfo.def'`; then
  63.     echo shar: \"'OS2/zipinfo.def'\" unpacked with wrong size!
  64.   fi
  65.   # end of 'OS2/zipinfo.def'
  66. fi
  67. if test -f 'zip.h' -a "${1}" != "-c" ; then 
  68.   echo shar: Will not clobber existing file \"'zip.h'\"
  69. else
  70.   echo shar: Extracting \"'zip.h'\" \(330 characters\)
  71.   sed "s/^X//" >'zip.h' <<'END_OF_FILE'
  72. X/* This is a dummy zip.h to allow crypt.c from Zip to compile for unzip */
  73. X
  74. X#include "unzip.h"
  75. X#define SKIP_TIME_H   /* don't include time.h again in crypt.c */
  76. X
  77. X#define local
  78. Xtypedef unsigned short ush;
  79. Xtypedef unsigned long ulg;
  80. X
  81. Xextern ULONG crc_32_tab[];
  82. X#define crc32(c, b) (crc_32_tab[((int)(c) ^ (b)) & 0xff] ^ ((c) >> 8))
  83. END_OF_FILE
  84.   if test 330 -ne `wc -c <'zip.h'`; then
  85.     echo shar: \"'zip.h'\" unpacked with wrong size!
  86.   fi
  87.   # end of 'zip.h'
  88. fi
  89. echo shar: End of archive 14 \(of 14\).
  90. cp /dev/null ark14isdone
  91. MISSING=""
  92. for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 ; do
  93.     if test ! -f ark${I}isdone ; then
  94.     MISSING="${MISSING} ${I}"
  95.     fi
  96. done
  97. if test "${MISSING}" = "" ; then
  98.     echo You have unpacked all 14 archives.
  99.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  100. else
  101.     echo You still must unpack the following archives:
  102.     echo "        " ${MISSING}
  103. fi
  104. exit 0
  105. exit 0 # Just in case...
  106.