Skip to content

Code Friday’s #1

2009 September 25
by Aaron

It’s Friday evening and I’m too lazy to check the television for the Toronto Blue Jays score. Yeah yeah, nothing a little script can’t handle.

lynx -nonumbers -nolist -dump http://m.4info.com/search?searchQuery=Toronto | egrep -i -B2 -A4 "Status"
   Toronto Blue Jays (75-84)   (R) 4    (H) 5    (E) 0
   Baltimore Orioles (61-98)   (R) 7    (H) 9    (E) 0
   Status:  Top5th  B: 2 S: 2 O: 0
   Start Time:  10/02 7:05 PM ET
   Pitching:  Jason Berken (0K)
   Batting:  Kyle Phillips (0/1)
   Man on 1st

Replace the query with whatever team or term you desire; easy :)

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS

Free WordPress Theme

WordPress Blog
WordPress Themes