Created
March 19, 2017 22:24
-
-
Save carld/877c7c4fdfd58a830a05f3d4f9a0d65c to your computer and use it in GitHub Desktop.
Count number of columns in a CSV file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
head -1 returns.csv | sed 's/[^,]//g' | wc -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment