GNU bug report logs - #64080
e execute command within braces

Previous Next

Package: sed;

Reported by: Thomas Loimer <thomas.loimer <at> tuwien.ac.at>

Date: Thu, 15 Jun 2023 13:39:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Thomas Loimer <thomas.loimer <at> tuwien.ac.at>
To: 64080 <at> debbugs.gnu.org
Subject: bug#64080: e execute command within braces
Date: Thu, 15 Jun 2023 15:28:26 +0200
Without braces, the expected outcome:

$ echo -e "1671779521\n1671952321" | sed 's/^/date -I -d @/; e'
2022-12-23
2022-12-25

With braces, I would expect the same outcome (the pattern match for 
completenes),

$ echo -e "1671779521\n1671952321" | sed '/./ {s/^/date -I -d @/; e }'
sed: -e expression #1, char 0: unmatched `{'

As a flag to the s command, e works. Semicolon after e does not help.
Do I miss anything?




This bug report was last modified 2 years and 1 day ago.

Previous Next


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