Skip to content

Instantly share code, notes, and snippets.

@codyjlandstrom
Created April 15, 2014 14:38
Show Gist options
  • Save codyjlandstrom/10737845 to your computer and use it in GitHub Desktop.
Save codyjlandstrom/10737845 to your computer and use it in GitHub Desktop.
Count number of times a character appears in a line. In this case "
awk -F\" '{print NF-1}' <fileName>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment