mirror of https://github.com/CrimsonTome/tldr.git
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 itwaldyrious/alt-syntax
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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue