I have a file
abc.txt. I need to grep the file on the date field which is present at 4th position in the text file. I need to split the file based on the date from 1st to 15th August the data need to be in one file and from 16th to 31st August the data need to be in another file.
How can I do that?
a|b|c|08/01/2017|d a|b|c|08/15/2017|d a|b|c|08/16/2017|d a|b|c|08/31/2017|d