[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13897: Linux command - wc
From: |
Bob Proulx |
Subject: |
bug#13897: Linux command - wc |
Date: |
Thu, 7 Mar 2013 11:42:39 -0700 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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