懒龙谷
  • Home
  • Categories
  • Tags
  • Archives

ksh_数学运算

ksh 里的数学运算

ksh 里的数学运算不同于 bash,且资料不多,难以查询

实际使用的是 (( 运算式 )) 示例 : (( bch_id += 1 )) 不支持 ++ (( next = pre + 1 )) 不能用 next=((pre+1))

this guy is lazy, nothing leave

Comments
comments powered by Disqus

  • « date
  • shell_string »

Published

Jan 7, 2014

Category

shell

Stay in Touch

  • Powered by Pelican. Theme: Elegant by Talha Mansoor