From 2592e8facef4568cec176b858fae488ec3223743 Mon Sep 17 00:00:00 2001 From: adelviscio Date: Sun, 1 Sep 2013 16:00:18 -0400 Subject: [PATCH] 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. --- cheatsheets/grep | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cheatsheets/grep b/cheatsheets/grep index ec307dc..e6333d0 100644 --- a/cheatsheets/grep +++ b/cheatsheets/grep @@ -1,6 +1,5 @@ # Basic grep pattern file -# Advanced +# Recursively grep for string in folder/ grep -R pattern folder -cat file | grep pattern