comparison scripts/miscellaneous/ls.m @ 18989:0b657f4e7780 gui-release

maint: Merge stable to gui-release.
author Rik <rik@octave.org>
date Tue, 05 Aug 2014 17:51:47 -0700
parents 1e9cb13faa7a 082063dc2165
children b517b08d2e24
comparison
equal deleted inserted replaced
18983:724fc0a9eeb1 18989:0b657f4e7780
66 ## Strip UNIX directory character which looks like an option to dir cmd. 66 ## Strip UNIX directory character which looks like an option to dir cmd.
67 if (args{end}(end) == '/') 67 if (args{end}(end) == '/')
68 args{end}(end) = ""; 68 args{end}(end) = "";
69 endif 69 endif
70 else 70 else
71 args = regexprep (args, '([^\w.*? -])', '\\$1'); 71 args = regexprep (args, '([^\w.*?-])', '\\$1');
72 endif 72 endif
73 args = sprintf ("%s ", args{:}); 73 args = sprintf ("%s ", args{:});
74 else 74 else
75 args = ""; 75 args = "";
76 endif 76 endif