Mercurial > hg > octave-nkf
diff scripts/miscellaneous/unix.m @ 4911:14027e0bafa4
[project @ 2004-07-22 19:58:06 by jwe]
author | jwe |
---|---|
date | Thu, 22 Jul 2004 19:58:06 +0000 |
parents | bdc51b369a78 |
children | c08cb1098afc |
line wrap: on
line diff
--- a/scripts/miscellaneous/unix.m +++ b/scripts/miscellaneous/unix.m @@ -18,13 +18,15 @@ ## 02111-1307, USA. ## -*- texinfo -*- -## @deftypefn {Function File} {[@var{status}, @var{text}]} isunix (@var{command}) -## @deftypefnx {Function File} {[@var{status}, @var{text}]} isunix (@var{command}, "-echo") +## @deftypefn {Function File} {[@var{status}, @var{text}]} unix (@var{command}) +## @deftypefnx {Function File} {[@var{status}, @var{text}]} unix (@var{command}, "-echo") ## Execute a system command if running under a Unix-like operating ## system, otherwise do nothing. Return the exit status of the program ## in @var{status} and any output sent to the standard output in ## @var{text}. If the optional second argument @code{"-echo"} is given, ## then also send the output from the command to the standard output. +## @end deftypefn +## @seealso{isunix, ispc, system} ## Author: octave-forge ??? ## Adapted by: jwe