One thing I tried is using the "stringout" and "sys" commands in unix. I
don't know if there is an analog of the "sys" command in Win-XP.
In command line maxima, the bottom output of "functions" in my use
of maxima is:
eivects(mat), ueivects(mat), simtran(mat), Norm(list), Save(file),
LS(sys),
EM(sys), Lmax(list), Lmin(list), Show_a(data_list),
Show_b('string_list),
Show(data_list), Show_titles('string_list), disc(plot_list), man(sys),
Pause(secs)]
So I did a
(%i2) stringout("funs",functions);
(%o2) /home/maxie/sen/funs
(%i3) sys("grep disc funs");
Show_a(data_list):=block([d_list:data_list,st_list:string_list,nd_list:[],ns_list:[],nss_list:[]],for
i thru length(d_list) do
nd_list:endcons([discrete,d_list[i]],nd_list),return(nd_list));
disc(plot_list):=makelist([discrete,plot_list[i]],i,1,length(plot_list));
(%o3) 0
So, I can see all the functions that have a "disc" indirectly with this combination of commands.
Here are some comments.
1. I don't know if the "sys" command works in Win-XP
2. I tried to write a maxima function which would do the combination
of the above in maxima directly, but the quotes screw up things.
3. In xmaxima started from the console, the output of the "sys"
command goes to the console.
All one gets in the tk window is "0"
This is fine for me, but, I suppose, is somewhat
against the philosophy of xmaxima.
Wouldn't it be worthwhile to write a utility which would implement
the "grep" utility (or similar such OS commands) into maxima itself?
If I could code in lisp, I would try,
but my skills in lisp are not even at the decent undergraduate
programming level.
-sen
. On Wed, 6 Dec 2006, Barton Willis wrote:
> -----maxima-bounces at math.utexas.edu wrote: -----
>
>> Actually, apropos is a very good start.
>
> oh--this doesn't really help answer the question, but...
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=1602849&group_id=4933&atid=104933
>
>
> Barton
>
--
---------------------------------------------------------------------------
| Sheldon E. Newhouse | e-mail: sen1 at math.msu.edu |
| Mathematics Department | |
| Michigan State University | telephone: 517-355-9684 |
| E. Lansing, MI 48824-1027 USA | FAX: 517-432-1562 |
---------------------------------------------------------------------------