#!/bin/bash # While we don't have a validator on request, let's find out if a known violation still exists content=$(wget -t 1 --no-check-certificate http://www.act.gov.pt/ --user-agent="Mozilla/5.0 Gecko/20100101 Firefox/21.0" -o /dev/null -O -); if [ "$( echo "$content" | wc -l )" -eq "0" ]; then echo "act: página vazia! Pode ser problema no site, ou no script."; fi if [ "$( echo "$content" | grep -i " new mv new README.md fi