changeset 12516:3d6584617da0

Add fileread to documentation.
author Rik <octave@nomad.inbox5.com>
date Thu, 17 Mar 2011 21:41:15 -0700
parents 88d1134bb095
children c2e8c9d9e284
files doc/ChangeLog doc/interpreter/io.txi scripts/ChangeLog scripts/io/fileread.m
diffstat 4 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ChangeLog	Fri Mar 18 00:01:28 2011 -0400
+++ b/doc/ChangeLog	Thu Mar 17 21:41:15 2011 -0700
@@ -1,3 +1,7 @@
+2010-03-17  Rik  <octave@nomad.inbox5.com>
+
+	* interpreter/io.txi: Add fileread to documentation.
+
 2010-03-17  Rik  <octave@nomad.inbox5.com>
 
 	* interpreter/system.txi: Add gethostname to documentation
--- a/doc/interpreter/io.txi	Fri Mar 18 00:01:28 2011 -0400
+++ b/doc/interpreter/io.txi	Thu Mar 17 21:41:15 2011 -0700
@@ -176,6 +176,8 @@
 
 @DOCSTRING(load)
 
+@DOCSTRING(fileread)
+
 There are three functions that modify the behavior of @code{save}.
 
 @DOCSTRING(default_save_options)
--- a/scripts/ChangeLog	Fri Mar 18 00:01:28 2011 -0400
+++ b/scripts/ChangeLog	Thu Mar 17 21:41:15 2011 -0700
@@ -1,3 +1,7 @@
+2010-03-17  Rik  <octave@nomad.inbox5.com>
+
+	* io/fileread.m: Add seealso reference to sscanf.
+
 2011-03-05  Ben Abbott <bpabbott@mac.com>
 
 	* plot/colorbar.m: Allow location to be specified as a property.
--- a/scripts/io/fileread.m	Fri Mar 18 00:01:28 2011 -0400
+++ b/scripts/io/fileread.m	Thu Mar 17 21:41:15 2011 -0700
@@ -18,8 +18,8 @@
 
 ## -*- texinfo -*-
 ## @deftypefn {Function File} {@var{str} =} fileread (@var{filename})
-## Read the contents of a file and return it as a string.
-## @seealso{fread, textread}
+## Read the contents of @var{filename} and return it as a string.
+## @seealso{fread, textread, sscanf}
 ## @end deftypefn
 
 function str = fileread (filename)