Skip to content

Instantly share code, notes, and snippets.

@awaxa
Created December 10, 2013 22:26
Show Gist options
  • Save awaxa/7901449 to your computer and use it in GitHub Desktop.
Save awaxa/7901449 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
FETCH="curl -s http://www.awaxa.com/ | grep awaxa | wc -l | sed s/[^0-9]*//g"
QUEUE=$(eval $FETCH)
if [ $QUEUE -eq 1 ] ; then
echo success
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment