On Sat 2004-05-08 Bob Proulx wrote:
> Andreas Schwab wrote:
> > Tobias Reif <[EMAIL PROTECTED]> writes:
> > 
> > >   echo f | wc -m
> > >
> > > should yield 1.
> > 
> > No, you forgot to count the newline.
> > 
> > $ printf f | wc -m
> > 1
> 
> For more information use 'od' to dump each character for your
> inspection.
> 
>   echo f | od -c
>   0000000   f  \n
>   0000002
> 
>   printf f | od -c
>   0000000   f
>   0000001

Sorry for having bothered you, I should've known that there can't be
such a severe bug in such a basic GNU tool :)

Thank you very much,

Tobi

-- 
Vim users, don't forget to
   http://iccf-holland.org/donate.html


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to