bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

wc -m reports one too many?


From: Tobias Reif
Subject: wc -m reports one too many?
Date: Fri, 7 May 2004 23:23:27 +0200
User-agent: Mutt/1.4.1i

Hi

  $ man wc

says
      
  -m, --chars
      print the character counts

so

  echo f | wc -m

should yield 1.

But I get

  $ echo f | wc -m
        2
  $ echo 'f' | wc -m
        2

Tobi

tobi ~ $ wc --version
wc (coreutils) 5.0
Written by Paul Rubin and David MacKenzie.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
tobi ~ $

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]