From: Felipe Vieira <fmv1992@gmail.com>
To: cygwin@cygwin.com
Subject: uniq not working
Date: Tue, 11 Oct 2016 10:56:00 -0000 [thread overview]
Message-ID: <CAMZ6u3uuA8Jvz5pKtcrmb6M01WfEFVBduCPv23iu1FgKb=C+UQ@mail.gmail.com> (raw)
Dear mailing list,
the uniq program seems to be faulty on my cygwin:
/tmp » cat u.txt
1
2
3
4
5
1
2
3
6
7
8
/tmp » uniq -c u.txt
1 1
1 2
1 3
1 4
1 5
1 1
1 2
1 3
1 6
1 7
1 8
1
/tmp »
As you can see it does not eliminate duplicate lines.
This file was created with vim. Same results if created with windows notepad.
What am I missing?
Best,
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next reply other threads:[~2016-10-11 10:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-11 10:56 Felipe Vieira [this message]
2016-10-11 10:58 ` Csaba Raduly
2016-10-11 14:20 ` Henry S. Thompson
2016-10-11 14:33 ` Andrey Repin
2016-10-11 16:02 ` Henry S. Thompson
2016-10-11 12:54 ` Markus Schönhaber
2016-10-13 16:58 Felipe Vieira
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAMZ6u3uuA8Jvz5pKtcrmb6M01WfEFVBduCPv23iu1FgKb=C+UQ@mail.gmail.com' \
--to=fmv1992@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).