小技巧
1, 去掉引号
$a=~s/"//g;
2 去前四个字符
substr($product,0,4)
多行注释:
最常用的方法是使用 POD(Plain Old Documentations) 来进行多行注释。方法如下:
=pod
codes to comment
=cut
sed -i '/^[0-9]\,/ s/$/,center/' waferzone
kill 包括关键字155的所有进程
ps -ef|grep 155|grep -v grep|cut -c 9-15|xargs kill -9