blob: 163de31c317e38a326bcbb91064f0fa71f60b67a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
# $Id$
if test -e tmp; then unlink tmp; fi
if test -e tmp2; then unlink tmp2; fi
cat t.txt | grep '+[a-z|A-Z]' > tmp
sort tmp | uniq -c > tmp2
unlink tmp
sort -n -r tmp2 > uniq.txt
unlink tmp2
cat uniq.txt
|