[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41135] Add the "-all" keyword to "which"
From: |
Michael C. Grant |
Subject: |
[Octave-bug-tracker] [bug #41135] Add the "-all" keyword to "which" |
Date: |
Tue, 07 Jan 2014 15:38:56 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11 |
URL:
<http://savannah.gnu.org/bugs/?41135>
Summary: Add the "-all" keyword to "which"
Project: GNU Octave
Submitted by: mcgrant
Submitted on: Tue 07 Jan 2014 03:38:55 PM GMT
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: Michael C. Grant
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
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.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41135>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41135] Add the "-all" keyword to "which",
Michael C. Grant <=