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

Bob


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

Reply via email to