Mercurial > hg > octave-lyh
diff scripts/strings/deblank.m @ 10549:95c3e38098bf
Untabify .m scripts
author | Rik <code@nomad.inbox5.com> |
---|---|
date | Fri, 23 Apr 2010 11:28:50 -0700 |
parents | eb63fbe60fab |
children | 01ddaedd6ad5 |
line wrap: on
line diff
--- a/scripts/strings/deblank.m +++ b/scripts/strings/deblank.m @@ -40,16 +40,16 @@ if (! isempty (s)) if (char_arg) - k = find (! isspace (s) & s != "\0"); + k = find (! isspace (s) & s != "\0"); else - warning ("deblank: expecting character string argument") - k = find (s != 0); + warning ("deblank: expecting character string argument") + k = find (s != 0); endif if (isempty (k)) - s = resize (s, 0, 0); + s = resize (s, 0, 0); else - s = s(:,1:ceil (max (k) / rows (s))); + s = s(:,1:ceil (max (k) / rows (s))); endif endif