ls is broken for non-C locales due to libxo
Marcel Moolenaar
marcel at xcllnt.net
Wed Jun 17 13:58:25 UTC 2015
> On Jun 16, 2015, at 9:53 PM, Andrey Chernov <ache at FreeBSD.org> wrote:
> Should be no any %FF, but single char in pre libxo ls or nothing in post libxo one.
>
> Use
> LANG=ru_RU.KOI8-R
> before touch command. It looks like you create file with name "%FF" instead.
No difference:
fbsdvm64% env LANG=ru_RU.KOI8-R touch `env LANG=ru_RU.KOI8-R printf "\377"`
fbsdvm64% ls -al
total 8
-rw-r--r-- 1 marcel staff 0 Jun 17 06:56 %FF
drwxr-xr-x 3 marcel staff 102 Jun 17 06:56 .
drwxr-xr-x 12 marcel staff 408 Jun 17 06:55 ..
--
Marcel Moolenaar
marcel at xcllnt.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150617/eabdd0a3/attachment.sig>
More information about the freebsd-current
mailing list