View Single Post
Posts: 486 | Thanked: 251 times | Joined on Oct 2009
#8
Originally Posted by linuxeventually View Post
...For those of us that prefer CLI:

add to ~/.profile

Code:
flight_status() { if [[ $# -eq 3 ]];then offset=$3; else offset=0; fi; curl "http://mobile.flightview.com/TrackByRoute.aspx?view=detail&al="$1"&fn="$2"&dpdat=$(cu-date +%Y%m%d -d ${offset}day)" 2>/dev/null |html2text |grep ":"; }
I just tried it on my desktop, and it worked great. I don't have curl, so I substituted wget -O -
__________________
The Mini-USB plug is an improvement over both the Type B plug and the Micro-B plug.
 

The Following 2 Users Say Thank You to j.s For This Useful Post: