Explorar o código

grep: simplify -l example to match the others

Waldir Pimenta %!s(int64=8) %!d(string=hai) anos
pai
achega
385a89558e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/common/grep.md

+ 1 - 1
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: