bugGNU Octave - Bugs: bug #56228, who(s) shouldn't print a header...

 
 

bug #56228: who(s) shouldn't print a header line about available variables when there are no variables

Submitter:  Rik <rik5>
Submitted:  Sat 27 Apr 2019 04:59:33 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  jwe
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 29 Apr 2019 06:58:06 PM UTC, comment #5: 

Works again.  Thanks, closing report.

Rik <rik5>
Group administrator
Mon 29 Apr 2019 05:58:13 PM UTC, comment #4: 
John W. Eaton <jwe>
Group administrator
Sun 28 Apr 2019 02:06:01 PM UTC, comment #3: 

I'll take a look at it.  I probably broke it with the changes to the call stack and symbol table.

John W. Eaton <jwe>
Group administrator
Sun 28 Apr 2019 03:26:00 AM UTC, comment #2: 

Yeah, agreed, all versions through and including 5.1.0 show nothing on 'who' and 'whos' when the workspace is empty, this is a regression in the development version only.

Mike Miller <mtmiller>
Group Member
Sun 28 Apr 2019 01:41:09 AM UTC, comment #1: 

Octave 4.4.1 in Linux does not have this problem.
So maybe this is a regression?


$  octave
GNU Octave, version 4.4.1
Copyright (C) 2018 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Additional information about Octave is available at https://www.octave.org.

Please contribute if you find this software useful.
For more information, visit https://www.octave.org/get-involved.html

Read https://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.

octave:1>  who
octave:2>  whos
octave:3>


Anonymous
Sat 27 Apr 2019 04:59:33 PM UTC, original submission:  

This is just a small nit.  When you use the who command, and there are no variables in the present scope, it still prints a summary line and three newlines.

Steps to reproduce:


clear all
who
Variables visible from the current scope:



octave:4>


Matlab doesn't bother to print anything and just advances the command counter.  I think Octave should do the same.

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

    Date Changed by Updated Field Previous Value => Replaced by
    2019-04-29 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2019-04-29 jwe StatusConfirmed Ready For Test
    2019-04-28 jwe Assigned toNone jwe
    2019-04-28 mtmiller Severity1 - Wish 3 - Normal
        Item GroupFeature Request Regression

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code