Mercurial > octave-nkf
comparison src/utils.cc @ 9064:7c02ec148a3c
Check grammar on all .cc files
Same check as previously done on .m files
Attempt to enforce some conformity in documentation text for rules
such as two spaces after a period, commas around latin abbreviations, etc.
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Sat, 28 Mar 2009 13:57:22 -0700 |
parents | 379297a149f0 |
children | 224634b2e6e3 |
comparison
equal
deleted
inserted
replaced
9063:a6cf0ad87eee | 9064:7c02ec148a3c |
---|---|
340 @var{path}. The value of @var{path} should be a colon-separated list of\n\ | 340 @var{path}. The value of @var{path} should be a colon-separated list of\n\ |
341 directories in the format described for @code{path}. If no file\n\ | 341 directories in the format described for @code{path}. If no file\n\ |
342 is found, return an empty matrix. For example,\n\ | 342 is found, return an empty matrix. For example,\n\ |
343 \n\ | 343 \n\ |
344 @example\n\ | 344 @example\n\ |
345 @group\n\ | |
345 file_in_path (EXEC_PATH, \"sh\")\n\ | 346 file_in_path (EXEC_PATH, \"sh\")\n\ |
346 @result{} \"/bin/sh\"\n\ | 347 @result{} \"/bin/sh\"\n\ |
348 @end group\n\ | |
347 @end example\n\ | 349 @end example\n\ |
348 \n\ | 350 \n\ |
349 If the second argument is a cell array of strings, search each\n\ | 351 If the second argument is a cell array of strings, search each\n\ |
350 directory of the path for element of the cell array and return\n\ | 352 directory of the path for element of the cell array and return\n\ |
351 the first that matches.\n\ | 353 the first that matches.\n\ |
711 normally the desired outcome. However, sometimes it is useful to be\n\ | 713 normally the desired outcome. However, sometimes it is useful to be\n\ |
712 able to print the original representation of the string, with the\n\ | 714 able to print the original representation of the string, with the\n\ |
713 special characters replaced by their escape sequences. For example,\n\ | 715 special characters replaced by their escape sequences. For example,\n\ |
714 \n\ | 716 \n\ |
715 @example\n\ | 717 @example\n\ |
718 @group\n\ | |
716 octave:13> undo_string_escapes (bell)\n\ | 719 octave:13> undo_string_escapes (bell)\n\ |
717 ans = \\a\n\ | 720 ans = \\a\n\ |
721 @end group\n\ | |
718 @end example\n\ | 722 @end example\n\ |
719 \n\ | 723 \n\ |
720 @noindent\n\ | 724 @noindent\n\ |
721 replaces the unprintable alert character with its printable\n\ | 725 replaces the unprintable alert character with its printable\n\ |
722 representation.\n\ | 726 representation.\n\ |