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

 
 

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

Submitted by:  Michael C. Grant <mcgrant>
Submitted on:  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

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

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>
Project Administrator
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)
  •  

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

    Only project 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.5