I want to check my data quality. I want to output the lines with non-number. I used the grep command:
grep '[^0-9,. ]' myfile.csv
Since my file is csv file, I don't want to output the lines with comma. And I also don't want to output "." or space. But I still get the lines like the following:
1,66.2,16.57,0, ,,,, ,,86,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,0,,,,,,,,,,,,,,,0,,,,,,,,,,,,,,,,,,,,2,,,0,
Is there anything wrong with my code?