Mercurial > hg > octave-lyh
diff scripts/miscellaneous/dos.m @ 11469:c776f063fefe
Overhaul m-script files to use common variable name between code and documentation.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 12:41:21 -0800 |
parents | be55736a0783 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/miscellaneous/dos.m +++ b/scripts/miscellaneous/dos.m @@ -30,12 +30,12 @@ ## Author: octave-forge ??? ## Adapted by: jwe -function [status, text] = dos (cmd, echo_arg) +function [status, text] = dos (command, echo_arg) if (nargin < 1 || nargin > 2) print_usage (); elseif (! isunix ()) - [status, text] = system (cmd); + [status, text] = system (command); if (nargin > 1 || nargout == 0) printf ("%s\n", text); endif