Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A script to check the USA's Homeland Security threat level' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to check the USA's Homeland Security threat level
Authored by: jonny5 on Jan 16, '04 11:33:10AM
I had trouble getting awk to work, and not being an awk guy, I've changed it to use cut instead:

alias threat='echo -n "Threat Level: "; curl -s http://www.dhs.gov/dhspublic/getAdvisoryCondition | tail -n 1 | cut -f 2 -d\"'


[ Reply to This | # ]