Mercurial > hg > octave-nkf
changeset 5456:f315234695b1
[project @ 2005-09-19 19:02:41 by jwe]
author | jwe |
---|---|
date | Mon, 19 Sep 2005 19:02:41 +0000 |
parents | ec44bd0917fe |
children | c6dc1ccd83a9 |
files | src/utils.cc |
diffstat | 1 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/utils.cc +++ b/src/utils.cc @@ -291,7 +291,7 @@ a cell array containing the list of all files that have the same\n\ name in the path. If no files are found, return an empty cell array.\n\ @end deftypefn\n\ -@seealso{file_in_path}") +@seealso{file_in_path, LOADPATH}") { octave_value retval; @@ -344,8 +344,8 @@ For example,\n\ \n\ @example\n\ -file_in_path (LOADPATH, \"nargchk.m\")\n\ - @result{} \"@value{OCTAVEHOME}/share/octave/2.0/m/general/nargchk.m\"\n\ +file_in_path (EXEC_PATH, \"sh\")\n\ + @result{} \"/bin/sh\"\n\ @end example\n\ \n\ If the second argument is a cell array of strings, search each\n\ @@ -355,6 +355,11 @@ If the third optional argument @code{\"all\"} is supplied, return\n\ a cell array containing the list of all files that have the same\n\ name in the path. If no files are found, return an empty cell array.\n\ +\n\ +Note that @code{file_in_path} does not expand leading, trailing, +or doubled colons the way that @code{file_in_loadpath} does. See\n\ +also @xref{LOADPATH}, for an explanation of how colon expansion\n\ +is applied to @code{LOADPATH}.\n\ @seealso{file_in_loadpath}\n\ @end deftypefn") {