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

Click here to return to the 'A script to keep Flash Player up to date' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to keep Flash Player up to date
Authored by: maelcum on May 04, '11 10:34:41AM

you could shorten the extraction of the current version on adobes site to:
	latestver=`/usr/bin/curl -s | sed -n '/Safari/,/<\/tr/s/[^>]*>\([0-9].*\)<.*/\1/p'`
though thats just fine tuning.


[ Reply to This | # ]