Skip to content

Instantly share code, notes, and snippets.

@bds
Created September 6, 2012 20:45
Show Gist options
  • Save bds/3660246 to your computer and use it in GitHub Desktop.
Save bds/3660246 to your computer and use it in GitHub Desktop.
Verify CSV has a uniform number of fields
awk -F ',' '{print NF}' foo.csv | uniq -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment