[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: uniq -c outputs SPACES NUMBER TAB LINE
From: |
Jim Meyering |
Subject: |
Re: uniq -c outputs SPACES NUMBER TAB LINE |
Date: |
Fri, 18 Jul 2003 09:51:48 +0200 |
Clement Wang <address@hidden> wrote:
> echo foo |uniq -c
>
> outputs:
> 1\tfoo
>
> however, it seems like on other unix systems (e.g. tru64) uniq -c output
> a space instead of a tab.
...
> uniq (textutils) 2.0.14
Thank you for reporting that bug. POSIX requires a space.
It is present even in the latest coreutils release,
ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.0.1.tar.bz2
(coreutils is the union of fileutils, textutils, and sh-utils)
but I've just fixed it for the next test release.