home *** CD-ROM | disk | FTP | other *** search
-
-
- BAB version 1.08
- August 24, 1989
-
- Copyright 1989
- Boston Business Computing
-
- BAB executable code+documentation may be freely
- distributed for both commercial and private use
- provided that it is not sold, licensed, or a fee
- charged for its use.
-
-
-
- BAB is short for "Babel" of biblical fame. Its purpose is to provide
- a common interface for a number of archiving programs. Essentially
- it provides a subset of functionality for such programs as ARC, ZIP,
- and PAK but does so using consistent command line arguments.
-
- BAB determines the archive program to invoke by looking at the extension
- of the file provided as its second argument. If no extension is specified,
- BAB goes through a list of extensions tacking one after another to the
- end of the filename, until a valid filename is found. If the filename
- still is not found "file.zip" is assumed.
-
- Once the archiving method is determined from the filename, BAB decodes
- its command line arguments into appropriate arguments for the archiver.
- These decoded arguments, the archive filename, and any other arguments
- (i.e. filenames) are then passed to the selected archiver for processing.
- If bab is passed only the archive filename, and nothing else, then the
- 'v' option is assumed.
-
- BAB assumes the following programs are available somewhere in your PATH:
-
- PKZIP (v0.92) - For Phil Katz's .ZIP file
- PKUNZIP type of archives
- DWC (vA5.01) - For Dean Cooper's .DWC archives
- ZOO (v2.01) - For Rahul Dhesi's .ZOO archives
- LHARC (v1.14) - For Haruyasu Yoshizaki's LHARC (.LZH) archives
- PKPAK (v3.61) - For Phil Katz's PKPAK (.ARC) and
- PKUNPAK SEA version 5 type of archives
- PAK (v1.6) - For NoGate Consulting .PAK archives
-
-
- Defaults for the above Archivers:
- --------------------------------
-
- PKZIP -ex4 (use maximum compression)
- DWC -z (optimize for size)
- ZOO -P (pack archive)
- LHARC /p (allow precise comparison of filenames)
-
- BAB is only as good as the archiver it invokes. For instance, if the
- archiver does not allow recursive subdirectory scanning (the 'r' option)
- BAB will issue an error message if it is attempted.
-
- Future Enhancements
- -------------------
-
- Make BAB command arguments user configurable.
-
- Make supported archiver programs user configurable.
-
-
- Edit History
- ------------
- Version 1.08 08/24/89
- Use 'l' option for LHARC when 'v' specified. Problem with PKUNZIP when
- no options specifed for extract.
-
- Version 1.07 08/01/89
- ICE support? Hah, hah, hah. Some funny guy modified lharc to make
- .ICE files. This was not a real release, so support for '.ICE' is removed.
-
- Version 1.06 07/28/89
- Add support for 'ICE' archiver (LHARC renamed).
- Make 'r' option work with .ZOO files.
- Force extensions on archive names for .LZH files so they work with ICE.
-
- Version 1.05 05/08/89
- 'w' option not working correctly with LHARC.
-
- Version 1.04 04/14/89
- 'r' was not storing full pathspec for LHARC.
-
- Version 1.03 03/28/89
- Had 'w' and 'o' wrong for LHARC.
-
- Version 1.02 03/27/89
- Correct handling of wildcard archive names.
- Use PKPAK and PKUNPAK to handle .ARC archives.
- Allow 'u' and 'm' to be specified in any order regardless of
- how the archiver wants them.
- Make command option identifier character configurable.
- Usually it is '-'.
-
- Version 1.01 03/26/89
- Add LHARC support. Extend generated archive arguments accordingly.
-
- Version 1.00 03/18/89
- First stab.
-
- Command format:
-
- BAB <command>[[option]...] <archive> [<file> ...]
-
- Commands: Options:
- a Add files to archive r| Record directory on add, use on extract
- m* Move files to archive o Only extract files with newer dates
- u Update files to archive w Suppress warnings when overwriting files
- f Freshen files to archive q Suppress normal display messages
- d Delete files in archive
- x Extract files from archive
- v Verbose list of files
-
- *The 'm' command may be mixed with [uf] only with ZIP, PKPAK, and ZOO
- |The 'r' command may only be used with DWC, ZIP, LHARC, and ZOO
-