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
