mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 09:02:08 +02:00
findstr: edit-page (#3509)
This commit is contained in:
parent
3e6b16bb2d
commit
aa50320170
1 changed files with 4 additions and 4 deletions
|
@ -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}}" *`
|
||||||
|
|
Loading…
Add table
Reference in a new issue