bugGNU Octave - Bugs: bug #33896, which() missing option ...

 
 

bug #33896: which() missing option "-all"

Submitter:  Ben Abbott <bpabbott>
Submitted:  Sat 30 Jul 2011 09:14:58 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Duplicate Assigned to:  None
Originator Name:  Ben Abbott Open/Closed:  * Closed
Release:  * dev Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 01 Aug 2011 02:07:08 PM UTC, comment #3: 

Ok. This looks like a duplicate. I've changed its status, and am closing it.

If anyone disagrees, it can be reopened.

Ben Abbott <bpabbott>
Group Member
Mon 01 Aug 2011 01:40:11 PM UTC, comment #2: 

This is related to bugs #32088 and #32973 (note the date for second one).

Guillaume <gyom>
Mon 01 Aug 2011 03:47:04 AM UTC, comment #1: 

I don't think this is an incorrect result as much as a Matlab incompatibility.  The Octave documentation for which() doesn't mention any argument "-all" and the .m file which implements it has no checking of input arguments for "-all".  I've changed the issue report title to be more specific about this.

Rik <rik5>
Group administrator
Sat 30 Jul 2011 09:14:58 PM UTC, original submission:  

The command ...


which (fun, "-all")


... only returns the first instance of the m-file whose name is represented by the variable fun.

Ben Abbott <bpabbott>
Group Member

 

(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 gyom (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by bpabbott (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-01 bpabbott StatusNone Duplicate
        Open/ClosedOpen Closed
    2011-08-01 rik5 Item GroupIncorrect Result Matlab Compatibility
        Summarywhich (fun, &quot;-all&quot;) doesn\'t return all which() missing option "-all"

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code