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

To reply to this bug, email your comments to 64080 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-sed <at> gnu.org:
bug#64080; Package sed. (Thu, 15 Jun 2023 13:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Loimer <thomas.loimer <at> tuwien.ac.at>:
New bug report received and forwarded. Copy sent to bug-sed <at> gnu.org. (Thu, 15 Jun 2023 13:39:02 GMT) Full text and rfc822 format available.

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

From: Thomas Loimer <thomas.loimer <at> tuwien.ac.at>
To: <bug-sed <at> gnu.org>
Subject: 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 324 days ago.

Previous Next


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