You are viewing a single comment's thread. Return to all comments →
Two Liner
read n printf "%.3f" $(echo "("$(cat)")/$n" | tr ' ' '+' | bc -l)
Seems like cookies are disabled on this browser, please enable them to open this website
Compute the Average
You are viewing a single comment's thread. Return to all comments →
Two Liner