I'm trying to access log files on different Novell Servers. Path is
<servername>\sys\arcserve.6\nwagent.txt
Here is the problem and why I'm trying to do this with Perl. The log
file is extensive, and is sorted by date.
Example line:
Aug-14 20:11:42 Job request from <SERVERNAME> @ <IP ADDRESS>(NetWare
Server)
This is the first line of the log from the last night. This is where I
want to start grabbing lines and appending them to another log. I've
tried using the localtime function to determine the date and pipe it to
a new variable that will read similar to "Aug-14" to begin my search of
the file (nwagent.txt) with. I'm beginning to get stuck there, then I'm
not sure how to open and read the file looking for and appending
everything (entire line) that matches that string.
Thanks in advance for any help or direction that can be given.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]