bug-gnu-utils
[Top][All Lists]
Advanced

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

BUG: sed 4.2.1 doesn't work properly if non-ASCII characters are include


From: Masato Hashimoto
Subject: BUG: sed 4.2.1 doesn't work properly if non-ASCII characters are included.
Date: Fri, 22 May 2009 13:52:48 +0900

Hi,

This is a bug report.

Product: sed
Version: 4.2.1
Platform: Linux (Arch Linux, i686)
Severity: blocker
Priority: Very high

Overview:
sed 4.2.1 doesn't work properly if non-ASCII characters are included in regex 
pattern.

Sample of actual result (included Japanese hiragana characters):

$ echo "ほげ1 hage1" | sed 's/^\([^ ]\+\)1 /\12 /'
ほげ1 hage1

Expected Result:

$ echo "ほげ1 hage1" | sed 's/^\([^ ]\+\)1 /\12 /'
ほげ2 hage1

Additional info:
sed 4.1.5 works properly.

Regards
-- 
HASHIMOTO, Masato
address@hidden




reply via email to

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