[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-cflow] Bug on source wc command
From: |
Sergio Spano S186317 |
Subject: |
[bug-cflow] Bug on source wc command |
Date: |
Thu, 09 Jan 2014 23:33:28 +0100 |
User-agent: |
RoundCube Webmail/0.2.1 |
Hello,
I'm writing to report a strange behaviour of the program, written in this
page:
http://www.gnu.org/software/cflow/manual/html_node/Source-of-wc-command.html#Source-of-wc-command
For instance, if I try to use that program to count words,lines and chars
of a file like this:
{ #include <stdio.h> test }
This is the output with the wc ( wc (GNU coreutils) 8.21):
~$ wc test
1 5 28 test
And this is with the version from the website:
~$ ./gnuwc test
1 4 28 test
I wrote a simple version, based on it; the source code is attached.
Regards, Sergio
mywc.c
Description: Text Data
- [bug-cflow] Bug on source wc command,
Sergio Spano S186317 <=