I have a text file in linux as follows..All unique entries on ID..
Name ID Date
ABC 123 2019-07-01
DEF 456 2019-07-01
JKL 789 2019-09-01
XYZ 101 2019-02-01
TRN 107 2019-03-01
I want to filter results basis date(3rd column). For e.g i want to save all records before 2019-09-01 in another text file.
Please help.