X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; q=dns; s=default; b=br+ NhtuIEYwsED/G7QxcPMiKfbbvkHki9+6L0K6tOeD2Vqxpck1hEJ5EjJi3lrev4ZR Q4zeSfTcgtmifmuyib38yS5LYu+G4Y2QMAHw5YuUFnYku4v3F6jgQVaGRnE9Cvnw 6tMdhm+O/TnuEO1qShfB1U+tbY53NCc+3M9eTNrQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; s=default; bh=ZeTsi07i/ RHAFUBhQI+KEMdA79s=; b=UlL+MzAJEuw6B2w/Ld4/6Btcx1lpqye/FfClkijnx UGdYhzWqAixb4AKxoRcHXmrV1y5TTVuM234b1F203FD7dCVm5zzQkcD/qVKhE1sJ UxSGjhC7Vf00BzyBAvNc4ubassQPdvkrEgIQUJTlQHtYkAJVfcx4jzTiqTJr3kDT uQ= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KAM_LINEPADDING,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=dear X-HELO: mail-yw0-f174.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=7ew3XeDsjFeeurToPBMsFz3n/UtceoaxOk4MVw8C6ZI=; b=KG0ACDnlPJsRJ5i/+0ln2pwAndKEPKGIz3Q+PNFnL2yNrzu2wgLsJKZ027fSmn+MTx jdkKgguaULNEVAqi3EVtSwV6+Baas9YVrziyKaQucUuhW0XsD9aKc+4RA3GCrA5P0heM CLht5J1tPBUAm5P4hpTJPdtnNjnzrJ/BU5OkRjYywP33/0WRDLlrG6Pl+dVuTV5zPorW L4cbkvedhYdHMFE55jqZxpCj9a2Tx0ycdg0163k3VowiqUuQ2Qv/LihbH28LE+PgQYIl xcZ/359KWyD7goPZ2/SK+m+CshbN32tnl45MMKYy8Dtj0XiAhhaFQzUZt8valaRSbtQE O5gw== X-Gm-Message-State: AA6/9RkfclMB2HUuUiFSkVZ5yvLYqfAr7EdM8xf+oTa0sT3O5rRLlRmFrAsIBtzyokKndaZxOBpTmxqpgLjSlg== X-Received: by 10.13.192.65 with SMTP id b62mr2445155ywd.285.1476182583623; Tue, 11 Oct 2016 03:43:03 -0700 (PDT) MIME-Version: 1.0 From: Felipe Vieira Date: Tue, 11 Oct 2016 07:43:03 -0300 Message-ID: Subject: uniq not working To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u9BAhPCb029291 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