mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 19:35:24 +02:00
sed.md: add input to the only example missing it (#992)
* sed.md: add input to the only example missing it * osx/sed.md: add input to the example missing it
This commit is contained in:
parent
c424e4969b
commit
a1ceb9d1b6
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
|
||||
- Replace only on lines matching the line pattern:
|
||||
|
||||
`sed '/{{line_pattern}}/s/{{find}}/{{replace}}/'`
|
||||
`sed '/{{line_pattern}}/s/{{find}}/{{replace}}/' {{filename}}`
|
||||
|
||||
- Apply multiple find-replace expressions to a file:
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
- Replace only on lines matching the line pattern:
|
||||
|
||||
`sed '/{{line_pattern}}/s/{{find}}/{{replace}}/'`
|
||||
`sed '/{{line_pattern}}/s/{{find}}/{{replace}}/' {{filename}}`
|
||||
|
||||
- Apply multiple find-replace expressions to a file:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue