- 论坛徽章:
- 0
|
我的可以,奇怪! 等牛人回答...- [root@localhost ~]# cat 1
- 1234
- 2235
- 3345
- [root@localhost ~]# cat 2
- 1234 33
- 882773 96
- 12345 90
- 22359 50
- 2235 50
- [root@localhost ~]# grep -Ff 1 2
- 1234 33
- 12345 90
- 22359 50
- 2235 50
- [root@localhost ~]# grep -w -Ff 1 2
- 1234 33
- 2235 50
- [root@localhost ~]# grep -V
- grep (GNU grep) 2.5.1
- Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions. There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
复制代码 |
|