Quote:
Originally Posted by ilan
you can use uniq.
can be like this:
for i in `more logreport | sort |uniq `; do echo "no.of time &i:`grep -c $i logreport`"; done
-ilan
|
stand corrected!!
My code works only for uniq words
-ilan
PS:not getting any idea on top of my head to serve your question!!