comparison scripts/miscellaneous/dir.m @ 21634:96518f623c91

Backed out changeset dcf8922b724b
author Mike Miller <mtmiller@octave.org>
date Wed, 20 Apr 2016 11:06:03 -0700
parents dcf8922b724b
children 289409b2992d
comparison
equal deleted inserted replaced
21633:dcf8922b724b 21634:96518f623c91
146 if (nargout > 0) 146 if (nargout > 0)
147 ## Return the requested structure. 147 ## Return the requested structure.
148 retval = info; 148 retval = info;
149 elseif (numel (info) > 0) 149 elseif (numel (info) > 0)
150 ## Print the structure to the screen. 150 ## Print the structure to the screen.
151 fprintf ("%s", list_in_columns ({info.name})); 151 printf ("%s", list_in_columns ({info.name}));
152 else 152 else
153 warning ("dir: nonexistent directory '%s'", directory); 153 warning ("dir: nonexistent directory '%s'", directory);
154 endif 154 endif
155 155
156 endfunction 156 endfunction