Explorar el Código

grep: simplify -l example to match the others

Waldir Pimenta hace 8 años
padre
commit
385a89558e
Se han modificado 1 ficheros con 1 adiciones y 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: