正しくない出力を表示するawkスクリプト
awkスクリプトの問題に直面しています-データファイルの各課題の最低、最高、平均のスコアを含むレポートを生成する必要があります。割り当ての名前はにありcolumn 3ます。 入力データは次のとおりです。 Student,Catehory,Assignment,Score,Possible Chelsey,Homework,H01,90,100 Chelsey,Homework,H02,89,100 Chelsey,Homework,H03,77,100 Chelsey,Homework,H04,80,100 Chelsey,Homework,H05,82,100 Chelsey,Homework,H06,84,100 Chelsey,Homework,H07,86,100 Chelsey,Lab,L01,91,100 Chelsey,Lab,L02,100,100 Chelsey,Lab,L03,100,100 Chelsey,Lab,L04,100,100 Chelsey,Lab,L05,96,100 Chelsey,Lab,L06,80,100 Chelsey,Lab,L07,81,100 Chelsey,Quiz,Q01,100,100 Chelsey,Quiz,Q02,100,100 Chelsey,Quiz,Q03,98,100 Chelsey,Quiz,Q04,93,100 Chelsey,Quiz,Q05,99,100 Chelsey,Quiz,Q06,88,100 Chelsey,Quiz,Q07,100,100 Chelsey,Final,FINAL,82,100 Chelsey,Survey,WS,5,5 Sam,Homework,H01,19,100 Sam,Homework,H02,82,100 Sam,Homework,H03,95,100 Sam,Homework,H04,46,100 Sam,Homework,H05,82,100 Sam,Homework,H06,97,100 Sam,Homework,H07,52,100 Sam,Lab,L01,41,100 Sam,Lab,L02,85,100 Sam,Lab,L03,99,100 Sam,Lab,L04,99,100 Sam,Lab,L05,0,100 Sam,Lab,L06,0,100 Sam,Lab,L07,0,100 Sam,Quiz,Q01,91,100 Sam,Quiz,Q02,85,100 Sam,Quiz,Q03,33,100 Sam,Quiz,Q04,64,100 Sam,Quiz,Q05,54,100 Sam,Quiz,Q06,95,100 Sam,Quiz,Q07,68,100 Sam,Final,FINAL,58,100 Sam,Survey,WS,5,5 …