小技巧

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

posted @ 2017-03-30 14:06  白鸟li  阅读(131)  评论(0)    收藏  举报