You are viewing a single comment's thread. Return to all comments →
cat | awk '{ avg=($4+$2+$3)/3; printf $1" : ";result = (avg > 50) ? "Pass\n": "Fail\n"; printf result }'
Seems like cookies are disabled on this browser, please enable them to open this website
'Awk' - 2
You are viewing a single comment's thread. Return to all comments →