Re: [dev] [sbase][PATCH] wc: Show line/char/word count even if it's zero

2015-04-01 Thread Dimitris Papastamos
On Wed, Apr 01, 2015 at 03:15:17AM +0300, Dionysis Grigoropoulos wrote: > Fix a bug where if a line, character or word count is zero, it's not > printed Good catch, applied thanks! :)

[dev] [sbase][PATCH] wc: Show line/char/word count even if it's zero

2015-03-31 Thread Dionysis Grigoropoulos
Fix a bug where if a line, character or word count is zero, it's not printed --- wc.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wc.c b/wc.c index 0ff3b8d..0b196d8 100644 --- a/wc.c +++ b/wc.c @@ -14,11 +14,11 @@ output(const char *str, size_t nc, size_t nl, size_