NetBSD-Users archive

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

Re: [SOLVED-ish] Performance weirdness with netbsd-9 /usr/bin/grep



On Sat, May 23, 2020 at 10:19:28AM +0100, Sad Clouds wrote:
> On Sat, 23 May 2020 12:30:59 +1000
> Paul Ripke <stix%stix.id.au@localhost> wrote:
>  
> > So has the default value of LC_ALL (or LC_.*) changed recently?
> > 
> 
> I don't use any custom locale settings and this is what I get:
> 
> rp3$ uname -rm
> 9.0_STABLE evbarm
> 
> rp3$ locale
> LANG=""
> LC_CTYPE="C"
> LC_COLLATE="C"
> LC_TIME="C"
> LC_NUMERIC="C"
> LC_MONETARY="C"
> LC_MESSAGES="C"
> LC_ALL=""

Yah, mines a little different:

slave:ksh$ uname -v
NetBSD 9.0_STABLE (SLAVE) #1: Sat Apr 25 11:26:56 AEST 2020  stix@slave:/home/netbsd/netbsd-9/obj.amd64/home/netbsd/netbsd-9/src/sys/arch/amd64/compile/SLAVE
slave:ksh$ locale
LANG="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_COLLATE="C"
LC_TIME="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=""

And I've finally found the missing piece of the puzzle. I've been
steadily migrating my fingers to use mosh, which apparently requires
UTF-8, and happily defines LANG=en_US.UTF-8 for you... "Problem"
solved.

-- 
Paul Ripke
"Great minds discuss ideas, average minds discuss events, small minds
 discuss people."
-- Disputed: Often attributed to Eleanor Roosevelt. 1948.


Home | Main Index | Thread Index | Old Index