Thursday, August 11, 2011

lakers dallas 2011 playoffs points per shot efficientcy per player all 4 games

awk '{f=$5;t=$9;p=$19;s=f+(t/2);e=p/s;if ($19>0) print e, $1, $2}' gm1_lak_dal_11 |sort -rn
awk 'gsub(/-/, " ")' gm1_lak_dal_11 > gm1_lak_dal_11a
http://sports.yahoo.com/nba/boxscore?gid=2011050213 I edited out the F c or G on each line then removed the - using the gsub above
the the awking began
awk '{if ($19>0) f=$5;t=$9;p=$19;s=f+(t/2);e=p/s;print e" "$1, $2, $19}' gm3_lak_dal_11 |sort -rn
awk '{f=$5; t=$9; p=$19; s=f+t/2; if (s) printf "%6.4f %-20s %2d\n", p/s, $1" "$2, p}' gm3_lak_dal_11 |sort -rn
awk '{f=$5; t=$9; p=$19; s=f+t/2; if (s) printf "%4.2f %-20s %2d\n", p/s, $1" "$2, p}' gm3_lak_dal_11 |sort -rn
awk '{f=$5; t=$9; p=$19; s=f+t/2; if (s) printf "%2d %-20s %6.2f\n", p, $1" "$2, p/s}' gm3_lak_dal_11 |sort -rn


$ awk '{f=$5; t=$9; p=$19; s=f+t/2; if (s) printf "%6.2f %-20s %2d\n", p/s, $1" "$2, p}' gm4_lak_dal_11 |sort -rn
3.00 B. Cardinal(notes) 3
2.62 P. Stojakovic(notes) 21
2.13 J. Terry(notes) 32
1.60 B. Haywood(notes) 4
1.42 J.J. Barea(notes) 22
1.42 D. Nowitzki(notes) 17
1.33 L. Odom(notes) 10
1.30 S. Brown(notes) 15
1.20 M. Barnes(notes) 9
1.16 R. Artest(notes) 11
1.11 T. Chandler(notes) 5
1.00 S. Marion(notes) 8
1.00 I. Mahinmi(notes) 2
1.00 C. Brewer(notes) 2
0.91 P. Gasol(notes) 10
0.85 K. Bryant(notes) 17
0.75 S. Blake(notes) 3
0.75 A. Bynum(notes) 6
0.50 J. Kidd(notes) 3
0.50 D. Stevenson(notes) 3
0.50 D. Fisher(notes) 5
0.00 T. Johnson(notes) 0
0.00 L. Walton(notes) 0
0.00 J. Smith(notes) 0

No comments: