Return-Path: <mcguyton@MIT.EDU>
Received: from central-city-carrier-station.mit.edu by po11.mit.edu (8.9.2/4.7) id NAA19276; Thu, 4 Apr 2002 13:04:27 -0500 (EST)
Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86])
	by central-city-carrier-station.mit.edu (8.9.2/8.9.2) with ESMTP id NAA09458
	for <sipb@mit.edu>; Thu, 4 Apr 2002 13:03:59 -0500 (EST)
Received: from buzzword-bingo.mit.edu (BUZZWORD-BINGO.MIT.EDU [18.7.16.73])
	by melbourne-city-street.mit.edu (8.9.2/8.9.2) with ESMTP id NAA19187
	for <sipb@mit.edu>; Thu, 4 Apr 2002 13:03:59 -0500 (EST)
Received: from localhost (mcguyton@localhost) by buzzword-bingo.mit.edu (8.9.3) with ESMTP
	id NAA02303; Thu, 4 Apr 2002 13:03:59 -0500 (EST)
Date: Thu, 4 Apr 2002 13:03:58 -0500 (EST)
From: Matthew Guyton <mcguyton@MIT.EDU>
To: <sipb@mit.edu>
Subject: linux command help
Message-ID: <Pine.GSO.4.30L.0204041300590.1709-100000@buzzword-bingo.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

I'm trying to figure out how to print out the weather forecast for today
only:

add weather
weather -f bos -h -z

I figure I have to do some kind of grep to find the first occurence of
"day:", then use head to print out every line before that.  Alternatively,
I could print every line that doesn't contain "day:" or "day night:".

I have no idea how to do the syntax for this.  Can you guys help me out?

Thanks,
Matt Guyton

