摘要: PROGRAM <name> <declarations>C define the program version CALL CCP4_PROG_VERSION('7.2',0)C call the pre-processor: CALL CCPFYPC advertise the version: CALL CCPRCS(LUNSTO(1), '<name>', '$Date: 2005/05/17 12:44:59 $')C open an input file: CALL CCPDPN(IN1, ' 阅读全文
posted @ 2011-07-18 21:53 greencolor 阅读(301) 评论(0) 推荐(0) 编辑
摘要: $1在shell中称为“位置参数”,表示传入的第1个参数(第1个入参)。用在shell脚本主体中,表示shell脚本的第1个入参。用在shell脚本函数里,表示函数的第1个入参。test -z $1 是一个判断表达式,用于判断$1的值是否为空字符串。若为空,则结果为true;否则为false。UNAME_OS=`(uname -s) 2>/dev/null` if test -z "$system" ; then case $UNAME_OS in IRIX ) system=irix ;; IRIX64 ) system=irix64 ;; HP-UX ) syst 阅读全文
posted @ 2011-07-18 12:25 greencolor 阅读(169) 评论(0) 推荐(0) 编辑