Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 14 Jun 2015 17:09:04 +0200
From: Christian Neukirchen <chneukirchen@...il.com>
To: musl@...ts.openwall.com
Cc: Rich Felker <dalias@...c.org>
Subject: Re: Tests needed for byte-based C locale

Szabolcs Nagy <nsz@...t70.net> writes:

> * Christian Neukirchen <chneukirchen@...il.com> [2015-06-14 16:21:56 +0200]:
>> printf 'foo\x80bar\n' | busybox grep f.*b
>> <nothing>
>> printf 'foo\x80bar\n' | LANG=C LC_ALL=C busybox grep f.*b
>> foo???bar
>> printf 'foo\x80bar\n' | LANG=C LC_ALL=C busybox grep f.b
>> <nothing again, why?>
>> 
>
> foo\x80bar does not match f.b
> it should match foo.b

I'm stupid.  It works fine then. :)

-- 
Christian Neukirchen  <chneukirchen@...il.com>  http://chneukirchen.org

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.