Răsfoiți Sursa

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
Waldir Pimenta 8 ani în urmă
părinte
comite
a1ceb9d1b6
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      pages/common/sed.md
  2. 1 1
      pages/osx/sed.md

+ 1 - 1
pages/common/sed.md

@@ -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:
 

+ 1 - 1
pages/osx/sed.md

@@ -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: