摘要: 最近在学习Shell脚本,两个地方值得注意。 1. Shell中的运算 a=7b=8let c=a+bc=$[a+b]c=$((a+b))c=`expr $a + $b` //``等价于$() 参考:03 Linux shell 变量 数学 运算 2. Shell中的exec和重定向 我写了一个简单 阅读全文
posted @ 2016-12-07 16:35 Sawyer Ford 阅读(237) 评论(0) 推荐(1) 编辑