Created
August 22, 2016 15:15
-
-
Save jonespm/ad6ce77d1d1c4c73486327f84d299343 to your computer and use it in GitHub Desktop.
Filter startup logs
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
cat catalina.out | grep startStop | awk {'print $3 "," $5'} | sort > filtered-catalina.csv | |
cat filtered-catalina.csv | grep -v detected | awk -F\. {'print $1"."$2"."$3'} > filtered-catalina2.csv | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment