I am looking for a way to delete lines in multiple csv files, in bash using sed, awk or something suitable where the file ends with 0.
So, there are several csv files, their format:
EXAMPLEfoo,60,6
EXAMPLEbar,30,10
EXAMPLElong,60,0
EXAMPLEcon,120,6
EXAMPLEdev,60,0
EXAMPLErandom,30,6
Thus, the file will be changed to:
EXAMPLEfoo,60,6
EXAMPLEbar,30,10
EXAMPLEcon,120,6
EXAMPLErandom,30,6
The problem I see is the difference between two-digit numbers that end in zero and 0.
So any ideas?
source
share