shell编程笔记二:数学运算

var_1=2

var_2=3

var_res="$[$var_1+$var_2]"

echo $_var_res   #print 5

posted @ 2013-05-03 15:57  践道者  阅读(154)  评论(0编辑  收藏  举报