Created
August 3, 2012 19:04
-
-
Save irace/3250478 to your computer and use it in GitHub Desktop.
Aggregate and sort Flurry exception CSV files
This file contains 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
if [ -f "errors.txt" ]; then `rm errors.txt`; fi; for file in *.csv; do `tail -n +2 "$file" | | |
cut -d , -f 3 >> /tmp/errors`; done; sort /tmp/errors > errors.txt; rm /tmp/errors; less errors.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment