Re: wordcount (wc)

2008-04-21 Thread Erik Auerswald
Hi, On Mon, Apr 21, 2008 at 04:27:35PM +0200, Almer S. Tigelaar wrote: > I have been using the 'wc' program (version 5.97) to manually verify > some counts outputted by a component part of an application I am > developing. > > I noticed that: > echo "12345" | wc -m > Gives me '6' as output.

Re: wordcount (wc)

2008-04-21 Thread Brock Noland
On Mon, Apr 21, 2008 at 9:27 AM, Almer S. Tigelaar <[EMAIL PROTECTED]> wrote: > Hello, > > I have been using the 'wc' program (version 5.97) to manually verify > some counts outputted by a component part of an application I am > developing. > > I noticed that: > echo "12345" | wc -m >

wordcount (wc)

2008-04-21 Thread Almer S. Tigelaar
Hello, I have been using the 'wc' program (version 5.97) to manually verify some counts outputted by a component part of an application I am developing. I noticed that: echo "12345" | wc -m Gives me '6' as output. But I don't entirely understand why. On multi-line input 'wc' seems to add