[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
wc (GNU textutils) 1.22 miscounting characters?
From: |
Tim Luoma |
Subject: |
wc (GNU textutils) 1.22 miscounting characters? |
Date: |
Sun, 25 Mar 2001 19:31:41 -0800 (PST) |
This seems like a 'wc' bug to me.
% /bin/echo 12345|/usr/bin/wc -c
6
(shouldn't that be 5 not 6????)
(It is consistent... 'echo |wc -c' gives '1'...... 'echo 1 |wc -c' gives
'2......)
What am I missing?
% wc --version
wc (GNU textutils) 1.22
% uname -a
Linux spock.peak.org 2.2.17 #1 SMP Tue Oct 31 01:53:08 PST 2000 i686 unknown
- wc (GNU textutils) 1.22 miscounting characters?,
Tim Luoma <=