[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sed fails to handle bytes with top-bit set in C locale under Mac OS
From: |
Paolo Bonzini |
Subject: |
Re: sed fails to handle bytes with top-bit set in C locale under Mac OS X |
Date: |
Sun, 16 Aug 2009 19:13:45 +0200 |
User-agent: |
Thunderbird 2.0.0.22 (Macintosh/20090605) |
Vincent Lefevre wrote:
> 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.
I can reproduce it, thanks.
Paolo