GNU bug report logs - #32765
Bug when changing and adding line

Previous Next

Package: sed;

Reported by: Mohamed Akram <mohd.akram <at> outlook.com>

Date: Tue, 18 Sep 2018 21:57:02 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mohamed Akram <mohd.akram <at> outlook.com>
To: "bug-sed <at> gnu.org" <bug-sed <at> gnu.org>
Subject: Bug when changing and adding line
Date: Tue, 18 Sep 2018 21:55:30 +0000
Hi,

Given the following command:

echo foo | sed '{
c\
bar
a\
baz
}'

GNU sed 4.4 prints:

bar

Expected (and on macOS):

bar
baz

Regards,
Mohamed




This bug report was last modified 6 years and 245 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.