bugGNU Octave - Bugs: bug #41135, Add the "-all" keyword...

 
 

bug #41135: Add the "-all" keyword to "which"

Submitter:  Michael C. Grant <mcgrant>
Submitted:  Tue 07 Jan 2014 03:38:55 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Duplicate Assigned to:  None
Originator Name:  Michael C. Grant Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 07 Jan 2014 03:43:16 PM UTC, comment #2: 

I'll do that, sorry for the duplicate.

Michael C. Grant <mcgrant>
Tue 07 Jan 2014 03:42:47 PM UTC, comment #1: 

This feature request has already been reported as bug #32088. I'm closing this report as a duplicate of that one. Please continue any discussion or propose patches to that still-open bug report.

Mike Miller <mtmiller>
Group Member
Tue 07 Jan 2014 03:38:55 PM UTC, original submission:  

MATLAB's "which" command accepts an "-all" modifier which, if requested, returns all instances of a given function name on the search path. For instance, "which norm -all" on my system yields this:


built-in (/Applications/MATLAB_R2013b.app/toolbox/matlab/matfun/@single/norm)  % single method
built-in (/Applications/MATLAB_R2013b.app/toolbox/matlab/matfun/@double/norm)  % double method
/Users/mcgrant/Projects/CVX/trunk/builtins/@cvx/norm.m                         % cvx method


I use this capability in a couple of different places in CVX. I suppose I can't offer a reason why this should be a critical fix but if I can offer a patch to _which_ in corefcn/help.cc, would y'all accept it? I have someone I might be able to put on the case; I'm going to point him to this bug report right now.

Michael C. Grant <mcgrant>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by mcgrant (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
    2014-01-07 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #32088

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code