diff scripts/miscellaneous/fileattrib.m @ 20928:2b8447888e0a

strip trailing whitespace from files * md5sum.m, fileattrib.m, ode23.m, odeplot.m, ode_struct_value_check.m, runge_kutta_23.m runge_kutta_interpolate.m: Strip trailing whitespace.
author John W. Eaton <jwe@octave.org>
date Thu, 17 Dec 2015 11:50:59 -0500
parents 516bb87ea72e
children 3b2cc6ef0624
line wrap: on
line diff
--- a/scripts/miscellaneous/fileattrib.m	Thu Dec 17 11:42:42 2015 -0500
+++ b/scripts/miscellaneous/fileattrib.m	Thu Dec 17 11:50:59 2015 -0500
@@ -97,7 +97,7 @@
         r(i).system = NaN;
         r(i).hidden = NaN;
       else
-        [~, attrib] = dos (sprintf ('attrib "%s"', r(i).Name));        
+        [~, attrib] = dos (sprintf ('attrib "%s"', r(i).Name));
         ## dos() never returns error status so have to check it indirectly
         if (length (attrib) < 12
             || ! strcmp (deblank (attrib(12:end)), r(i).Name))
@@ -151,7 +151,7 @@
 
 
 %!test
-%! [status, attr] = fileattrib (P_tmpdir ()); 
+%! [status, attr] = fileattrib (P_tmpdir ());
 %! assert (status);
 %! assert (isstruct (attr));
 %! assert (numel (fieldnames (attr)), 14);