Mercurial > octave-dspies
view test/bug-38565.tst @ 18987:082063dc2165 stable
ls.m: Fix bug listing directories with spaces in name (bug #42920).
* ls.m: Escape spaces in directory names before passing to system command.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 05 Aug 2014 17:46:31 -0700 |
parents | b9e510a1f308 |
children |
line wrap: on
line source
%!function r = f (x) %! if (ischar (x)) %! r = x; %! else %! error ("expecting character string"); %! endif %!endfunction %!assert (eval ("f 10;"), "10");