Skip to content

Instantly share code, notes, and snippets.

@alien11689 alien11689/hoog.bash
Created Jan 30, 2016

Embed
What would you like to do?
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
You can’t perform that action at this time.