摘要: #!/bin/sh TAG="aa:1234\/" DST="aa\/" for a in `find . -name '*.txt' -type f` do c=`cat ${a} | grep ${TAG}` reg=".*${TAG}.*" if [[ "${c}" =~ $reg ]] ; 阅读全文
posted @ 2020-04-06 17:40 xinyueliu 阅读(188) 评论(0) 推荐(0)