# HG changeset patch # User Markus Mützel # Date 1650610489 -7200 # Node ID d585976cb30add1634ce6d06b59ee987a49ca10c # Parent 0d06084693dd90a2c16a7ebe23dbeee92f518ae7 ls.m: Fix typo (bug #62282). diff -r 0d06084693dd -r d585976cb30a scripts/miscellaneous/ls.m --- a/scripts/miscellaneous/ls.m Thu Apr 21 13:46:49 2022 -0700 +++ b/scripts/miscellaneous/ls.m Fri Apr 22 08:54:49 2022 +0200 @@ -71,8 +71,8 @@ if (ispc () && ! isunix ()) if (strncmp (ls_cmd, "ls", 2)) - ## Replace backslashes with forward slashes (unless they escape a glob - ## pattern) + ## Replace backslashes with forward slashes (unless they escape a + ## wildcard character) args = regexprep (args, '\\(?![*?\[\]])', '/'); ## Enclose paths, potentially having spaces, in double quotes: args = strcat ('"', args, '"'); @@ -80,7 +80,7 @@ ## FILENAMES string args = regexprep (args, '(?