Create a gist now

Instantly share code, notes, and snippets.

Simple hoogle usage
function hoog {
search=$1
count=$2
if [ -z $count ] ; then
hoogle -q -c "$search" | grep -v -e "^Searching for:" | awk 'BEGIN { a = 1 } { print a ") " $(NF-NF) ; a = a + 1 }'
else
hoogle -q -c -i -s $count "$search"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment