cwcomment¶
Writes one row per comment. Generated from cwcomment -h and cwcomment -d.
Options¶
cwcomment generates files suitable for use by dBase or Lotus-like programs
Each record contains one comment from the event file.
Usage: cwcomment [options] eventfile...
options:
-h print this help
-i id only process game given by id
-y year Year to process (for teamyyyy and aaayyyy.ros).
-D dir Directory to find team and roster files (default is current directory)
-s start Earliest date to process (mmdd).
-e end Last date to process (mmdd).
-a generate Ascii-delimited format files (default)
-ft generate Fortran format files
-m use master player file instead of local roster files
-f flist give list of fields to output
Default is 0-9.
-d print list of field numbers and descriptions
-Q operate quietly; do not output progress messages
-n print field names in first row of output
Fields¶
These are the available fields and the numbers to use with the -f option
to name them. All are included by default.
number field
------ -----
0 game id
1 event num
2 comment text
3 ID of person ejected
4 role of person ejected
5 ID of ejecting umpire
6 reason for ejection
7 inning of umpire change
8 position umpire assumed
9 ID of umpire assuming position