mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 16:53:10 +02:00
grep.md: add -l example (#913)
This commit is contained in:
parent
698eacdb44
commit
777305c630
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue