From 240305aa4d362226d0850a897fefba004cb113b0 Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Sat, 13 Mar 2010 07:54:40 -0800 Subject: [PATCH] random-word: write output without newline --- random-word.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/random-word.c b/random-word.c index c75047b..b55bd1d 100644 --- a/random-word.c +++ b/random-word.c @@ -106,7 +106,7 @@ int main(void) fclose(fp); word = choose_random_word(dict); - printf("%s\n", word); + fputs(word, stdout); return 0; } -- 1.6.6.rc1.39.g9a42