Hi!

I wanted to know how I can extract text from 30 files and have the results
written to a single file in decending order. Each file is NFL stats in pure
text. However, each header for the categories is the same for all files.

Here's an example.

filename: JETS

content as follows

                                       
                                       RUSHING STATS
                                           No   Yds     Avg    Long   Td
                 Curtis Martin             369  1287    3.5    60t    8
                 Leon Johnson              41   185     4.5    40     2
                 Jerald Sowell             40   164     4.1    33     0
                 Vinny Testaverde          24   104     4.3    25     1
                 Keyshawn Johnson          2    60      30.0   35t    1
                                      
<snipped>                                      

Headers, spacing, columns, rows, etc. is "as is" in the file.

I was hoping there would be a way to extract this information from all
30 files [one per team] and make one file with these numbers in order.
In this case, the "Yds" category would be the determining sort order.

If successful, I intend to do the same for the other categories (Receiving,
Passing, Interceptions, etc.).
           
Although I am using UnixUtil for DOS [don't hate me for it! :)], it has
bmgrep, cgrep, fgrep, grep, sort, etc. and states that MOST switches that
work in unix will work in DOS. I know, it's not the "Real McCoy", but for 
now, it's all I have.

Thanx, 
Don

Reply via email to