findstr: edit-page (#3509)
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
3e6b16bb2d
commit
aa50320170
@@ -7,6 +7,10 @@
|
|||||||
|
|
||||||
`findstr "{{query}}" *`
|
`findstr "{{query}}" *`
|
||||||
|
|
||||||
|
- Find space-separated string(s) in a piped command's output:
|
||||||
|
|
||||||
|
`{{dir}} | findstr "{{query}}"`
|
||||||
|
|
||||||
- Find space-separated string(s) in all files recur[s]ively:
|
- Find space-separated string(s) in all files recur[s]ively:
|
||||||
|
|
||||||
`findstr /s "{{query}}" *`
|
`findstr /s "{{query}}" *`
|
||||||
@@ -23,10 +27,6 @@
|
|||||||
|
|
||||||
`findstr /c:"{{query}}" *.txt`
|
`findstr /c:"{{query}}" *.txt`
|
||||||
|
|
||||||
- Find only lines that match the query e[x]actly:
|
|
||||||
|
|
||||||
`findstr /x "{{query}}" *`
|
|
||||||
|
|
||||||
- Display the line number before each matching line:
|
- Display the line number before each matching line:
|
||||||
|
|
||||||
`findstr /n "{{query}}" *`
|
`findstr /n "{{query}}" *`
|
||||||
|
Reference in New Issue
Block a user