I've received some files that need to be loaded into the database. These files have user input, and there are instances where the quote character is used an odd number of times. I'd like to filter out these records.
I would like to grep lines that contain a specific character an odd or even number of times.
Sample input:
12345|what"s wrong|20121212