-----Ryan Krauss wrote: ----- >So, I need to take the output of my maxima script >and run a search and replace on the expression to >change all sinh to zsinh and cosh to zcosh >before I call the fortran function. Try 'subst': (%i1) cosh(x^2) + sinh(x); (%o1) cosh(x^2)+sinh(x) (%i2) subst([cosh=zcosh, sinh = zsinh],%); (%o2) zcosh(x^2)+zsinh(x) Barton