mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-25 00:06:47 +03:00
Fix a mistake in fgrep example (#2254)
This commit is contained in:
parent
02db6f2bfc
commit
4e5439c21f
@ -270,7 +270,7 @@ grep "^foo.*bar$" file.txt
|
|||||||
grep -c "^foo.*bar$" file.txt
|
grep -c "^foo.*bar$" file.txt
|
||||||
# if you literally want to search for the string,
|
# if you literally want to search for the string,
|
||||||
# and not the regex, use fgrep (or grep -F)
|
# 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:
|
# Read Bash shell builtins documentation with the bash 'help' builtin:
|
||||||
|
Loading…
Reference in New Issue
Block a user