mirror of https://github.com/CrimsonTome/tldr.git
commit
17faf11ac7
|
@ -23,6 +23,10 @@
|
||||||
|
|
||||||
`grep -c {{something}} {{file_path}}`
|
`grep -c {{something}} {{file_path}}`
|
||||||
|
|
||||||
|
- print line number for each match
|
||||||
|
|
||||||
|
`grep -n {{something}} {{file_path}}`
|
||||||
|
|
||||||
- use the standard input instead of a file
|
- use the standard input instead of a file
|
||||||
|
|
||||||
`cat {{file_path}} | grep {{something}}`
|
`cat {{file_path}} | grep {{something}}`
|
||||||
|
|
Loading…
Reference in New Issue