home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sources / misc / 3867 < prev    next >
Encoding:
Text File  |  1992-08-23  |  4.0 KB  |  112 lines

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