|
Removing duplicate lines ignore case
hi,
I have the following input in file:
abc
ab
a
AB
b
c
a
C
B
When I use uniq -u file,the out put file is:
abc
ab
AB
c
v
B
C
b
Unfortunately, the uniq is not able to ignore case.
How can I check the file in order my output file will be:
abc
v
Thanks, Roy.
|