sed-devel
[Top][All Lists]
Advanced

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

Changed behavior in sed 4.6


From: Jan Palus
Subject: Changed behavior in sed 4.6
Date: Thu, 20 Dec 2018 19:41:19 +0100
User-agent: NeoMutt/20180716

Hi,

I've just happened to notice a difference in behavior between sed 4.5 and 4.6
when building VirtualBox. It seems to be locale dependent:

$ echo 'foo(bar '|LC_ALL=C sed -e 's/\([^*] *\)\bbar\b/\1foo */g'
foo(bar

$ echo 'foo(bar '|LC_ALL=C.UTF-8 sed -e 's/\([^*] *\)\bbar\b/\1foo */g'
foo(foo *

In 4.5 both results are the same -- same as the second output with
LC_ALL=C.UTF-8.

Would you mind taking a look to see whether above change is intentional?


Regards
Jan



reply via email to

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