On 16 January 2023, William Denton wrote:
> $ while read line; do echo $line | tr -dc "," | wc -m; done < foo.csv >
> counts.csv
> $ grep -v 2 -c counts.csv
Augh, I meant this, showing line 3 has the problem:
$ grep -v 2 -n counts.csv
3:3
Bill
--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada
CO₂: 419.29 ppm (Mauna Loa Observatory, 2023-01-15)
|