changeset 24596:49876d80d110 stable

doc: Remove backslashes before double quotes in m-file docstrings (bug #52870). Documentation converted from C++ had backslashes before double quotes. * fnmatch.m, md5sum.m, usage.m: Remove backslashes before double quotes.
author Rik <rik@octave.org>
date Sun, 14 Jan 2018 17:13:32 -0800
parents 5ed2e9248ee9
children 56f1f60f35fd 5609e97cc863
files scripts/deprecated/fnmatch.m scripts/deprecated/md5sum.m scripts/deprecated/usage.m
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/deprecated/fnmatch.m	Sun Jan 14 17:04:07 2018 -0800
+++ b/scripts/deprecated/fnmatch.m	Sun Jan 14 17:13:32 2018 -0800
@@ -28,7 +28,7 @@
 ##
 ## @example
 ## @group
-## fnmatch (\"a*b\", @{\"ab\"; \"axyzb\"; \"xyzab\"@})
+## fnmatch ("a*b", @{"ab"; "axyzb"; "xyzab"@})
 ##      @result{} [ 1; 1; 0 ]
 ## @end group
 ## @end example
--- a/scripts/deprecated/md5sum.m	Sun Jan 14 17:04:07 2018 -0800
+++ b/scripts/deprecated/md5sum.m	Sun Jan 14 17:13:32 2018 -0800
@@ -25,13 +25,13 @@
 ## with:
 ##
 ## @example
-## hash (\"md5\", fileread (@var{file}))
+## hash ("md5", fileread (@var{file}))
 ## @end example
 ##
 ## And calls like @code{md5sum (@var{str}, true)} with:
 ##
 ## @example
-## hash (\"md5\", fileread (@var{str}))
+## hash ("md5", fileread (@var{str}))
 ## @end example
 ##
 ## Calculate the MD5 sum of the file @var{file}.
--- a/scripts/deprecated/usage.m	Sun Jan 14 17:04:07 2018 -0800
+++ b/scripts/deprecated/usage.m	Sun Jan 14 17:13:32 2018 -0800
@@ -39,7 +39,7 @@
 ## @example
 ## @group
 ## if (nargin != 2)
-##   usage (\"foo (a, b)\");
+##   usage ("foo (a, b)");
 ## endif
 ## @end group
 ## @end example