http://blog.csdn.net/ly21st http://ly21st.blog.chinaunix.net
发布时间:2011-10-13 14:43:56
# Program name: ttype# Purpose: set the terminal type# Author: Andy AdminCOLUMNS=60LINES=1PS3="Please enter the terminal type: "select choice in wyse50 vt200 vt100 sundo case $REPLY in 1) export TERM=$choice print "TERM=$choice" break;; .........【阅读全文】
发布时间:2011-10-13 14:05:04
#!/bin/ksh# Program name: numberit# Put line numbers on all lines of memoif (( $# < 1 ))then print "Usage: $0 filename " >&2 exit 1fiinteger count=1 # Initialize countcat $1 | while read line &nbs.........【阅读全文】