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:

committed by
Leandro Ostera

parent
c424e4969b
commit
a1ceb9d1b6
@@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user