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


Click here to return to the 'Run shell scripts from the Script Menu' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Run shell scripts from the Script Menu
Authored by: Impatient1 on Apr 25, '03 05:17:53PM

url_fortune=http://www.thinkgeek.com/fortune.shtml

curl -s $url_fortune |
awk '/#F1F5FB/,/\/p/' |
sed 's/<.*>//g' |
sed 's/.$//' |
sed '/./!d' |
pbcopy



[ Reply to This | # ]