shell script math calculation的相關文章
shell script math calculation的相關商品

Calculating Averages | *nix Shell
瀏覽:744
日期:2025-04-24
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...看更多