Page 1 of 1

I need a following groovy program: It reads a .csv file with something like the following setup: BD01 01.05.2020 BD - Ar

Posted: Fri Jul 08, 2022 6:17 am
by answerhappygod
I need a following groovy program: It reads a .csv file withsomething like the following
setup: BD01 01.05.2020 BD - Arbeitsfreier Tag nein nein 00:0000*00 12:00 12:00 00*00 nein 06:00 00:30 09:00 BD02 01.05.2020 BD -Arbeitsfreier Tag nein nein 00:00 00*00 00:00 00:00 00*00 nein06:00 00:30 09:00 F001 01.01.2018 Frühdienst 06:00-14:30 nein nein06:00 14:30 06:00 14:30 00*00 nein 06:00 00:30 09:00
I want a program that reads this csv file and deletes all rowswith a date before something i set in a variable.
For Example, in the file above I want to remove all rows before01.05.2022 so the last row would be deleted. The file afterwardshould contain all rows which have not been deleted.