wc -m count is wrong

2008-07-03 Thread Hossain, Syed
Hi gurus, I am surprised that I could not found any posting related to this, I was doing simple character count and here is the output from wc: /home/shossain$ echo 1234 | wc -m 5 /home/shossain$ Obviously I was expecting a count of 4 but wc printed out 5. I have tried different strin

RE: wc -m count is wrong

2008-07-03 Thread Hossain, Syed
, July 03, 2008 2:14 PM To: Hossain, Syed Cc: bug-coreutils@gnu.org Subject: Re: wc -m count is wrong Hossain, Syed wrote: > I am surprised that I could not found any posting related to this, Here is a recent one. :-) http://lists.gnu.org/archive/html/bug-coreutils/2008-04/msg00238.h

RE: wc -m count is wrong

2008-07-07 Thread Hossain, Syed
the issues. Syed -Original Message- From: Andreas Schwab [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2008 5:50 AM To: Hossain, Syed Cc: Bob Proulx; bug-coreutils@gnu.org Subject: Re: wc -m count is wrong "Hossain, Syed" <[EMAIL PROTECTED]> writes: > I can un

RE: wc -m count is wrong

2008-07-07 Thread Hossain, Syed
examples that I saw in the one of the GNU posting i.e. echo "1234" | wc -m prints 5 echo -n "1234" | wc -m prints 4 Thanks again, Syed -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Youngman Sent: Friday, July 04, 2008 3:38 AM To: H