mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-11 09:14:39 +02:00
Fix a mistake in fgrep example (#2254)
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user