摘要: 背景:每个php文件都有若干this->assert的行,这些行可能含有1个字段,可能含有多个字段;如果含有多个字段,则每个字段用,分割要求:在最后一个字段的开头添加上$this->UrlMonitored如下:for i in `ls *php`;do cat $i | awk '{if(index($0,"this->assert")) {if(index($0,",")>0) { len=split($0,time, "," ); last=length(time[len]); print sub 阅读全文
posted @ 2013-08-18 12:25 mangu_uu 阅读(1729) 评论(0) 推荐(0) 编辑