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
Proulx; bug-coreutils@gnu.org Subject: Re: wc -m count is wrong On Thu, Jul 3, 2008 at 8:27 PM, Hossain, Syed [EMAIL PROTECTED] wrote: Bob Thanks for getting back to me promptly. I can understand now why wc increasing it by one but it is obviously, the explanation you gave me should be documented

Re: wc -m count is wrong

2008-07-04 Thread James Youngman
On Thu, Jul 3, 2008 at 8:27 PM, Hossain, Syed [EMAIL PROTECTED] wrote: Bob Thanks for getting back to me promptly. I can understand now why wc increasing it by one but it is obviously, the explanation you gave me should be documented in man page or info page, agreed? Thanks. How should we

Re: wc -m count is wrong

2008-07-04 Thread Andreas Schwab
Hossain, Syed [EMAIL PROTECTED] writes: I can understand now why wc increasing it by one It does not do that. It just does not ignore any character. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key

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

Re: wc -m count is wrong

2008-07-03 Thread Bob Proulx
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.html /home/shossain$ echo 1234 | wc -m 5 Obviously I was expecting a count of 4 but wc printed out 5. I have