shell入门之expr的使用

在expr中加减乘除的使用,脚本以下:web #!/bin/sh #a test about expr v1=`expr 5 + 6` echo "$v1" echo `expr 3 + 5` echo `expr 6 / 2` echo `expr 9 \* 5` echo `expr 9 - 6` 运行效果 bash
相关文章
相关标签/搜索