I often want to check the baseball score without opening a browser. (That's right, it's too much work. And sometimes not appropriate at work, considering how much I check it.) So I wrote this very simple command line to fetch and parse the ESPN MLB scoreboard page.

Here's some sample output

Code:
AMERICAN LEAGUE - GAME 1
   Top 5th
   Toronto (10-12, 5-5 away)
   Tampa Bay (10-11, 6-7 home)
   1 2 3 4 5 6 7 8 9
   0 0 2 0 0
   0 0 1 1
   R H E
   2 5 0
   2 3 0
   GameCast | Box Score | RealTime [in.gif] | Watch
   Balls: Strikes: Outs:
   Pitching: Sonnanstine (TAM) 4.1 IP, 2 ER, 3 K
   Batting: Inglett (TOR) 0-0
   Pitch 4: ball 3
Here's the command line

Note you will need Lynx (a non graphical browser)
Code:
sudo apt-get install lynx


Code:
lynx -nonumbers -dump http://scores.espn.go.com/mlb/scoreboard | egrep -i -A12 -B2 Toronto
Replace Toronto with your city.