ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Damir Shayhutdinov" <lost404@gmail.com>
To: "Sergey Stepanov" <dlagovna@mail.ru>,
	"ALT Linux Community" <community@lists.altlinux.org>
Subject: Re: [Comm] Неправильная сортировка в консоли?
Date: Thu, 12 Oct 2006 17:41:15 +0400
Message-ID: <679044850610120641s5b58778ai69e462df1116dbd5@mail.gmail.com> (raw)
In-Reply-To: <E1GY0jC-0004HG-00.dlagovna-mail-ru@f74.mail.ru>

> Пошукал в тырнете на предмет допустимых значений, которые
> может принимать системная переменная LC_COLLATE. Нигде этого
> не описано. Подозреваю что допустимые значения - это
> вывод команды locale -a, там в списке есть "C". Так ли это?
Да.

> 2.
> Я даю команду
>
> #LC_COLLATE=C
>
> Проверяю
>
> #set | grep LC_COLLATE
>
> Все в порядке, переменная LC_COLLATE имеет значение C.
>
> Затем даю команду
>
> #locale
>
> В выводимом списке значение переменной LC_COLLATE установлено
> как "ru_RU.KOI8-R"
>
> Я не пойму, это две разных переменных с одинаковым именем?
Нет. locale учитывает значение переменной LC_ALL (которая создана
специально чтобы не надо было переопределять все по отдельности).
Сделайте
LC_ALL= locale
чтобы увидеть это.

  reply	other threads:[~2006-10-12 13:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-12 13:36 ` Sergey Stepanov
2006-10-12 13:41   ` Damir Shayhutdinov [this message]
2006-10-12 17:01     ` Pavel Usischev
2006-10-12 17:32       ` Damir Shayhutdinov
2006-10-12 18:10         ` Pavel Usischev
2006-10-12 18:11         ` Evgenii Terechkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=679044850610120641s5b58778ai69e462df1116dbd5@mail.gmail.com \
    --to=lost404@gmail.com \
    --cc=community@lists.altlinux.org \
    --cc=dlagovna@mail.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git