摘要: 场景:让用户输入一个数字,程序由1+2....一直累加到用户输入的数字为止#!/bin/bashPATH=$PATH:~/scriptexport PATH#chech whether the input is numfunction is_num(){#判断用户输入的是否是数字,是数字则返回1,否... 阅读全文
posted @ 2015-01-10 22:06 ghsea 阅读(168) 评论(0) 推荐(0)