qse/ase/test/awk/histsort.awk

9 lines
116 B
Awk
Raw Normal View History

2006-09-02 15:08:50 +00:00
{
if (data[$0]++ == 0) lines[++count] = $0;
}
END {
for (i = 1; i <= count; i++) print lines[i];
}