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 diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -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
+++ b/scripts/miscellaneous/news.m
@@ -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");