home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / COMPRESS / BAB108A.ZIP / BAB.DOC next >
Encoding:
Text File  |  1989-08-28  |  4.0 KB  |  119 lines

  1.  
  2.  
  3.             BAB version 1.08
  4.              August 24, 1989
  5.  
  6.              Copyright 1989
  7.             Boston Business Computing
  8.  
  9.     BAB executable code+documentation may be freely
  10.     distributed for both commercial and private use
  11.     provided that it is not sold, licensed, or a fee
  12.     charged for its use.
  13.  
  14.  
  15.  
  16. BAB is short for "Babel" of biblical fame.  Its purpose is to provide
  17. a common interface for a number of archiving programs.  Essentially
  18. it provides a subset of functionality for such programs as ARC, ZIP,
  19. and PAK but does so using consistent command line arguments.
  20.  
  21. BAB determines the archive program to invoke by looking at the extension
  22. of the file provided as its second argument.  If no extension is specified,
  23. BAB goes through a list of extensions tacking one after another to the
  24. end of the filename, until a valid filename is found. If the filename
  25. still is not found "file.zip" is assumed.
  26.  
  27. Once the archiving method is determined from the filename, BAB decodes 
  28. its command line arguments into appropriate arguments for the archiver.
  29. These decoded arguments, the archive filename, and any other arguments
  30. (i.e. filenames) are then passed to the selected archiver for processing.
  31. If bab is passed only the archive filename, and nothing else, then the
  32. 'v' option is assumed.
  33.  
  34. BAB assumes the following programs are available somewhere in your PATH:
  35.  
  36.     PKZIP (v0.92)    - For Phil Katz's .ZIP file
  37.     PKUNZIP          type of archives
  38.     DWC   (vA5.01)    - For Dean Cooper's .DWC archives
  39.     ZOO   (v2.01)    - For Rahul Dhesi's .ZOO archives
  40.     LHARC (v1.14)    - For Haruyasu Yoshizaki's LHARC (.LZH) archives
  41.     PKPAK (v3.61)    - For Phil Katz's PKPAK (.ARC) and
  42.     PKUNPAK          SEA version 5 type of archives
  43.     PAK   (v1.6)    - For NoGate Consulting .PAK archives
  44.  
  45.  
  46. Defaults for the above Archivers:
  47. --------------------------------
  48.  
  49.     PKZIP        -ex4    (use maximum compression)
  50.     DWC        -z    (optimize for size)
  51.     ZOO        -P    (pack archive)
  52.     LHARC        /p    (allow precise comparison of filenames)
  53.  
  54. BAB is only as good as the archiver it invokes.  For instance, if the
  55. archiver does not allow recursive subdirectory scanning (the 'r' option)
  56. BAB will issue an error message if it is attempted.
  57.  
  58. Future Enhancements
  59. -------------------
  60.  
  61. Make BAB command arguments user configurable.
  62.  
  63. Make supported archiver programs user configurable.
  64.  
  65.  
  66. Edit History
  67. ------------
  68. Version 1.08 08/24/89
  69. Use 'l' option for LHARC when 'v' specified.  Problem with PKUNZIP when
  70. no options specifed for extract.
  71.  
  72. Version 1.07 08/01/89
  73. ICE support?  Hah, hah, hah.  Some funny guy modified lharc to make
  74. .ICE files.  This was not a real release, so support for '.ICE' is removed.
  75.  
  76. Version 1.06 07/28/89
  77. Add support for 'ICE' archiver (LHARC renamed).
  78. Make 'r' option work with .ZOO files.
  79. Force extensions on archive names for .LZH files so they work with ICE.
  80.  
  81. Version 1.05 05/08/89
  82. 'w' option not working correctly with LHARC.
  83.  
  84. Version 1.04 04/14/89
  85. 'r' was not storing full pathspec for LHARC.
  86.  
  87. Version 1.03 03/28/89
  88. Had 'w' and 'o' wrong for LHARC.
  89.  
  90. Version 1.02 03/27/89
  91. Correct handling of wildcard archive names.
  92. Use PKPAK and PKUNPAK to handle .ARC archives.
  93. Allow 'u' and 'm' to be specified in any order regardless of
  94. how the archiver wants them.
  95. Make command option identifier character configurable.
  96. Usually it is '-'.
  97.  
  98. Version 1.01 03/26/89
  99. Add LHARC support.  Extend generated archive arguments accordingly.
  100.  
  101. Version 1.00 03/18/89
  102. First stab.
  103.  
  104. Command format:
  105.  
  106. BAB <command>[[option]...]  <archive>  [<file> ...]
  107.  
  108.           Commands:                            Options:
  109.   a  Add files to archive           r| Record directory on add, use on extract
  110.   m* Move files to archive         o  Only extract files with newer dates
  111.   u  Update files to archive       w  Suppress warnings when overwriting files
  112.   f  Freshen files to archive      q  Suppress normal display messages
  113.   d  Delete files in archive
  114.   x  Extract files from archive
  115.   v  Verbose list of files
  116.  
  117. *The 'm' command may be mixed with [uf] only with ZIP, PKPAK, and ZOO
  118. |The 'r' command may only be used with DWC, ZIP, LHARC, and ZOO
  119.