Mercurial > octave-nkf
comparison src/sysdep.cc @ 10840:89f4d7e294cc
Grammarcheck .cc files
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sat, 31 Jul 2010 11:18:11 -0700 |
parents | 57a59eae83cc |
children | 2f36145742c9 |
comparison
equal
deleted
inserted
replaced
10839:65bc065bec95 | 10840:89f4d7e294cc |
---|---|
533 return c; | 533 return c; |
534 } | 534 } |
535 | 535 |
536 DEFUN (clc, , , | 536 DEFUN (clc, , , |
537 "-*- texinfo -*-\n\ | 537 "-*- texinfo -*-\n\ |
538 @deftypefn {Built-in Function} {} clc ()\n\ | 538 @deftypefn {Built-in Function} {} clc ()\n\ |
539 @deftypefnx {Built-in Function} {} home ()\n\ | 539 @deftypefnx {Built-in Function} {} home ()\n\ |
540 Clear the terminal screen and move the cursor to the upper left corner.\n\ | 540 Clear the terminal screen and move the cursor to the upper left corner.\n\ |
541 @end deftypefn") | 541 @end deftypefn") |
542 { | 542 { |
543 command_editor::clear_screen (); | 543 command_editor::clear_screen (); |
577 return retval; | 577 return retval; |
578 } | 578 } |
579 | 579 |
580 DEFUN (putenv, args, , | 580 DEFUN (putenv, args, , |
581 "-*- texinfo -*-\n\ | 581 "-*- texinfo -*-\n\ |
582 @deftypefn {Built-in Function} {} putenv (@var{var}, @var{value})\n\ | 582 @deftypefn {Built-in Function} {} putenv (@var{var}, @var{value})\n\ |
583 @deftypefnx {Built-in Function} {} setenv (@var{var}, @var{value})\n\ | 583 @deftypefnx {Built-in Function} {} setenv (@var{var}, @var{value})\n\ |
584 Set the value of the environment variable @var{var} to @var{value}.\n\ | 584 Set the value of the environment variable @var{var} to @var{value}.\n\ |
585 @end deftypefn") | 585 @end deftypefn") |
586 { | 586 { |
587 octave_value_list retval; | 587 octave_value_list retval; |
818 tilde character, (@samp{~}), all of the characters preceding the first\n\ | 818 tilde character, (@samp{~}), all of the characters preceding the first\n\ |
819 slash (or all characters, if there is no slash) are treated as a\n\ | 819 slash (or all characters, if there is no slash) are treated as a\n\ |
820 possible user name, and the tilde and the following characters up to the\n\ | 820 possible user name, and the tilde and the following characters up to the\n\ |
821 slash are replaced by the home directory of the named user. If the\n\ | 821 slash are replaced by the home directory of the named user. If the\n\ |
822 tilde is followed immediately by a slash, the tilde is replaced by the\n\ | 822 tilde is followed immediately by a slash, the tilde is replaced by the\n\ |
823 home directory of the user running Octave. For example,\n\ | 823 home directory of the user running Octave. For example:\n\ |
824 \n\ | 824 \n\ |
825 @example\n\ | 825 @example\n\ |
826 @group\n\ | 826 @group\n\ |
827 tilde_expand (\"~joeuser/bin\")\n\ | 827 tilde_expand (\"~joeuser/bin\")\n\ |
828 @result{} \"/home/joeuser/bin\"\n\ | 828 @result{} \"/home/joeuser/bin\"\n\ |