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

 
 

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

Submitted by:  Ben Abbott <bpabbott>
Submitted on:  Sat 30 Jul 2011 09:14:58 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: DuplicateAssigned to: None
Originator Name: Ben AbbottOpen/Closed: Closed
Release: devOperating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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>
Project Administrator
Sat 30 Jul 2011 09:14:58 PM UTC, original submission:

The command ...

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

Ben Abbott <bpabbott>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gyom (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by bpabbott (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 01 Aug 2011 02:07:08 PM UTCbpabbottStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
    Mon 01 Aug 2011 03:47:04 AM UTCrik5Item GroupIncorrect Result=>Matlab Compatibility
      Summarywhich (fun, "-all") doesn\'t return all=>which() missing option "-all"

    Back to the top


    Powered by Savane 3.1-cleanup1