Created
September 15, 2010 13:52
-
-
Save anotheremily/580759 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# get a sorted, deduped file list from grep | |
# instead of the standard grep output | |
# put in the grep parameters in place of | |
# GREPPARAMS | |
# @todo get around to making this a real shell script | |
grep GREPPARAMS | cut --d : -f 1 | sort | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment