grep -Px -e '"[^|,"\v]*"(,"[^|,"\v]*")+\v' FILENAME.csv > FILENAME.csv
previously worked in GNU Grep
, now because -P
isn't in BSD Grep it no longer works.
which command could I use to get the same result?
grep -Px -e '"[^|,"\v]*"(,"[^|,"\v]*")+\v' FILENAME.csv > FILENAME.csv
previously worked in GNU Grep
, now because -P
isn't in BSD Grep it no longer works.
which command could I use to get the same result?