Kaynağa Gözat

grep.md: add -l example (#913)

Ayakashi 8 yıl önce
ebeveyn
işleme
777305c630
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      pages/common/grep.md

+ 4 - 0
pages/common/grep.md

@@ -31,6 +31,10 @@
 
 `grep -n {{something}} {{path/to/file}}`
 
+- Print file names with matches:
+
+`grep -rl {{something}} .`
+
 - Use the standard input instead of a file:
 
 `cat {{path/to/file}} | grep {{something}}`