"Note: 'uniq' does not detect repeated lines unless they are adjacent. You may want to sort the input first, or use 'sort -u' without 'uniq'."
]]>grep -c WAIT file
sort file | uniq -cd
]]>cat file | uniq -cd
output:
4 WAIT
I can't figure out what the problem is please help
]]>