bugGNU Octave - Bugs: bug #52702, extra spaces in "char"...

 
 

bug #52702: extra spaces in "char" and "strvcat" docstring

Submitted by:  None
Submitted on:  Wed 20 Dec 2017 02:49:40 AM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Documentation
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 4.2.1
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Thu 21 Dec 2017 11:08:52 AM UTC, comment #6:

Correct. The number of spaces was shrunk, but still not enough. I fixed that here: http://hg.savannah.gnu.org/hgweb/octave/rev/10c81c841b6f

Rik <rik5>
Project Administrator
Thu 21 Dec 2017 04:49:25 AM UTC, comment #5:

Thanks maintainers.
It seems that there is still one extra space in the example of function "char" docstring (in the file "libinterp/corefcn/strfns.cc" lines 71-77).
If this is not a mistake or it doesn't matter, please just ignore this comment.

Anonymous
Thu 21 Dec 2017 01:20:15 AM UTC, comment #4:

Thanks for catchying these little inconsistencies. I pushed your changes to the stable branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/8354b505ad6b). They will be a part of the 4.2.2 bug fix release.

Marking as fixed and closing report.

Rik <rik5>
Project Administrator
Wed 20 Dec 2017 09:17:59 AM UTC, comment #3:

Oh, the "Nan" has been fixed @ 22682:05308824fbcf
Please ignore comment #2

Anonymous
Wed 20 Dec 2017 07:07:46 AM UTC, comment #2:

I'm not sure whether the following patch should be applied.
I search the document and find that only this place is "Nan", all others are "NaN".

Anonymous
Wed 20 Dec 2017 06:30:56 AM UTC, comment #1:

And the document of "strread.m" in page 84 of "octave.pdf" looks incorrect, which cannot be found in plain text displayed from "help strread".

Possible solution:

Anonymous
Wed 20 Dec 2017 02:49:40 AM UTC, original submission:

Run the examples in the "char" and "strvcat" docstring:

But the help text of "char" and "strvcat" says that

which should be

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Dec 2017 01:20:15 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1