home *** CD-ROM | disk | FTP | other *** search
-
- MJoin V1.1
- © 1995 by Harald Löffler
-
- PREFACE
-
- The programs and files in this distribution are freely distributable,
- but are also Copyright © Harald Löffler. They may be freely distributed
- as long as no more than a nominal fee is charged to cover time and
- copying costs. No commercial usage is permitted without written permission
- from the author. Everything in this distribution must be kept together, in
- original unmodified form. The only thing I ask for is to send me a mail and
- tell me, what you think about MJoin.
- The above is generally known as mailware.
-
-
-
- 1. Introduction
- ---------------
-
- For all those that frequently have to join files with a similar basename,
- probably splitted by MSplit (or some other stuff like bsplit, split etc.:-[),
- I´ve written this little tool. It can do this job in a very easy way.
- Hope ya like it ;-)
-
-
-
- 2. Installation
- ---------------
-
- Just copy MJoin to your C: directory and the doc to your favourite DOC-dir.
- That´s all.
-
-
-
- 3. How to use it
- ----------------
-
- The easiest way is this one: MJoin basename.foo*
-
- This will join all files beginning with basename.foo followed by a number.
- Using MJoin this way will join all files from number 0 on until the following
- file doesn´t exist anymore, e.g. You have basename.foo0, basename.foo1 and
- basename.foo3, only the first two files will be joined.
- In other purposes you have to use the various parameters.
-
-
-
- 4. The parameters
- -----------------
-
- The general form is:
-
- MJoin <basename> [FROM start] [UPTO end] [AS newname]
- [NOFRAC|NULL|QUIET|FORCE|ADD]
-
- In V1.1 (now) you have to place the wildcard-sysmbol * at the position the
- numbers have to appear in the filenames.
- E.g. if files like abc1def, abc2def, .. should be joined, the basename should
- be like this: abc*def
-
- FROM means the first number to search for, analogous means UPTO the last
- number to join. If you use the UPTO Parameter MJoin will go on until this number
- is reached, even if some files do not exist. If you want MJoin to stop in that
- case you have to use NOFRAC. This causes MJoin to stop at the first non existing
- file in the row.
-
- With AS you can specify a name for the file that will be created, if not the
- basename (without the number of course) will be used. If the AsName allready
- exists a warning will be displayed and you can use FORCE to overwrite it.
-
- ADD allows you to append an existing file.
-
- The QUIET option forces MJoin to stop all printouts unless there is something
- wrong with the parameters.
-
- The NULL option is something special. If you use bsplit, you get files in the
- following form: 00 01 02 03 ... 10 11 ... and so on. This files do not have a
- real basename. Thus if you choose the NULL-Parameter you can join them by using
- the * as basename. But you have to specify an AsName for them.
-
-
-
- 5. DISCLAIMER
- -------------
-
- This program is released as is. No warranty on any damage or misfunction.
- Use it or kick it.
-
-
-
- 6. Author, bugs, to do´s, etc.
- -----------------------------
-
- First of all I want to say that I´m very sorry about uploading the wrong
- doc with the last version.
-
- Stuff I want to do in future: Tell me what you want!
-
- I´ve included the source, so you can easily port it to any platform, that
- supports ANSI-C. The only thing you have to do is delete the following lines
-
- #include <exec/types.h> /* BOOL etc. Type-Definitions */
- #include <dos/dos.h> /* Definition of RETURN_FAIL etc. */
-
- and add this ones
-
- #define BOOL int
- #define TRUE (0 == 0)
- #define FALSE (0 == 1)
- #define RETURN_OK 0
- #define RETURN_WARN 5
- #define RETURN_ERROR 10
- #define RETURN_FAIL 20
-
- Maybe you have to replace the Umlaut in my name (sorry, but AMIGAs have no
- problems with this ;-)
-
-
- If you have found some of this ugly bugs :( , want to make some suggestions :)
- or tell me :-) something else, write to:
-
- ----------------------------------------------------------------------------------
- | _/ _/ _/ | Harald Loeffler | __o |
- | _/ _/ _/ | Schenkenbergstrasse 12 | _`\<; | If possible,
- | _/_/_/_/ _/ | 73733 Esslingen | (*)/(*) | please use
- | _/ _/ _/ | Tel: (07 11) 32 41 93 | MT-BIKE | e-mail!
- | _/ _/ _/_/_/_/ | E-Mail: harry@studbox.uni-stuttgart.de | forever ! |
- ----------------------------------------------------------------------------------
-
- You think MS-WINDOWS ist the longest bug overall?
-
- There will always be an update, so wait for WINDOWS 95!
-