ファイル名でソートする

00readme returns

537 名前: 名称未設定 投稿日: 2007/08/13(月) 07:51:16 ID:s8HPCwcf0
    数字でファイル名をつけたものをソートすると、
    1
    10
    11
    2
    3
    4
    5
    6
    7
    8
    9
    と成っちゃう
    1の次は2じゃろが、
    なんで10をもってくるんじゃい
    バカタレがぁ。
    こんなwindowsは使えません。

538 名前: 名称未設定 [sage] 投稿日: 2007/08/13(月) 09:09:15 ID:lSRPTh6+0
    >>537
    あるあるwwwwだからWinでファイル名つけるときは01,02とかしてるww

ワラタ.
その手の「技」は Unix や DOS の文化だと思ってましたけどねー google:00readme とか.
あとは /etc/rc?.d の中を初めて見たときも「なんじゃこれ」だった記憶が.以下手元のお仕事環境より.

/etc/rc3.d$ ls -al
lrwxrwxrwx 1 root root 19 Apr 28 09:50 K05saslauthd -> ../init.d/saslauthd
lrwxrwxrwx 1 root root 16 Apr 28 09:50 K10psacct -> ../init.d/psacct
lrwxrwxrwx 1 root root 13 Apr 28 09:51 K20nfs -> ../init.d/nfs
lrwxrwxrwx 1 root root 14 Apr 28 09:50 K24irda -> ../init.d/irda
lrwxrwxrwx 1 root root 19 Apr 28 09:53 K35vncserver -> ../init.d/vncserver
lrwxrwxrwx 1 root root 17 Apr 28 09:52 K35winbind -> ../init.d/winbind
lrwxrwxrwx 1 root root 14 Apr 28 10:00 K36lisa -> ../init.d/lisa
lrwxrwxrwx 1 root root 17 Apr 28 09:51 K50netdump -> ../init.d/netdump
lrwxrwxrwx 1 root root 15 Apr 28 10:08 K50snmpd -> ../init.d/snmpd
lrwxrwxrwx 1 root root 19 Apr 28 10:08 K50snmptrapd -> ../init.d/snmptrapd
lrwxrwxrwx 1 root root 16 Jul 17 22:17 K73ypbind -> ../init.d/ypbind
lrwxrwxrwx 1 root root 14 Jul 17 22:21 K74nscd -> ../init.d/nscd
lrwxrwxrwx 1 root root 14 Apr 28 09:52 K74ntpd -> ../init.d/ntpd
lrwxrwxrwx 1 root root 15 Apr 28 09:39 K89rdisc -> ../init.d/rdisc
lrwxrwxrwx 1 root root 19 Apr 28 09:51 K99readahead -> ../init.d/readahead
lrwxrwxrwx 1 root root 25 Apr 28 09:51 K99readahead_early -> ../init.d/readahead_early
lrwxrwxrwx 1 root root 23 Apr 28 09:51 S00microcode_ctl -> ../init.d/microcode_ctl
lrwxrwxrwx 1 root root 15 Apr 28 09:50 S05kudzu -> ../init.d/kudzu
lrwxrwxrwx 1 root root 18 Apr 28 09:51 S06cpuspeed -> ../init.d/cpuspeed
lrwxrwxrwx 1 root root 18 Apr 28 09:51 S08iptables -> ../init.d/iptables
lrwxrwxrwx 1 root root 17 Apr 28 09:50 S10network -> ../init.d/network
lrwxrwxrwx 1 root root 24 Apr 28 11:39 S11apt-autoupdate -> ../init.d/apt-autoupdate
lrwxrwxrwx 1 root root 16 Apr 28 09:50 S12syslog -> ../init.d/syslog
lrwxrwxrwx 1 root root 20 Apr 28 09:51 S13irqbalance -> ../init.d/irqbalance
lrwxrwxrwx 1 root root 17 Jul 17 22:21 S14nfslock -> ../init.d/nfslock
lrwxrwxrwx 1 root root 16 Apr 28 09:50 S20random -> ../init.d/random
lrwxrwxrwx 1 root root 16 Apr 28 09:51 S24pcmcia -> ../init.d/pcmcia
lrwxrwxrwx 1 root root 14 Apr 28 09:51 S26apmd -> ../init.d/apmd
lrwxrwxrwx 1 root root 16 Jul 17 22:21 S28autofs -> ../init.d/autofs
lrwxrwxrwx 1 root root 15 Jul 20 16:06 S30vmadd -> ../init.d/vmadd
lrwxrwxrwx 1 root root 20 Jul 20 16:06 S30vmadd-scsi -> ../init.d/vmadd-scsi
lrwxrwxrwx 1 root root 25 Jul 20 16:06 S35vmadd-heartbeat -> ../init.d/vmadd-heartbeat
lrwxrwxrwx 1 root root 24 Jul 20 16:06 S35vmadd-shutdown -> ../init.d/vmadd-shutdown
lrwxrwxrwx 1 root root 24 Jul 20 16:06 S35vmadd-timesync -> ../init.d/vmadd-timesync
lrwxrwxrwx 1 root root 16 Apr 28 09:51 S40smartd -> ../init.d/smartd
lrwxrwxrwx 1 root root 14 Apr 28 09:51 S55sshd -> ../init.d/sshd
lrwxrwxrwx 1 root root 20 Apr 28 09:50 S56rawdevices -> ../init.d/rawdevices
lrwxrwxrwx 1 root root 16 Apr 28 09:51 S56xinetd -> ../init.d/xinetd
lrwxrwxrwx 1 root root 18 Apr 28 09:51 S80sendmail -> ../init.d/sendmail
lrwxrwxrwx 1 root root 13 Apr 28 09:48 S85gpm -> ../init.d/gpm
lrwxrwxrwx 1 root root 15 Apr 28 09:51 S90crond -> ../init.d/crond
lrwxrwxrwx 1 root root 13 Apr 28 09:52 S90xfs -> ../init.d/xfs
lrwxrwxrwx 1 root root 17 Apr 28 09:47 S95anacron -> ../init.d/anacron
lrwxrwxrwx 1 root root 13 Apr 28 09:50 S95atd -> ../init.d/atd
lrwxrwxrwx 1 root root 15 Apr 28 11:33 S97rhnsd -> ../init.d/rhnsd
lrwxrwxrwx 1 root root 11 Apr 28 09:50 S99local -> ../rc.local

Explorer のソート順序

ちなみに,最近の Windows Explorer は「1の次は2じゃろが」という声にお応えしてデフォルトのソート方式が変わっています.
ただしあちこちに inconsistency が残っているというのは,Sorting It All Out での指摘のとおり.

コメント欄の盛り上がり方が面白い……