Created
June 8, 2015 19:56
-
-
Save richadams8/9d7a8ac53bba58f5301c to your computer and use it in GitHub Desktop.
Better at searching for instances with given keywords
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
jlist () { | |
GREP_COMMAND="jim instance list " | |
for arg in $@; do | |
GREP_COMMAND=${GREP_COMMAND}"| grep $arg " | |
done; | |
echo $GREP_COMMAND | |
eval "$GREP_COMMAND" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment