From 385a89558e6b9d2969144dbe79497899541aa0df Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Fri, 24 Jun 2016 10:39:17 +0100 Subject: [PATCH] grep: simplify -l example to match the others --- pages/common/grep.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/grep.md b/pages/common/grep.md index 1127b43e65..916119b55c 100644 --- a/pages/common/grep.md +++ b/pages/common/grep.md @@ -33,7 +33,7 @@ - Print file names with matches: -`grep -rl {{search_string}} .` +`grep -l {{search_string}} {{path/to/file}}` - Use the standard input instead of a file: