Here is a sample of the log.txt file I want to extract from. Where 20020126 is the date in yyyy/mm/dd format which of course changes every day. I suppose I would key in on the beginning of each line to tell the script what portion of the log to xtract to a new file.20020126 050633 [CAT] 5/21/00 9:41 AM [ID:80D7,SESSION:2] is merged.(files=105)
20020126 050633 [CAT] 5/21/00 9:41 AM [ID:80D7,SESSION:3] is merged.(files=1)
20020126 050633 [CAT] 5/21/00 9:41 AM [ID:80D7,SESSION:4] is merged.(files=1)
20020126 050633 [CAT] 5/21/00 9:41 AM [ID:80D7,SESSION:5] is merged.(files=0)
20020126 050634 [CAT] 5/21/00 9:41 AM [ID:80D7,SESSION:6] is merged.(files=1)
20020126 050634 [CAT] 5/21/00 9:41 AM [ID:80D7,SESSION:7] is merged.(files=0)
_________________________
Bang that head that doesn't bang!!!