home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
BBS
/
JLUT475.ZIP
/
HLP.LZH
/
CF.HLP
< prev
next >
Wrap
Text File
|
1991-04-07
|
3KB
|
78 lines
┌─────────────────────────┐
│ Option: CF CLEAN FILE │
└─────────────────────────┘
┌─Explanation────────────────────────────────────────────────────────────────┐
└────────────────────────────────────────────────────────────────────────────┘
Have you ever had the problem to clean your LogFiles ? Here
i want to show you a option, which is doing a fine job. It
kills these lines in your LogFiles, you have specified in another
File.
This option cleans files like GT.LOG, GBAG.LOG, GTNET.LOG, JL.LOG
and any other TextFile. The interessting thing is, that you can
specify in a seperate file, which lines in the LOG File should be
deleted and so you have the biggest possible influence, how the
cleaned LogFile will look. Of course, you can run this option daily,
but perhaps you want to run it only one time per week or per month.
Perhaps you want to delete only a few lines within the LogFile or
perhaps you want to save only the important things. With this option
you are the boss, which things are important enough to be saved, and
you can be sure to save a lot of diskspace.
If you are setting up the File, which contains the line, which should
be killed, you should remember the importance of Spaces. This option
doesn't kill spaces at the beginning and at the end of a line and it
kills the line in the LogFile only, if this String - including all
Spaces - is a part of the line in the LogFile.
┌─Syntax─────────────────────────────────────────────────────────────────────┐
└────────────────────────────────────────────────────────────────────────────┘
JLUTIL /CF File_1, File_2 [-Switches]
┌─Switch──────Description────────────────────────────────────────────────────┐
└────────────────────────────────────────────────────────────────────────────┘
-U CaseInsensitive search (UpperCase).
┌─Parameter───Description────────────────────────────────────────────────────┐
└────────────────────────────────────────────────────────────────────────────┘
File_1 File to clean like GT.LOG, GTNET.LOG or JL.LOG
File_2 File, which contains the lines, which should be deleted
within File 1.
┌─Examples───────────────────────────────────────────────────────────────────┐
└────────────────────────────────────────────────────────────────────────────┘
JLUTIL /CF GTNET.LOG,GTNETLOG.DEL -U
JLUTIL /CF JL.LOG,JLLOG.DEL -U
JLUTIL /CF GT.LOG,GTLOG.DEL -U
│
└> JLUTIL reads GT.LOG and deletes all lines, which are
specified in GTDEL.LOG. Because we used the -U Switch,
the search isn't casesensitive. And here is the contents
of my GTDEL.LOG:
┌─GTDEL.LOG──────────────────────────┐
│ NO CARRIER │
│ ; TIME LIMIT │
│ BAD PASSWORD: │
│ SCHD: │
│ ; CARRIER LOSS │
│ ; Daily Routines: Finished │
│ PAGE NOT ANSWERED │
│ ; TIMEOUT │
│ ; TIME LIMIT │
│ ; BOOTING │
│ PAGE REASON: │
└────────────────────────────────────┘