bugGNU Octave - Bugs: bug #32050, typeinfo should use space as fill...

 
 

bug #32050: typeinfo should use space as fill character rather than nulls

Submitter:  Rik <rik5>
Submitted:  Tue 04 Jan 2011 06:12:59 PM UTC
   
 
Category:  None Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Performance
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 04 Jan 2011 07:11:15 PM UTC, comment #2: 
John W. Eaton <jwe>
Group administrator
Tue 04 Jan 2011 06:59:41 PM UTC, comment #1: 

How about just having it return a cell array of strings instead?

John W. Eaton <jwe>
Group administrator
Tue 04 Jan 2011 06:12:59 PM UTC, original submission:  

When typeinfo is called without arguments it returns a character matrix with a list of the possible types.  The fill character used is null, or zero, which produces ugly output when passed through a console pager.


typeinfo

ans =

<unknown type>^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
cell^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
scalar^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
complex scalar^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
matrix^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
diagonal matrix^@^@^@^@^@^@^@^@^@^@^@^@^@^@
complex matrix^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
complex diagonal matrix^@^@^@^@^@^@
range^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
bool^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
bool matrix^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
string^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
sq_string^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
int8 scalar^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
int16 scalar^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
int32 scalar^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
int64 scalar^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
uint8 scalar^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
uint16 scalar^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
uint32 scalar^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
uint64 scalar^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
int8 matrix^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
int16 matrix^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
int32 matrix^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
int64 matrix^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
uint8 matrix^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
uint16 matrix^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
uint32 matrix^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
uint64 matrix^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
-- less -- (f)orward, (b)ack, (q)uit


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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-04 jwe StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code