[Top][All Lists]

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

Re: wc -m count is wrong

From: James Youngman
Subject: Re: wc -m count is wrong
Date: Fri, 4 Jul 2008 08:37:57 +0100

On Thu, Jul 3, 2008 at 8:27 PM, Hossain, Syed <address@hidden> wrote:
> Bob
> Thanks for getting back to me promptly. I can understand now why wc
> increasing it by one but it is obviously, the explanation you gave me
> should be documented in man page or info page, agreed? Thanks.

How should we change the wc manual page, then?    Currently it says:

       wc - print newline, word, and byte counts for each file

       wc [OPTION]... [FILE]...
       wc [OPTION]... --files0-from=F

       Print newline, word, and byte counts for each FILE, and a total line if
       more than one FILE is specified.  With no FILE, or when FILE is -, read
       standard input.

       -c, --bytes
              print the byte counts

Personally, I find this quite clear; newlines are bytes too.  But,
what change do you propose?


reply via email to

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