You are viewing a single comment's thread. Return to all comments →
#!/bin/bash awk '{ if($2<50 || $3<50 || $4<50){print $0 " : FAIL"} else if( ($2+$3+$4)/3 >= 80){print $0 " : A"} else if( ($2+$3+$4)/3 >= 60){print $0 " : B"} else{print $0 " : C"} }'
Seems like cookies are disabled on this browser, please enable them to open this website
'Awk' - 3
You are viewing a single comment's thread. Return to all comments →