#!/bin/sh
wget -q -U 'Mozilla/5.0 (X11; Linux i686; rv:38.0)' -t 1 -r 0 -O -
http://get.adobe.com/flashplayer | grep "Version " | sed 's|<[^>]*>||g' |
sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' | cut -d' ' -f2

This parses the VERSION and 'cut'  the version number from text.

Thanks
Matt

Reply via email to