Mercurial > hg > octave-nkf
changeset 19406:8cc4a9bb253b
fullfile.m: Match documentation name to function variable name.
* fullfile.m: Match documentation name to function variable name. Add seealso
link to filesep.
* fileparts.m: Change seealso link to filesep.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 04 Oct 2014 20:06:27 -0700 |
parents | d627d9c8adfd |
children | c61deba773ab |
files | scripts/miscellaneous/fileparts.m scripts/miscellaneous/fullfile.m |
diffstat | 2 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/miscellaneous/fileparts.m +++ b/scripts/miscellaneous/fileparts.m @@ -22,7 +22,7 @@ ## ## The input @var{filename} is a string which is parsed. There is no attempt ## to check whether the filename or directory specified actually exists. -## @seealso{fullfile, pathsep} +## @seealso{fullfile, filesep} ## @end deftypefn function [dir, name, ext] = fileparts (filename)
--- a/scripts/miscellaneous/fullfile.m +++ b/scripts/miscellaneous/fullfile.m @@ -17,8 +17,8 @@ ## <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @deftypefn {Function File} {@var{filepath} =} fullfile (@var{dir1}, @var{dir2}, @dots{}, @var{file}) -## @deftypefnx {Function File} {@var{filepaths} =} fullfile (@dots{}, @var{files}) +## @deftypefn {Function File} {@var{filename} =} fullfile (@var{dir1}, @var{dir2}, @dots{}, @var{file}) +## @deftypefnx {Function File} {@var{filenames} =} fullfile (@dots{}, @var{files}) ## Build complete filename from separate parts. ## ## Joins any number of path components intelligently. The return value @@ -37,7 +37,7 @@ ## @end group ## @end example ## -## @seealso{fileparts} +## @seealso{fileparts, filesep} ## @end deftypefn ## Author: Carnë Draug <carandraug@octave.org> @@ -90,3 +90,4 @@ %!assert (fullfile (), "") %!assert (fullfile ("a", "b", {"c", "d"}), {"a/b/c", "a/b/d"}) +