NUKE v1.1
                              Short Text File
                        Written by Michael MacDonald
                                 09/09/90
                               rev 02/26/91

NUKE is a compiled clipper PRG program. It is 'freeware'. No fee is expected
or will be accepted. (Well, maybe that's going a little too far. Let's call it
'You Be the Judge Ware' By this I mean, it's free, do whatever you like with
it. You're under no obligation, legally or morally to pay me anything for it.
But, hey, I'm human. If you feel so inclined, I'm not going to tear up the
check.) It's purpose is to check RoboComm's NEWFILES.DBF (the database that
keeps track of new files on the BBS's you call) for strings of text that you
input, then mark as deleted any matches it finds. It will first ask if you
want to search the filename field. For instance, if you want to delete all
files with an extension of GIF, you would input '.GIF'. Note the period. With
it, NUKE would bypass filenames like VIEWGIF.ZIP. If you wanted that file to
be picked up as well, you would not use the period in the text you input. NUKE
searches for the occurrence of the text anywhere in the filename. ie
BTM2GIF3.ZIP or GIF2BTM.ZIP or GIRL.GIF would all get picked up by the 'GIF'
input.

NUKE will then ask you if you want to search the description field. Here is
where you would input 'game' to delete all files with the word 'game' in their
descriptions. Or input 'window' to get files with the word 'window' in the
description. Be careful here. For instance, if you input 'win' NUKE will
delete a file with the word 'shoWINg' in the description. Use as much text as
you think you can. ie, To delete Windows programs, use 'window' as the input,
or 'win3' vs using 'win'. NUKE may miss a few this way, but the chance of
'false hits' will be greatly reduced. You can input the text in upper or lower
case, or even a combination if you were so inclined. NUKE will automatically
take care of searching for all the combinations that may occur. ie, If you
input 'window', NUKE will search for 'WINDOW, window, or Window'.

A final note. NUKE is thorough, but may not find every occurrence of the
string you input. For instance, in Robo ver 3.0 the description field it
searches contains only the first 45 characters of the file description. The
2,3,4, etc lines of the file description are stored in a separate file.
(ROBOCOMM.DBV) To be honest with you, I'm not sure how to search that dang
thing. Almost 100% of the time, I have found that the 'key' text is contained
in the first 45 characters. ie, If a program is a game, the word 'game' is
usually there. If a program is for use under Windows, you'll find the word
'Windows' or 'Win' almost immediately.

NUKE can reside anywhere, but you must be in the directory where you keep your
RoboComm files when you invoke it. The source code has been included for any
Clipper users that wish to play with it.


UPDATE ver 1.1

NUKE will now allow command line parameters. They must be entered as follows
'NUKE /f<text> /d<text>' where f=filename and d=description and <text>= the
text to search for. If you want to search both the filename AND description,
you MUST enter the filename parameter first. The input is not case sensitive,
you can use upper or lower. NUKE will now search the entire description for
the text you input. At least in version 2.0 it will. Robo 3.x changed the way
it handles those extra lines of description, and I haven't taken the time to
figure out how to deal with it. Also, NUKE will now write the names of the
files it marks as deleted to a text file called DELETED.FIL.(This is the same
file DUP will write to.) Here again, with Robo ver 3.x, you'll only see the
first line of the description in there. At the same time it will 'tag' the
files it marks as deleted. What this means is, in addition to being able to
view the files marked deleted in the text file, you can also view them in
Robo, sorted together. To do this in ver 2.0, press the 'S' key until you're
sorted on BBS, then press CNTL/PGDN to jump to the bottom of the list. Here
you'll see all the files NUKE marked as deleted, sorted by filename. The other
files, the one's not marked as deleted, will be sorted as they should be, on
BBS ID. In Robo ver 3.x, there is a sort key called 'Tagged'. Just press 'S'
until the filenames are sorted on 'Tagged' then press CNTL/PGDN as before, and
all the deleted files will be at the bottom of the list, lumped together.
Another change I made is NUKE only searches through the database once. It will
ask for the input for the filename search, then the description search, then
off it goes. The first release of this utility searched after each input. NUKE
also will not prompt you to PACK and reindex the database. You can do that
with PACK, or let Robo handle it.

                              Michael MacDonald
                            15509 183rd  Place NE
                            Woodinville, WA 98072