Subject: Re: bug#13897: Linux command - wc

From: Bob Proulx <[email-masked]>
Date: Thu, 7 Mar 2013 11:42:39 -0700

Paul Eggert wrote:
> On 03/07/13 03:38, Francisco José Tena wrote:
> > The next command is returning 5 chars:
> > 
> > $ echo "TEST" | wc -m
> 
> Tha's correct, since the 'echo' is outputting 5 characters:
> T, E, S, T, and newline.

See also the output from od.

  $ echo "TEST" | od -tx1 -c
  0000000  54  45  53  54  0a
            T   E   S   T  \n

Bob