On Sat 2004-05-08 Bob Proulx wrote:
> Andreas Schwab wrote:
> > Tobias Reif <address@hidden> 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