bugGNU Octave - Bugs: bug #48063, dangling bracket in function...

 
 

bug #48063: dangling bracket in function "orderfields" document

Submitter:  None
Submitted:  Tue 31 May 2016 06:10:43 AM UTC
   
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Fixed Assigned to:  None
Originator Name:  Wang S Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.0.2
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 31 May 2016 09:12:03 PM UTC, comment #1: 

Confirmed.  Thanks for noticing this.  I fixed this on the stable branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/7720b8246f89).  This will be part of the next 4.03 bug fix release.

Rik <rik5>
Group administrator
Tue 31 May 2016 06:10:43 AM UTC, original submission:  

The bug:

octave:1> help orderfields
'orderfields' is a function from the file /usr/share/octave/4.0.2/m/miscellaneous/orderfields.m

 -- Function File: SOUT] = orderfields (S1)
 -- Function File: SOUT] = orderfields (S1, S2)
 -- Function File: SOUT] = orderfields (S1, {CELLSTR})
 -- Function File: SOUT] = orderfields (S1, P)
 -- Function File: [SOUT, P] = orderfields (...)


Possible solution:

--- /usr/share/octave/4.0.2/m/miscellaneous/orderfields.m
+++ orderfields.m
@@ -17,10 +17,10 @@
 ## <http://www.gnu.org/licenses/>.

 ## -*- texinfo -*-
-## @deftypefn  {Function File} {@var{sout}] =} orderfields (@var{s1})
-## @deftypefnx {Function File} {@var{sout}] =} orderfields (@var{s1}, @var{s2})
-## @deftypefnx {Function File} {@var{sout}] =} orderfields (@var{s1}, @{@var{cellstr}@})
-## @deftypefnx {Function File} {@var{sout}] =} orderfields (@var{s1}, @var{p})
+## @deftypefn  {Function File} {@var{sout} =} orderfields (@var{s1})
+## @deftypefnx {Function File} {@var{sout} =} orderfields (@var{s1}, @var{s2})
+## @deftypefnx {Function File} {@var{sout} =} orderfields (@var{s1}, @{@var{cellstr}@})
+## @deftypefnx {Function File} {@var{sout} =} orderfields (@var{s1}, @var{p})
 ## @deftypefnx {Function File} {[@var{sout}, @var{p}] =} orderfields (@dots{})
 ## Return a @emph{copy} of @var{s1} with fields arranged alphabetically, or as
 ## specified by the second input.


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-05-31 rik5 CategoryOctave Function Documentation
        StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code