#!/bin/ksh
# how to comment many line?
:<while read line
do
your command...
done < tmp
BLOCK
//整段注释
if [[ $# < 1 ]]
then
echo "USAGE: `basename $0` par1 par2 par3... "
exit 1
fi
cat $1 |while read line
do
echo "this parameter is $line"
done
//从参数输入文件循环
阅读(1279) | 评论(0) | 转发(0) |