changeset 8688:d7306ecd077a

news.m: use puts, not printf
author John W. Eaton <jwe@octave.org>
date Thu, 05 Feb 2009 17:14:44 -0500
parents f3579c1d6be9
children ddbe87599331
files scripts/ChangeLog scripts/miscellaneous/news.m
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Thu Feb 05 17:04:09 2009 -0500
+++ b/scripts/ChangeLog	Thu Feb 05 17:14:44 2009 -0500
@@ -1,3 +1,7 @@
+2009-02-05  John W. Eaton  <jwe@octave.org>
+
+	* miscellaneous/news.m: Use puts instead of printf.
+
 2009-02-05  Thomas D. Dean  <tomdean@speakeasy.org>
 
 	* polynomial/polyout.m: Replace com2str with num2str, and minor
--- a/scripts/miscellaneous/news.m	Thu Feb 05 17:04:09 2009 -0500
+++ b/scripts/miscellaneous/news.m	Thu Feb 05 17:14:44 2009 -0500
@@ -29,7 +29,7 @@
   if (exist (newsfile, "file"))
     f = fopen (newsfile, "r");
     while (ischar (line = fgets (f)))
-      printf (line);
+      puts (line);
     endwhile
   else
     error ("news: unable to locate NEWS file");