Last active
September 15, 2015 13:32
-
-
Save tyrannasaurusbanks/e1daa737c08d8be8a032 to your computer and use it in GitHub Desktop.
Grab all scripts from a file
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
cat log.log | gawk 'match($0, /[\s]*.*\.sh/, arr) { print arr[0]}' | sed $'s/ */\\\n/g' | gawk 'match($0, /.*\.sh$/, arr) {print arr[0]}' | sort | uniq -u > uniqueScripts.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment