bug-sed
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Jakub Šebek
Subject: bug#71119: Order of options bug: -iE vs. -Ei
Date: Wed, 22 May 2024 08:19:42 +0200 (CEST)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]