Parcourir la source

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 il y a 8 ans
Parent
commit
a1ceb9d1b6
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  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: