# HG changeset patch # User Rik # Date 1604091957 25200 # Node ID 8e38c4f257826dd95ba0fe808d14b9c91b562109 # Parent 9adb4b5bb9462abcb591b7542257a9219c2e7e46# Parent 1684b2366200850d0277270255c88aa1907dd1ae maint: merge stable to default. diff -r 9adb4b5bb946 -r 8e38c4f25782 scripts/miscellaneous/run.m --- a/scripts/miscellaneous/run.m Fri Oct 30 08:48:41 2020 -0700 +++ b/scripts/miscellaneous/run.m Fri Oct 30 14:05:57 2020 -0700 @@ -29,18 +29,18 @@ ## Run @var{script} in the current workspace. ## ## Scripts which reside in directories specified in Octave's load path, and -## which end with the extension @file{".m"}, can be run simply by typing +## which end with the extension @file{.m}, can be run simply by typing ## their name. For scripts not located on the load path, use @code{run}. ## ## The filename @var{script} can be a bare, fully qualified, or relative ## filename and with or without a file extension. If no extension is -## specified, Octave will first search for a script with the @file{".m"} +## specified, Octave will first search for a script with the @file{.m} ## extension before falling back to the script name without an extension. ## ## Implementation Note: If @var{script} includes a path component, then ## @code{run} first changes the working directory to the directory where ## @var{script} is found. Next, the script is executed. Finally, @code{run} -## returns to the original working directory unless @var{script} has +## returns to the original working directory @emph{unless} @var{script} has ## specifically changed directories. ## @seealso{path, addpath, source} ## @end deftypefn