ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "A.Kitouwaykin" <cetus@newmail.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Неправильная сортировка в консоли?
Date: Thu, 12 Oct 2006 09:59:29 +0400
Message-ID: <20061012095929.0fd08cb1.cetus@newmail.ru> (raw)
In-Reply-To: <679044850610111313r7d3edc0dy9ec4e7b8712ecbe6@mail.gmail.com>

On Thu, 12 Oct 2006 00:13:38 +0400
"Damir Shayhutdinov" <lost404@gmail.com> wrote:

> > Объясните пожалуйста, почему так происходит.
> > Вопрос: в чем причина неправильной сортировки? Как исправить?
> Это настройки локали (LC_COLLATE)
> 
> Если сделать LC_COLLATE=C ls -1
> то получится как в винде.
> _______________________________________________


$ ls -1
_
а
А
аа
а_а
аб
а_б
аф
а_ф
аш
а_ш
б
Б
в
г
д
е
ё
ж
з
и
й
к
л
м
н
о
п
р
с
т
у
ф
х
ц
ч
ш
щ
ъ
ы
ь
э
ю
я



$ LC_COLLATE=C ls -1
_
ё
ю
а
а_а
а_б
а_ф
а_ш
аа
аб
аф
аш
б
ц
д
е
ф
г
х
и
й
к
л
м
н
о
п
я
р
с
т
у
ж
в
ь
ы
з
ш
э
щ
ч
ъ
А
Б

-- 
Китайкин Анатолий Константинович
ОАО "Радиоавионика", СПб


      reply	other threads:[~2006-10-12  5:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-11 19:49 Sergey Stepanov
2006-10-11 20:13 ` Damir Shayhutdinov
2006-10-12  5:59   ` A.Kitouwaykin [this message]

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=20061012095929.0fd08cb1.cetus@newmail.ru \
    --to=cetus@newmail.ru \
    --cc=community@lists.altlinux.org \
    /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