Fix a mistake in fgrep example (#2254)

This commit is contained in:
Viren Nadkarni 2016-05-12 16:37:50 +05:30 committed by ven
parent 02db6f2bfc
commit 4e5439c21f

View File

@ -270,7 +270,7 @@ grep "^foo.*bar$" file.txt
grep -c "^foo.*bar$" file.txt
# if you literally want to search for the string,
# and not the regex, use fgrep (or grep -F)
fgrep "^foo.*bar$" file.txt
fgrep "foobar" file.txt
# Read Bash shell builtins documentation with the bash 'help' builtin: