Maxima and regex



2013/1/10 Sean <seany at uni-bonn.de>:
> Hello all
>
> Thanks for the replies, yes unfortunately I need regex, for analyzing some
> strings, in string form.
>
> I will play around with sregex package, btw, is there a way for Maxima to
> call external scripts (say perl), and get the output programetically, i.e.
> not by pipe symbol, which one uses in the command line manual call?

Maybe the system command allows what you want.

(%i1) system("echo -n 'Maxima' | base64");
TWF4aW1h
(%o1)                                  0
(%i2) system("pwd");
/home/volker

I run Maxima in a Linux terminal. This doesn't seem to work in
wxMaxima or XMaxima. system("cd Foo"); wouldn't have any effect
because you always get a new system thread (if I am not mistaken).

Volker van Nek

> regards
> S
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima