- 论坛徽章:
- 0
|
-F Treats each specified pattern as a string instead of a regular expression. A
NULL string matches every line.
Note: The grep command with the -F flag is the same as the fgrep command,
except that error and usage messages are different and the -s flag functions
differently.
-f PatternFile Specifies a file containing search patterns. Each pattern should
be separated by a new-line character, and an empty line is considered a NULL
pattern. Each pattern is treated like a basic regular expression (BRE), unless
the -E or -F flag is also specified.
原帖由 西门子 于 2006-2-14 18:53 发表
grep -F -f fileA fileB
好使。。。。。速度刚刚的。
请问这里-F 含义是什么啊! |
|