bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with uniq command


From: Miroslaw Kozielski
Subject: Problem with uniq command
Date: Wed, 21 Feb 2007 09:12:31 +0100
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

Hello,

I think I found a bug in 'uniq' command. I have a text file: bla.txt

/ address@hidden:~/tmp$ cat bla2
ba111.
ba112.
bs112.
bm123.
ba123.
ba111.

/After use option - c ( recede each output line with a count of the number of times the line occurred in the input) I receive wrong output:

/address@hidden:~/tmp$ uniq -c bla2
 * 1 ba111.*
  1 ba112.
  1 bs112.
  1 bm123.
  1 ba123.
  *1 ba111.*

/I think that output should be:

/    *2 ba111*.
  1 ba112.
  1 bs112.
  1 bm123.
  1 ba123.
/
How can I resolve this problem?

Best regards,

Mirek Kozielski



reply via email to

[Prev in Thread] Current Thread [Next in Thread]