pkgsrc-Users archive

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

Re: pkg_alternatives, Darwin and locale

Christian Biere wrote:

What is Apple supposed to fix? History?

Well, try as they may, I fear they cannot do that :)

But maybe they can fix their system so that tr and sed work in en_US locales....

$ export LC_ALL=en_US
$ printf "\254\n" | tr -d '\254'
tr: Illegal byte sequence
$ printf "\254\n" | sed 's/.//g'
$ export LC_ALL=C
$ printf "\254\n" | tr -d '\254'

$ printf "\254\n" | sed 's/.//g'


By the way, this is only a problem in Leopard, from what I can tell. I tried on Tiger and everything works "normally".


Home | Main Index | Thread Index | Old Index