正在加载图片...
grep命令应用举例 ◆精确匹配单词:1<和小> ●找出所有包含以north开头的单词的行 grep '\<north'datafile ●找出所有包含以west结尾的单词的行 grep 'west\>datafile ●找出所有包含north单词的行 grep \<north\>datafile 7 ‹ 精确匹配单词: \< 和 \> grep 'west\>' datafile grep '\<north' datafile grep '\<north\>' datafile grep 命令应用举例 z 找出所有包含 以 north 开头 的单词的行 z 找出所有包含 以 west 结尾 的单词的行 z 找出所有包含 north 单词的行
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有