[Bug 397244] New: utf-8 breaks sed
https://bugzilla.novell.com/show_bug.cgi?id=397244 Summary: utf-8 breaks sed Product: openSUSE 11.0 Version: RC 1 Platform: i586 OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: koenig@linux.de QAContact: qa@suse.de Found By: --- the sed expression below should strip off everything upto and including the last space. but with utf-8 locale this doesn't work: echo -e 'Intel\xae Core 2 Duo T7300' | LC_ALL=C sed 's/.* //' T7300 echo -e 'Intel\xae Core 2 Duo T7300' | LC_ALL=de_DE sed 's/.* //' T7300 BUT: cho -e 'Intel\xae Core 2 Duo T7300' | LC_ALL=de_DE.utf-8 sed 's/.* //' Intel�T7300 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=397244
User koenig@linux.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=397244#c1
--- Comment #1 from Harald Koenig
https://bugzilla.novell.com/show_bug.cgi?id=397244
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=397244
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=397244#c2
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=397244
User mkoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=397244#c3
Matthias Koenig
participants (1)
-
bugzilla_noreply@novell.com