Skip to content

Instantly share code, notes, and snippets.

@ratpik
Created May 12, 2018 17:02
Show Gist options
  • Save ratpik/4b6a9f28ab9fa3c712d152d2449189aa to your computer and use it in GitHub Desktop.
Save ratpik/4b6a9f28ab9fa3c712d152d2449189aa to your computer and use it in GitHub Desktop.
Split lines with Regex provided to awk
cat *.csv| awk -F "\"*,\"*" '{print $2}'|uniq|wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment