[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #32088] Feature request: -ALL option for WHICH

From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #32088] Feature request: -ALL option for WHICH
Date: Sat, 22 Jan 2011 18:23:32 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101028 Iceweasel/3.5.15 (like Firefox/3.5.15)

Follow-up Comment #6, bug #32088 (project octave):

I think it would be better to do this by changing the way __which__ works
instead of playing tricks with the load path.

In Matlab, what exactly does which -all find, and does the order of the
results matter?  Does it find subfucntions in the current scope, or all
possible subfunctions (I don't think that is reasonable, as it means parsing
every function on the load path).  

What does it do for

which -all @foo/bar

Does it find every @foo/bar.m file on the path if there are multiple @foo

What about

which -all foo>bar

for looking up subfunctions?

I'm not sure this will make it into 3.4, but you do have a workaround with
the function you've written.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]