Mercurial > hg > octave-lyh
diff scripts/miscellaneous/unpack.m @ 8877:2c8b2399247b
implement strsplit; deprecate split
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Thu, 26 Feb 2009 10:29:59 +0100 |
parents | 33337f1aca75 |
children | eb63fbe60fab |
line wrap: on
line diff
--- a/scripts/miscellaneous/unpack.m +++ b/scripts/miscellaneous/unpack.m @@ -194,7 +194,7 @@ if (output(length (output)) == "\n") output(length (output)) = []; endif - files = parser (cellstr (split (output, "\n")))'; + files = parser (strsplit (output, "\n"))'; ## Move files if necessary if (needmove)