home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Education Master 1994 (4th Edition)
/
EDUCATIONS_MASTER_4TH_EDITION.bin
/
files
/
texttors
/
hsweed
/
hsweed.doc
< prev
next >
Wrap
Text File
|
1994-01-23
|
12KB
|
279 lines
HSWEED version 1.0 for DOS - Users Manual
All Rights Reserved including visual displays.
Huenefeld Software
P.O. Box 58321
Renton, Washington 98058
(206)-813-8665
Program Author - John S. Huenefeld
Introduction
This program works on pure ascii text files and will eliminate
lines that match those in a "weed" file. It is great in cutting the
chaff out of files created by recording, or doing screen captures of,
on-line sessions. I tried one of these programs from another
shareware author and decided to write my own. This program works in
either manual or automatic mode and shows you what it is doing.
FILES INCLUDED WITH HSWEED 1.0
HSWEED.EXE This is the program file.
HSWEED.DOC This is an ASCII version of this document.
HELP.EXE This file provides basic information and instructions
about the disk.
HSWEED.INI This is a sample file for automatic operation mode,
more details are given below under PROGRAM OPERATION.
OTHER FILES THAT WILL BE CREATED THROUGH USING HSWEED:
The only files that HSWEED will create are the ASCII text output
files. These files will be the results of the weeding process and
contain the cleaned up text. HSWEED allows you to name these files
any legal DOS file name.
HARDWARE REQUIREMENTS:
- PC/XT/AT or Clone
- DOS/MS-DOS 3.0 or higher
- 512k RAM Minimum - 640k Recommended
- 360k Floppy - Hard Drive Recommended
- 25x80 Monitor - B&W/MONO/COLOR
GETTING STARTED
Make a backup copy of the program disk sent with this
documentation and place it in a safe location if you wish to protect
your registered copy of HSWEED from loss or damage. HSWEED may be
installed onto your hard (if you have one) or run directly from a
floppy disk.
To install HSWEED onto a hard drive, place your HSWEED disk (or
the copy) into your floppy disk drive. Use a file management program
(like Dos Shell, Xtree, etc.), or the DOS "COPY" command to place the
file "HSWEED.EXE" into the same directory where you will be working
with the text files that you wish to weed. If you prefer, HSWEED may
be placed into a "UTILITY" directory. In either case, HSWEED should
be in a directory that is included in the PATH statement in your
AUTOEXEC.BAT file.
To view the contents of your AUTOEXEC.BAT file from the DOS
prompt type "TYPE AUTOEXEC.BAT" then press enter.
To use the COPY command to install HSWEED.EXE refer to the
following example.
COPY A:\HSWEED.* C:\UTILITY\HSWEED.*
PROGRAM OPERATION
HSWEED runs in two modes, automatic and manual. To run HSWEED in
automatic mode just type "HSWEED" from the dos prompt or put HSWEED as
a line in a batch file. To run HSWEED in manual mode type "HSWEED /M"
from the dos prompt or put HSWEED /M as a line in a batch file.
AUTOMATIC MODE
When HSWEED runs in automatic mode, it looks for the file
"HSWEED.INI". HSWEED.INI is a three line ASCII text file that
contains file names or full path names IN THIS ORDER ; the INPUT file,
the WEEDS file and the OUTPUT file . You can use EDIT, EDLIN or any
ASCII text editor to customize this file to your needs.
If any file is missing from HSWEED.INI you will be prompted to
supply a file name. This can be handy. For example, if you always
use the same INPUT and WEEDS file but like to provide a new OUTPUT
file name each time, simply leave the third line blank in HSWEED.INI.
Once the program has the correct INPUT, WEEDS, and OUTPUT file
names, it takes each line of text from the INPUT file and compares it
to each line of text in the WEEDS file. If the INPUT file line does
not match any line of the WEEDS file it is written to the OUTPUT file.
If a match is found the line is omitted from the OUTPUT file. Neither
the INPUT file nor the WEEDS file are altered. The OUTPUT file will
contain the cleaned up text. NOTE: If there is an existing file with
the same name and path as the OUTPUT file, it will be over written.
As the program runs it will display on the screen which line of
the INPUT file it is currently checking and which line of the WEEDS
file it is checking it against. It also keeps a running count of how
many good lines it has copied into the OUTPUT file and how many lines
have been weeded.
MANUAL MODE
Manual mode works the same way as automatic mode except you will
be prompted to supply the names or the full path names for the INPUT
file, the WEEDS file and the OUTPUT file. The contents of HSWEED.INI
will be ignored.
FILE NAMES
Any legal DOS file name or full DOS path name may be used to
identify the INPUT, OUTPUT, and WEEDS files. This is true when either
listing the files in the HSWEED.INI file or when keying in the file
names as prompted. However, HSWEED will not accept any file names
with a standard extension that represents a non ASCII or batch file
like ".EXE", ".SYS", ".COM", ".BAT" and several more. This will help
protect these files from being altered by HSWEED (INPUT and WEEDS
files are not altered). Unpredictable results could happen if a non
ASCII file is specified for either the INPUT or the WEEDS file.
THE INPUT FILE
The input file can be any ASCII text file that contains unwanted
lines. Usually these files are auto-log records of on line sessions,
screen captures, or E-Mail down loads. If you commonly use auto-log
files or down load E-Mail you may wish to set up your system so that
these files always have the same name like "NEWMAIL.DOC".
THE WEEDS FILE
This is an ASCII file of sample lines that you want to have
HSWEED extract from the INPUT file. The easiest way to create this
file is to edit a typical INPUT file and delete every thing EXCEPT the
garbage. Then save the garbage under the name of your WEEDS file (I
use WEEDS.TXT). You can then continually build up your WEEDS file by
adding any new sample line you may happen to encounter.
HSWEED allows the use of the "*" symbol as a wild card in a
sample line so that you can have lines with some variability weeded.
For example, if there is a line that you don't want that contains time
or date information, replace each character of the time or date with
"*".
EXAMPLE, The weed line:
FAA Weather Synopsis for 02/23/1993 10:35 AM
Becomes:
FAA Weather Synopsis for **/**/**** **:** **
Now any line matching this one will be weeded no matter what the
time and date values are.
THE OUTPUT FILE
The OUTPUT file will be an ASCII text file that has the file name
or full path name that you specify. One of the nice things about
being able to specify a full path name is that you could possibly run
HSWEED from a UTILITY directory to weed an INPUT file on drive A:
using a WEEDS file in your word processor directory on drive C: and
have it create an OUTPUT file in a sub directory on drive B:!
SUPPORT
This program should be fairly straight forward and easy to use.
If you have problems with set up or installation, I will be glad to
assist you if you call the number at the top of this document Monday
thru Friday between the hours of 9:00 AM and 5:00 PM CST. Thank you
for using our software.
******************************************************************************
**********************************
* HSWEED REGISTRATION FORM *
**********************************
PLEASE ENTER THE FOLLOWING INFORMATION:
1. NAME: ___________________________________________________________
2. ADDRESS: ________________________________________________________
________________________________________________________
________________________________________________________
3. HOW DID YOU OBTAIN YOUR COPY OF HSWEED? _________________________
____________________________________________________________________
4. WHAT TYPE OF COMPUTER DO YOU HAVE? ______________________________
____________________________________________________________________
5. ANY PROBLEMS OR SUGGESTIONS YOU HAVE: ___________________________
____________________________________________________________________
____________________________________________________________________
6. WHAT OTHER TYPES OF PROGRAMS DO YOU LIKE TO USE? ________________
____________________________________________________________________
____________________________________________________________________
PLEASE ENCLOSE $10 FOR THE LATEST UPDATE TO THE ADDRESS LISTED BELOW:
( MAKE CHECKS PAYABLE TO: JOHN HUENEFELD - OR - HUENEFELD SOFTWARE )
HUENEFELD SOFTWARE
P.O. BOX 58321
RENTON, WA 98058 USA
THANK YOU FOR REGISTERING AND USING OUR SOFTWARE!
MEDIA PREFERENCE
_________ 5.25 INCH DISK _________ 3.5 INCH DISK
_________ CHECK HERE IF INTERESTED IN A LIST OF OUR OTHER PRODUCTS.
******************************************************************************
ABOUT SHAREWARE
Shareware is a concept that was started to help individual programmers
get their software into circulation with as little expense as possible.
Programmers place trial copies of their software onto BBS systems, with
Shareware catalog vendors, or just give them away hoping that they will be
passed along and seen by to a large number of computer users.
The more reputable shareware programs are fully functional versions of
the "released" or "registered" versions. It is left up to the honesty of
the user whether or not to register. There are usually some benefits to
registration. First of all it is the right thing to do. Second, if the
program is good the author should be compensated for the effort or writing
it so that he will be able to create more good programs for those who would
rather use software than write it. Other benefits include printed users
manuals, program support, and a clear conscience. Also, in general, the
registered versions are continually updated and will have more features and
fewer bugs than the shareware trial programs.
This software product is distributed as "shareware". You may try the
program out at no charge and distribute complete and unaltered copies for
evaluation or use by others. If you are still using it after 60 days,
you must pay a licensing fee. The HSWEED program itself will provide
you with a registration form and details.