Originally posted by: SystemAdmin
Hello guys,
I have a file called "myFile.log" , the file contains system logs with the dates...Now...I want my script
to open up the file and search for a specific date for example (05-11-2007) and when it find the date, copies the rest of file into
another file. Here is an example
MYFile.log contains:
<hr />
scripts running on suday
Script running on monday
.
.
Script running on 05-11-200
Testing
testing
<hr />
Now I want to create a newFile which contains only
<hr />
Script running on 05-11-200
Testing
testing
<hr />
Not sure if my question is clear enough or not...plz let me know so I can explain it more.
#AIX-Forum