GNU bug report logs - #71119
Order of options bug: -iE vs. -Ei

Previous Next

Package: sed;

Reported by: Jakub Šebek <jakub.sebek.o <at> seznam.cz>

Date: Wed, 22 May 2024 14:49:01 UTC

Severity: normal

To reply to this bug, email your comments to 71119 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#71119; Package sed. (Wed, 22 May 2024 14:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jakub Šebek <jakub.sebek.o <at> seznam.cz>:
New bug report received and forwarded. Copy sent to bug-sed <at> gnu.org. (Wed, 22 May 2024 14:49:02 GMT) Full text and rfc822 format available.

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

From: Jakub Šebek <jakub.sebek.o <at> seznam.cz>
To: <bug-sed <at> gnu.org>
Subject: Order of options bug: -iE vs. -Ei 
Date: Wed, 22 May 2024 08:19:42 +0200 (CEST)
[Message part 1 (text/plain, inline)]
Hello,

I think I found a bug in sed (GNU sed) 4.8 or I have misunderstood its
syntax.


The following command

sed -iE 's/project-[0-9]+\.[0-9]+\.xsd/project-7.3.xsd/' project.xml

does not work how it is expected to. Just switching the arguments to -Ei 
makes it work normally. When -i is not supplied (print to stdout), it also
works correctly.

Thanks


Jakub Šebek

[Message part 2 (text/html, inline)]

This bug report was last modified 219 days ago.

Previous Next


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