From e22f8087e10a77ecddb52de4cde50b8ac37a114d Mon Sep 17 00:00:00 2001 From: Leandro Ostera Date: Tue, 1 Mar 2016 12:54:15 +0100 Subject: [PATCH] Updates description --- pages/common/sed.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/sed.md b/pages/common/sed.md index 1e538a22a..51b1dcc22 100644 --- a/pages/common/sed.md +++ b/pages/common/sed.md @@ -6,7 +6,7 @@ `sed 's/{{find}}/{{replace}}/' {{filename}}` -- Replace the first occurrence on all lines matching a pattern: +- Replace only on lines matching the line pattern: `sed '/{{line_pattern}}/s/{{find}}/{{replace}}/'`