正则表达式_grep_sed汇.ppt

正则表达式_grep_sed汇

正则表达式 :1,$s/tom/David/g :1,$s/\[Tt]om\/David/g 下列语句的结果 /love/ /ove[^a-zA-Z0-9]/ /^love/ /love$/ /l.ve/ /o*ve/ /[Ll]ove/ /ove[a-z]/ grep Grep的工作模式 grep root /etc/passwd ps –ef | grep root grep –n ‘^root:’ /etc/passwd Grep with options Grep with pipes Egrep Linux and Gnu grep Fixed grep Recursive grep Grep with options sed * *

文档评论(0)

1亿VIP精品文档

相关文档