All pastes #441271 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-04-15 16:29 UTC
rendered paste body
Data:

[Team: Green] Green     5,225   4,031   77%     21,893,853      4,190   1,164   124.37
[Team: Blue] Blue       5,258   4,205   80%     18,111,272      3,445   744     123.56
[Team: Red] Red         3,322   2,655   80%     16,555,273      4,984   1,563   104.47
[Team: Orange] Orange   2,964   2,381   80%     15,422,842      5,203   1,201   97.90
[Team: Black] Black     4,750   3,639   77%     15,137,128      3,187   952     107.79
[Team: Maroon] Maroon   2,639   2,148   81%     10,715,805      4,061   525     75.21
[Team: Yellow] Yellow   1,428   1,191   83%     8,553,112       5,990   974     62.52
[Team: Purple] Purple   1,637   1,267   77%     6,218,066       3,798   293     49.49
[Team: Brown] Brown     1,351   1,046   77%     4,473,387       3,311   268     39.24
[Team: White] White     1,358   1,090   80%     4,315,123       3,178   222     38.33
[Team: Aqua] Aqua       1,759   1,482   84%     3,776,712       2,147   185     37.05
[Team: Pink] Pink       1,108   889     80%     2,900,514       2,618   106     29.29
[Team: No Team] No Team         1,095   767     70%     1,138,236       1,039   44      18.03 



Script:

Teams="Green Blue Red Orange Black Maroon Yellow Purple Brown White Aqua Pink No"
for i in $Teams
do
        CLINE=$(grep $i $1) 

$iTN=$(echo $CLINE | awk '{x = NF -6;  print $x}')
$iAN=$(echo $CLINE | awk '{x = NF -5;  print $x}')

etc..