changeset 29012:1684b2366200 stable

run.m: Improve documentation. * run.m: Improve documentation.
author Rik <rik@octave.org>
date Fri, 30 Oct 2020 14:05:26 -0700
parents 16b14c431348
children 8e38c4f25782 df307ee1fb30
files scripts/miscellaneous/run.m
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/miscellaneous/run.m	Fri Oct 30 13:58:11 2020 +0100
+++ b/scripts/miscellaneous/run.m	Fri Oct 30 14:05:26 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