RE: wc -m count is wrong

2008-07-07 Thread Hossain, Syed
of 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 understand now why wc

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: Hossain, Syed Cc: Bob

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