bugGNU Octave - Bugs: bug #53168, format free appends extra newline...

 
 

bug #53168: format free appends extra newline at end of matrix display

Submitter:  Rik <rik5>
Submitted:  Fri 16 Feb 2018 01:12:30 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 16 Feb 2018 02:34:06 PM UTC, comment #2: 

Thanks, works for me now.  Closing report.

Rik <rik5>
Group administrator
Fri 16 Feb 2018 05:59:43 AM UTC, comment #1: 

I pushed this changeset:

  http://hg.savannah.gnu.org/hgweb/octave/rev/e574b957b01b

As I said, pr-output.cc needs some love.  I'm afraid my recent changes have only been more abuse.

John W. Eaton <jwe>
Group administrator
Fri 16 Feb 2018 01:12:30 AM UTC, original submission:  

When compared to other formats, "format free" appends an extra newline.

Sample code:


octave:1> format short
octave:2> x = [pi; e]
x =

   3.1416
   2.7183

octave:3> format free
octave:4> x
x =

 3.14159
 2.71828


octave:5>



Rik <rik5>
Group administrator

 

(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 jwe (Posted a comment)
  • -email is unavailable- added by rik5 (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
    2018-02-16 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2018-02-16 jwe StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code