소스 검색

grep: simplify -l example to match the others

Waldir Pimenta 8 년 전
부모
커밋
385a89558e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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: