Procházet zdrojové kódy

grep: simplify -l example to match the others

Waldir Pimenta před 8 roky
rodič
revize
385a89558e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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: