mirror of https://github.com/CrimsonTome/tldr.git
grep.md: add -l example (#913)
parent
698eacdb44
commit
777305c630
|
@ -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}}`
|
||||
|
|
Loading…
Reference in New Issue