[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug report - uniq
From: |
Jiusheng Chen |
Subject: |
bug report - uniq |
Date: |
Mon, 17 Dec 2007 14:13:05 +0800 |
Hello,
Can someone explain why the following happens?
address@hidden:~/DE_COUNT/loser_percentage_analysis/mysql_outputs$ cat test_uniq
106996516444209225
1
1
1
106996516444209225
1
address@hidden:~/DE_COUNT/loser_percentage_analysis/mysql_outputs$ uniq
test_uniq
106996516444209225
1
106996516444209225
1
address@hidden:~/DE_COUNT/loser_percentage_analysis/mysql_outputs$ uniq -c
test_uniq
1 106996516444209225
3 1
1 106996516444209225
1 1
address@hidden:~/DE_COUNT/loser_percentage_analysis/mysql_outputs$ od -c
test_uniq
0000000 1 0 6 9 9 6 5 1 6 4 4 4 2 0 9 2
0000020 2 5 \n 1 \n 1 \n 1 \n 1 0 6 9 9 6 5
0000040 1 6 4 4 4 2 0 9 2 2 5 \n 1 \n
0000056
address@hidden:~/DE_COUNT/loser_percentage_analysis/mysql_outputs$ sort -u
test_uniq
1
106996516444209225
Thanks,
jschen
- bug report - uniq,
Jiusheng Chen <=