Mercurial > hg > octave-lyh
changeset 6083:0295db941ae7
[project @ 2006-10-25 03:47:48 by jwe]
author | jwe |
---|---|
date | Wed, 25 Oct 2006 03:47:48 +0000 |
parents | 588721ac2140 |
children | 38114c34b44a |
files | scripts/miscellaneous/unpack.m |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/miscellaneous/unpack.m +++ b/scripts/miscellaneous/unpack.m @@ -235,13 +235,15 @@ for i = 1:length (output) colons = strfind (output{i}, ":"); if (isempty (colons)) - warning ("unpack:parsing", "Unable to parse line (gzip missing colon):\n%s", output{i}); + warning ("unpack:parsing", + "Unable to parse line (gzip missing colon):\n%s", output{i}); else midcolon = colons(ceil (length (colons)/2)); thisstr = output{i}(midcolon+2:length(output{i})); idx = index (thisstr, "with") + 5; if (isempty (idx)) - warning ("unpack:parsing", "Unable to parse line (gzip missing with):\n%s", output{i}); + warning ("unpack:parsing", + "Unable to parse line (gzip missing with):\n%s", output{i}); else files{i} = thisstr(idx:length (thisstr)); endif