随笔 - 53, 文章 - 0, 评论 - 3, 引用 - 0
数据加载中……

Solaris 的 sort 有问题

今天我用Solaris的sort命令排序如下内容。
 <ref bean="NoteDDO100"/>^M
 <ref bean="NoteDDO101"/>^M
 <ref bean="NoteDDO102"/>^M
 <ref bean="NoteDDO103"/>^M
 <ref bean="NoteDDO104"/>^M
 <ref bean="NoteDDO105"/>^M
 <ref bean="NoteDDO106"/>^M
 <ref bean="NoteDDO107"/>^M
 <ref bean="NoteDDO108"/>^M
 <ref bean="NoteDDO109"/>^M
 <ref bean="NoteDDO110"/>^M
 <ref bean="NoteDDO111"/>^M
 <ref bean="NoteDDO112"/>^M
 <ref bean="NoteDDO113"/>^M
 <ref bean="NoteDDO114"/>^M
 <ref bean="NoteDDO115"/>^M
 <ref bean="NoteDDO116"/>^M
 <ref bean="NoteDDO117"/>^M
 <ref bean="NoteDDO118"/>^M
 <ref bean="NoteDDO119"/>^M
 <ref bean="NoteDDO120"/>^M
 <ref bean="NoteDDO121"/>^M
得到的结果如下:
 <ref bean="NoteDDO121"/>
 <ref bean="NoteDDO119"/>
 <ref bean="NoteDDO118"/>
 <ref bean="NoteDDO117"/>
 <ref bean="NoteDDO116"/>
 <ref bean="NoteDDO115"/>
 <ref bean="NoteDDO114"/>
 <ref bean="NoteDDO113"/>
 <ref bean="NoteDDO112"/>
 <ref bean="NoteDDO111"/>
 <ref bean="NoteDDO109"/>
 <ref bean="NoteDDO108"/>
 <ref bean="NoteDDO107"/>
 <ref bean="NoteDDO106"/>
 <ref bean="NoteDDO105"/>
 <ref bean="NoteDDO104"/>
 <ref bean="NoteDDO103"/>
 <ref bean="NoteDDO102"/>
 <ref bean="NoteDDO101"/>
 <ref bean="NoteDDO120"/>
 <ref bean="NoteDDO110"/>
 <ref bean="NoteDDO100"/>

请注意粗体的内容, 看到这样的结果,我觉得真是不可思议。
有谁能解释一下吗?或者这是solaris的Bug。

posted on 2005-10-21 09:47 InPractice 阅读(305) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航: