diff --git a/rc/bin/weather b/rc/bin/weather index 5261495bf..0f3f0a091 100755 --- a/rc/bin/weather +++ b/rc/bin/weather @@ -42,5 +42,5 @@ sed 's/ Press Return to continue, M to return to menu, X to exit: //' | grep -v 'CITY FORECAST MENU' | tr -d ' ' | sed 's/ *$//' | -uniq - +uniq | +sed -n '/^VTEC/q; p' diff --git a/sys/man/1/weather b/sys/man/1/weather index a4ccbd88c..a40b1f12b 100644 --- a/sys/man/1/weather +++ b/sys/man/1/weather @@ -28,8 +28,13 @@ location identifiers known for The arguments are mutually exclusive and case-insensitive. If neither is given, .I air -defaults to location identifier +defaults to the value of the environment variable +.BR $weather , +or if it is unset, +to the location identifier .BR ewr , designating the Newark, NJ, airport near Bell Labs, Murray Hill. .SH SOURCE .B /rc/bin/weather +.SH BUGS +Weather is hopelessly provincial.