I have a text file with 10,000 + lines of data. The data is in the following format.
The first 8 are the date.
I would like to perform the following
1) read and process all lines in the source text file
2) Set a variable in the script for the day of the week (ie Monday)
3) Analyze each line of the source and determine if the date is a Monday
4) if date is a Monday copy that entire line into another text file
5) if date is not a Monday go to the next line