NHL

Section: User Commands (1)
Updated: 6 Sep 1993
Index Return to Main Contents
 

NAME

nhl - Print the NHL schedule  

SYNOPSIS

nhl [-nnum] [-HAhv] [TEAM|DIV [TEAM|DIV]] [mm/dd ...]  

DESCRIPTION

This program produces an on-line schedule for the NHL regular season. Perfect for that .login -- also makes a great Xmas gift!

With no teams or divisions specified, nhl prints the league schedule for the given dates. If no dates are given then today's schedule is printed.

With one team or division specified, nhl prints upcoming games for that team or for teams in that division, starting from each of the given dates (or from today if none are given).

With two teams or divisions specified, nhl prints upcoming games where the first team (or any team in the first division) plays the second team (or any team in second division), starting from each of the given dates (or from today if none are given).

Note that to get a listing of upcoming intra-division games you need to give the division twice (i.e., use two-team mode). If the division is only given once, then nhl will list games in which either team was in the division, not necessarily both.  

DIAGNOSTICS

If no dates are given and today's date isn't during the season, a warning is issued to stderr and the start of the season is used.

If a date is explicitly given that isn't during the season, an error message is printed (to stdout) and nhl exits.

Errors involving incorrect team or division codes, bad dates, or other command-line errors cause the help text to be printed and nhl exits with an error indication.

Any other errors (marked with "YOW!") indicate that the program was not properly configured for the season. You shouldn't see these unless you try to update nhl for a new season.  

OPTIONS

-nnum
Set the number of games to display in one-team or two-team mode. The default is 3.
-tteam
Teams can specified with or without a leading -t, from the following list:

ana - Anaheim        bos - Boston         buf - Buffalo     
cgy - Calgary        chi - Chicago        dal - Dallas      
det - Detroit        edm - Edmonton       fla - Florida     
hfd - Hartford       los - Los Angeles    mtl - Montreal    
njd - New Jersey     nyi - NY Islanders   nyr - NY Rangers  
ott - Ottawa         phl - Philadelphia   pit - Pittsburgh  
que - Quebec         stl - St. Louis      sjs - San Jose    
tmp - Tampa Bay      tor - Toronto        van - Vancouver   
wsh - Washington     wpg - Winnipeg    

-ddiv
Divisions can specified with or without a leading -d, from the following list:

    nea - Northeast           atl - Atlantic    
    ctl - Central             pac - Pacific     

-H
In one-team (or division) mode, specifies that only games in which the given team (or team in the given division) is at home are to be printed. In two-team (or division) mode, specifies that only games in which the first team (or team in first division) is at home are to be printed. This option is ignored when the same divison is given twice (intra-division mode).
-A
Like -H, but only prints away games for the given team (or team in the given division).
-h
If given, nhl prints the help message and exits.
-v
If given, nhl prints its version information and exits. Please use this information when reporting bugs.
 

AUTHOR

Original program concept by Len Carr, used with permission.

All other features created by Rob Springall (rgs7077@ultb.isc.rit.edu, rgs7077@ritvax.bitnet), except for the neutral site games feature, created by Tom Wilson (twilson@dab.ge.com).

Maintained through 1992-93 season by: Valerie Hammerl (hammerl@acsu.buffalo.edu) and Rob Springall.

Re-constructed for 1993-94 by George Ferguson (ferguson@cs.rochester.edu), who also added head-to-head modes, wrote the manpage and put together the distribution kit.

Additional credit goes to the members of the USENET community who contributed ideas and support for this project.  

COPYRIGHT

This program is not copyrighted or registered in any form. It does, however, remain the intellectual property of its authors.


 

Index

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
OPTIONS
AUTHOR
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 06:48:53 GMT, December 12, 2024