comparison src/load-path.cc @ 11572:7d6d8c1e471f

Grammarcheck Texinfo for files in src directory.
author Rik <octave@nomad.inbox5.com>
date Wed, 19 Jan 2011 17:51:22 -0800
parents fd0a3ac60b0e
children 06cfda4c07e5
comparison
equal deleted inserted replaced
11571:0e414f837c58 11572:7d6d8c1e471f
1929 execute_pkg_add_or_del (dir, "PKG_DEL"); 1929 execute_pkg_add_or_del (dir, "PKG_DEL");
1930 } 1930 }
1931 1931
1932 DEFUN (genpath, args, , 1932 DEFUN (genpath, args, ,
1933 "-*- texinfo -*-\n\ 1933 "-*- texinfo -*-\n\
1934 @deftypefn {Built-in Function} {} genpath (@var{dir})\n\ 1934 @deftypefn {Built-in Function} {} genpath (@var{dir})\n\
1935 @deftypefnx {Built-in Function} {} genpath (@var{dir}, @var{skip}, @dots{})\n\ 1935 @deftypefnx {Built-in Function} {} genpath (@var{dir}, @var{skip}, @dots{})\n\
1936 Return a path constructed from @var{dir} and all its subdirectories.\n\ 1936 Return a path constructed from @var{dir} and all its subdirectories.\n\
1937 If additional string parameters are given, the resulting path will \n\ 1937 If additional string parameters are given, the resulting path will \n\
1938 exclude directories with those names.\ 1938 exclude directories with those names.\n\
1939 @end deftypefn") 1939 @end deftypefn")
1940 { 1940 {
1941 octave_value retval; 1941 octave_value retval;
1942 1942
1943 octave_idx_type nargin = args.length (); 1943 octave_idx_type nargin = args.length ();
2104 directory name to the current path. If @var{option} is @samp{\"-end\"}\n\ 2104 directory name to the current path. If @var{option} is @samp{\"-end\"}\n\
2105 or 1, append the directory name to the current path.\n\ 2105 or 1, append the directory name to the current path.\n\
2106 Directories added to the path must exist.\n\ 2106 Directories added to the path must exist.\n\
2107 \n\ 2107 \n\
2108 In addition to accepting individual directory arguments, lists of\n\ 2108 In addition to accepting individual directory arguments, lists of\n\
2109 directory names separated by @code{pathsep} are also accepted. For example,\n\ 2109 directory names separated by @code{pathsep} are also accepted. For example:\n\
2110 \n\ 2110 \n\
2111 @example\n\ 2111 @example\n\
2112 addpath (\"dir1:/dir2:~/dir3\");\n\ 2112 addpath (\"dir1:/dir2:~/dir3\");\n\
2113 @end example\n\ 2113 @end example\n\
2114 @seealso{path, rmpath, genpath, pathdef, savepath, pathsep}\n\ 2114 @seealso{path, rmpath, genpath, pathdef, savepath, pathsep}\n\
2215 "-*- texinfo -*-\n\ 2215 "-*- texinfo -*-\n\
2216 @deftypefn {Built-in Function} {} rmpath (@var{dir1}, @dots{})\n\ 2216 @deftypefn {Built-in Function} {} rmpath (@var{dir1}, @dots{})\n\
2217 Remove @var{dir1}, @dots{} from the current function search path.\n\ 2217 Remove @var{dir1}, @dots{} from the current function search path.\n\
2218 \n\ 2218 \n\
2219 In addition to accepting individual directory arguments, lists of\n\ 2219 In addition to accepting individual directory arguments, lists of\n\
2220 directory names separated by @code{pathsep} are also accepted. For example,\n\ 2220 directory names separated by @code{pathsep} are also accepted. For example:\n\
2221 \n\ 2221 \n\
2222 @example\n\ 2222 @example\n\
2223 rmpath (\"dir1:/dir2:~/dir3\");\n\ 2223 rmpath (\"dir1:/dir2:~/dir3\");\n\
2224 @end example\n\ 2224 @end example\n\
2225 @seealso{path, addpath, genpath, pathdef, savepath, pathsep}\n\ 2225 @seealso{path, addpath, genpath, pathdef, savepath, pathsep}\n\