2017年8月3日

linux shell中取范围随机数

摘要: random.sh function random_range() { local beg=$1 local end=$2 echo $[$[$RANDOM%$[$end-$beg]]+$beg]}random_range $1 $2 ./random.sh 2 20 随机生成 数值2-20~ 阅读全文

posted @ 2017-08-03 21:38 游荡的鱼 阅读(1955) 评论(0) 推荐(0) 编辑

linux autoconf automake

摘要: autoconf automake 版本不对会导致 编译源文件 ./configure 不能生成 build-aux文件 报错: configure: error: cannot find install-sh or install.sh in build-aux "."/build-aux 此时需 阅读全文

posted @ 2017-08-03 02:01 游荡的鱼 阅读(111) 评论(0) 推荐(0) 编辑

导航