< Day Day Up > |
fgrep ”searches a file for a character stringfgrep [ bchilnsvx ] [ e special string ] [ f filename ] [ strings ] [ filename ... ] fgrep (fast grep) searches files for a character string and prints all lines that contain that string. fgrep is different from grep and egrep because it interprets regular expression metacharacters as literals. Example A.25.1 fgrep '***' * 2 fgrep '[ ] * ? $' filex EXPLANATION
|
< Day Day Up > |