You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
139 B

#!/usr/bin/env sh
echo "$1"
echo "$1"
curl "$1" 2> /dev/null | grep -q "$2"
if [ $? -eq 0 ]; then
echo "#00FF00"
else
echo "#FF8000"
fi