grep -nE ‘(start|end)‘ $Filename | awk -F ":" ‘{print $1}‘ > $LINEFILE
sed -n ‘9,19p‘ pvp_debug_log.csv
echo $line | awk ‘{for(i=3;i<NF;i++) {printf $i" "} printf "\n"}‘
grep sed awk 用法
原文:http://www.cnblogs.com/bornfish/p/4168860.html