- 博客(1)
- 收藏
- 关注
原创 **TCL脚本:输出log文件中所有“searching”的行**
使用tcl脚本输出log文件中所有“searching”的行,并写入到新的log中set fid [open "../tmp4sdc/log" r]set wfid [open "../tmp4sdc/log_output" w]while {![eof $fid]} { gets $fid myline if {[string match "*searching*" $myline]} { puts $wfid $myline }}close $fidclose $wfid..
2020-08-23 21:47:15
1077
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人