tr A-Z a-z in locales other than C

perryh at pluto.rain.com perryh at pluto.rain.com
Wed Jun 8 04:24:56 UTC 2011


Jilles Tjoelker <jilles at stack.nl> wrote:

> On Tue, Jun 07, 2011 at 04:24:43AM +0400, Andrey Chernov wrote:
...
> > Back to the ports: it is not hard to run _any_ port's make
> > or configure with LANG=C directly by the ports Mk system to
> > eliminate that problem.
>
> True, but some ports install scripts with problematic tr calls.

So part of the porting effort may be to provide a patch that
prepends something along the lines of "env LANG=C" to tr calls in
those scripts.  It would surely not be the only kind of situation
in which a port needed to patch the ported code to get it to run
correctly on FreeBSD :)


More information about the freebsd-i18n mailing list