ANNOUNCE: Ytsg4 HTML output, .9x and .8x Yarn file types

From: Rick Curry (trindflo@fishnet.net)
Date: Wed, 21 Jan 1998 00:37:13 -0800

ytsg has been updated and has been uploaded to:

ftp://hobbes.nmsu.edu/pub/incoming/ytsg4.zip

The requested directory for it to finally end up in is:

Proposed directory for placement: /pub/os2/apps/internet/mail/util

There are many changes in this new version:

- Now handles version .9x Yarn news files.
- Actual regular expressions have been added.
- Search capabilities have been greatly enhanced.
- HTML output has been added.
- Wildcards in the filenames should make it much easier to use.
- Output is now sorted by the date field in the header.
- Some parts have been sped up a lot (although I found a big
slowdown during testing when many input files must be sorted).
- Dos version has been dropped.

SUMMARY:

This program can translate/copy Yarn news files into soup offline
reader format. This was initially is intended to allow cleanup of a
corrupted Yarn newsbase. It can also be used as a CGI-BIN to search
Yarn files from the net.

INBOX and folder files can also be processed by ytsg.

Command line summary (normal usage):

Usage: ytsg [-{BFHNPSW}[{\:!}]str] [-D{SE}date] [-{GL}n] [-{QUX}] [-Oh] File[s]
-{BFHNPSW}:str - Search the Body,From,Header,Newsgroups,Path,Subject or Whole
message for 'str' and disqualify a message which fails any. Default str=*
'str' may start with \, :, and/or ! (order is important). \ causes case
insensitive matching, : causes str to be interpreted as a regular expression
If : not used, ! negates str (absence of str). e.g. -s\:[[(][0-9]+/[0-9]+[)]]
Multiple search criteria are allowed, but only one per field

-D{SE}: Dates (start/end) to include in output as YYYYMMDD e.g. -DS:19970225
-G Messages with more bytes are disqualified. Default is 0 (disabled).
-L Logging threshold: a lower value decreases # of logs, default is 400
-Oh Output links in html to message location for later retrieval
-Q Silence as much of the work messages as possible
-U Scan "unused" (deleted) messages as well
-X Show the hex offset of each selected messages

Notes: Switches are not case sensitive (-DS: = -dS:). Default search is case
sensitive: it is faster. Date algorithm is fairly simple and when it gets
confused it allows the date. Start date 23 Jan 2002 = -Ds:20020123.
Dates may have form '-Ds-nnn' where nnn is # of days before today.
Usually a space can separate the switch letter and it's associated value.
A value is required for all switches which accept a value (no defaults).
Path field will match either Path: or Return-Path:. STDIN not allowed.
Files can be .8x or .9x Yarn data and wildcards permitted in filename(s).
Search fields are only tested against the first 64K bytes of a message.

--
                                                  -Rick Curry (Team OS/2)
GCS/M/S d? s+:+ a C++++$ UL- P? L+ E---- W- N++(*) K? !w--- O+++ M@ V+++@ PS++
PE+ Y+ PGP t@ 5++ X- R* tv+ b++ DI+ D+ G e++ h++ r+++ y+++       v3.0