shell脚本学习笔记

1、最长匹配:     grep -P 'to.*m' filename 2、最短(惰性)匹配: grep -P 'to.*?m' filename 3、匹配以...
阅读全文