# HG changeset patch # User Rik # Date 1412478970 25200 # Node ID c61deba773ab0d2695ebfbd49179ca33f3def3c5 # Parent 8cc4a9bb253b4fd2a405713fa440dfc3479ce86b Add BIST test to perl() and python(). * perl.m, python.m: Reformat docstring to have a single line description of function first. Add BIST test. diff --git a/scripts/miscellaneous/perl.m b/scripts/miscellaneous/perl.m --- a/scripts/miscellaneous/perl.m +++ b/scripts/miscellaneous/perl.m @@ -21,9 +21,11 @@ ## @deftypefnx {Function File} {@var{output} =} perl (@var{scriptfile}, @var{argument1}, @var{argument2}, @dots{}) ## @deftypefnx {Function File} {[@var{output}, @var{status}] =} perl (@dots{}) ## Invoke Perl script @var{scriptfile}, possibly with a list of command line -## arguments. Return output in @var{output} and optional status in -## @var{status}. If @var{scriptfile} is not an absolute file name it is -## is searched for in the current directory and then in the Octave loadpath. +## arguments. +## +## Return output in @var{output} and optional status in @var{status}. If +## @var{scriptfile} is not an absolute file name it is is searched for in the +## current directory and then in the Octave loadpath. ## @seealso{system, python} ## @end deftypefn @@ -49,3 +51,6 @@ endfunction + +%!error perl (123) + diff --git a/scripts/miscellaneous/python.m b/scripts/miscellaneous/python.m --- a/scripts/miscellaneous/python.m +++ b/scripts/miscellaneous/python.m @@ -22,9 +22,11 @@ ## @deftypefnx {Function File} {@var{output} =} python (@var{scriptfile}, @var{argument1}, @var{argument2}, @dots{}) ## @deftypefnx {Function File} {[@var{output}, @var{status}] =} python (@dots{}) ## Invoke Python script @var{scriptfile}, possibly with a list of command line -## arguments. Return output in @var{output} and optional status in -## @var{status}. If @var{scriptfile} is not an absolute file name it is -## is searched for in the current directory and then in the Octave loadpath. +## arguments. +## +## Return output in @var{output} and optional status in @var{status}. If +## @var{scriptfile} is not an absolute file name it is is searched for in the +## current directory and then in the Octave loadpath. ## @seealso{system, perl} ## @end deftypefn @@ -48,3 +50,6 @@ endfunction + +%!error python (123) +