Calculating Averages | *nix Shell

Calculating Averages | *nix Shell

瀏覽:772
日期:2025-06-13
I ran this script on 10’s of thousands of numbers and it takes a *long* time. That’s because you spawn an expr not once but twice for every number you average. Here is the script with your expr statement changed to native bash arithmetic expansion. #!/bin...看更多