摘要: csh实例 参考:#!/bin/csh-vx#csh-vxshowthecommandbeforerunningtohelpdebug#justtochecksyntax#csh-n$0#argvif($#argv<2)thenecho"Sorry,butyouenteredtoofewparameters"echo"usage:$0arg1arg2exitendifsetarg1=$1setarg2=#2foreachi($*)echo$iend#executecommandsecho"Hellothere`whoami`.Howareyouto 阅读全文
posted @ 2012-08-15 21:22 iTech 阅读(9260) 评论(0) 推荐(0)