* [Comm] sort and perl string sorting difference
@ 2005-07-28 21:03 Alex Murygin
0 siblings, 0 replies; only message in thread
From: Alex Murygin @ 2005-07-28 21:03 UTC (permalink / raw)
To: community
Добрый день.
Столкнулся с такой проблеммой.
sort и perl немного по разному сортируют строки.
Например.
000f,000-f
sort <<EOF
000f
000-f
EOF
000f
000-f
но perl
print '000-f' cmp '000f';
возвращает -1
и кто кроме меня виноват? :)
--
Alex Murygin
AITOC, Inc - ecommerce solution provider and web development company
www.aitoc.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-28 21:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-28 21:03 [Comm] sort and perl string sorting difference Alex Murygin
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