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

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

sed fails to handle bytes with top-bit set in C locale under Mac OS X


From: Vincent Lefevre
Subject: sed fails to handle bytes with top-bit set in C locale under Mac OS X
Date: Sun, 16 Aug 2009 01:17:08 +0200
User-agent: Mutt/1.5.20-6017-vl-r30587 (2009-08-13)

Hi,

With GNU sed version 4.2.1 under Mac OS X 10.4.11 (using either
ISO-8859-1 or UTF-8 for the shell and the terminal), I get:

$ echo "abécd" | LC_ALL=C sed -e 's/.*//'
écd

whereas under Linux or with the Mac OS X sed (/usr/bin/sed), there's
no such problem: I get a blank line.

-- 
Vincent Lefèvre <address@hidden> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)




reply via email to

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