- 空间积分
- 860
- 信誉积分
- 115
- UID
- 17176286
- 阅读权限
- 100
- 积分
- 27235
- 帖子
- 15711
- 精华
- 7
- 可用积分
- 27236
- 专家积分
- 105
- 在线时间
- 5461 小时
- 注册时间
- 2007-11-05
- 最后登录
- 2012-02-09
 
- 帖子
- 15711
- 主题
- 57
- 精华
- 7
- 可用积分
- 27236
- 专家积分
- 105
- 在线时间
- 5461 小时
- 注册时间
- 2007-11-05
- 最后登录
- 2012-02-09
- 论坛徽章:
- 0
|
发表于 2010-03-15 17:44:36
|显示全部楼层
回复 5# bbgg1983
男人知道:
asort(s [, d]) Returns the number of elements in the source
array s. The contents of s are sorted using
gawk's normal rules for comparing values, and
the indices of the sorted values of s are
replaced with sequential integers starting with
1. If the optional destination array d is spec-
ified, then s is first duplicated into d, and
then d is sorted, leaving the indices of the
source array s unchanged. |
|