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

waldyrious/alt-syntax
Ayakashi 2016-06-21 15:11:27 +08:00 committed by Waldir Pimenta
parent 698eacdb44
commit 777305c630
1 changed files with 4 additions and 0 deletions

View File

@ -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}}`