[MacPorts] #20686: gsed fails to handle non-ASCII characters (bytes with top-bit set) in C locale

MacPorts noreply at macports.org
Mon Aug 17 04:14:48 PDT 2009


#20686: gsed fails to handle non-ASCII characters (bytes with top-bit set) in C
locale
---------------------------------+------------------------------------------
 Reporter:  vinc17@…             |       Owner:  nox@…           
     Type:  defect               |      Status:  new             
 Priority:  Normal               |   Milestone:                  
Component:  ports                |     Version:  1.7.1           
 Keywords:                       |        Port:  gsed            
---------------------------------+------------------------------------------

Comment(by nox@…):

 I don't get an empty line with Mac OS X sed:
 {{{
 Bellcross:~ nox$ which sed gsed
 /usr/bin/sed
 /opt/local/bin/gsed
 Bellcross:~ nox$ echo "abécd" | LC_ALL=C sed -e 's/.*//'
 écd
 Bellcross:~ nox$ echo "abécd" | LC_ALL=C gsed -e 's/.*//'
 écd
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/20686#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list