# HG changeset patch # User Markus Mützel # Date 1650610526 -7200 # Node ID 98bff974934573f85bdc28d2be057ac976b532bf # Parent 8a8f82c0235e86b8ff8acd27b205e43797cf1024# Parent d585976cb30add1634ce6d06b59ee987a49ca10c maint: Merge stable to default. diff -r 8a8f82c0235e -r 98bff9749345 scripts/miscellaneous/ls.m --- a/scripts/miscellaneous/ls.m Thu Apr 21 14:52:35 2022 -0700 +++ b/scripts/miscellaneous/ls.m Fri Apr 22 08:55:26 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, '(?