Short:    V2.0 - Keeps updated your Aminet INDEX
Author:   mc4948@mclink.it (Adriano De Minicis)
Uploader: mc4948@mclink.it (Adriano De Minicis)
Version:  2.0
Type:     util/misc
Replaces: util/misc/MergeRec.lha

MergeRec v2.0 * 25-Jan-96 * CARDWARE
************************************

Introduction
************

MergeRec updates your local copy of the Aminet "INDEX" file by merging
the recent uploads from a "RECENT" file, "aminet-weekly" or "aminet-daily"
mailing list.

The index produced by MergeRec is sorted, and has the 'Age' column correctly
updated.

With MergeRec you can use the RECENT file downloaded from a ftp site, or the
e-mailed aminet-weekly/daily recent uploads list, without manually removing
the extraneous lines (header and/or other messages) in the input file.
MergeRec automatically extract the RECENT list(s) from your mailbox file.
It accepts multiple recents (daily/weekly) and it don't cares if the lines
end with LF or CR+LF.

You can also save (or append) the extracted RECENT to a file. This option
is useful if you want to use GadMget or share the file with users if you
run a bbs, for example.

Another option compares the RECENT file to your INDEX, and saves to a file
those entries that are really new uploads. This option is useful especially
for the aminet-daily mailing list, that frequently contains entries that
were 'recent' a few days before.

Changes from v1.1
*****************

- Removed the limit of one recent per input file. Now you can give a file
  with multiple recents (typically the daily-recents).

- Save (or append) the extracted RECENT (sorted or not) to a file.
  If multiple recents are found they can be merged together.

- Compare the RECENT file to your INDEX, and save to a file those entries
  that are really new uploads.

- Replace the old index with the new (you don't have to manually delete
  the old index and rename the new)

Bugs/problems fixed:

- If the Workbench was localized with a non-english language, MergeRec
  didn't read the dates in the headers (unless the month name was 
  translated to the preset language).

- The age column was not updated correctly (if you updated the index after
  less than a week, the age remained always unchanged). Now the age column
  is always correct (with a tolerance of +/- 1 week), even if you update
  daily the index.

- There was a bug in the sort routine (it was the MergeRecent routine buggy):
  the first entry of a recent was not sorted.

- Better recognition of end of recent list.

THE TEMPLATE IS CHANGED.

Requirements
************

MergeRec requires WB 2.04 (Kickstart V37) or higher.


============================= Archive contents =============================

Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
    1233     591 52.0% 25-Jan-96 18:06:10  MergeRec2.0.info
    1233     597 51.5% 25-Jan-96 17:12:04 +E-Source.info
   15623    5546 64.5% 25-Jan-96 16:23:16 +MergeRec.e
    1396     509 63.5% 30-Dec-95 23:14:34 +MergeRec.e.info
    1233     595 51.7% 25-Jan-96 17:12:02 +Examples.info
    4829    1662 65.5% 25-Jan-96 00:53:02 +Daily
     827     488 40.9% 25-Jan-96 16:41:28 +index
    1396     510 63.4% 24-Jan-96 23:39:54 +index.info
    6597    2197 66.6% 25-Jan-96 16:18:34 +mbox_rec
    1396     509 63.5% 30-Dec-95 23:14:36 +mbox_rec.info
    2014    1089 45.9% 25-Jan-96 16:42:30 +new_index
    1396     511 63.3% 30-Dec-95 23:14:38 +new_index.info
    1512     855 43.4% 25-Jan-96 16:46:32 +saved_rec
    1396     511 63.3% 30-Dec-95 23:14:36 +saved_rec.info
   26154    8923 65.8% 25-Jan-96 17:07:02 +MergeRec.guide
    1857     977 47.3% 01-Jan-96 23:34:46 +MergeRec.guide.info
    1233     591 52.0% 25-Jan-96 17:11:58 +Program.info
   10828    5039 53.4% 25-Jan-96 16:23:16 +mergerec
-------- ------- ----- --------- --------
   82153   31700 61.4% 27-Jan-96 05:05:50   18 files
