2009-02-17 74 views

回答

2

搜索词grep的选项是-w:

grep -w python | grep imag 
1

脏方法应该使用空格。当你看到确切的单词时,它们很可能在空格之间。例如,对于贴切:

apt-cache search " python " imag* 

编辑

一个清洁如下:

apt-cache search '\<python\>' imag*