Removed duplicate example, updated description of another example.
Removed cat file | grep pattern as cat file is unnecessary. The command becomes 'grep pattern file' again - which is the same as the first example. Updated #Advanced description to be more descriptive.
This commit is contained in:
1 parent
14821d424c
commit
2592e8face
1 file changed
+1
-2
+1
-2
@@ -1,6 +1,5 @@
|
||||
# Basic
|
||||
grep pattern file
|
||||
|
||||
# Advanced
|
||||
# Recursively grep for string <pattern> in folder/
|
||||
grep -R pattern folder
|
||||
cat file | grep pattern
|
||||
Reference in new issue
Block a user