Hello,
I'm trying to create a batch script that executes some genius commands
from bash. Something like:
#!/bin/bash
RESULTS=`echo "[1,1;1,1]*[2,2;2,2]" | /usr/bin/genius`;
echo $RESULTS
It works fine. Unfortunately, when I try to include within the
commands something like;
COMMANDS="A=$1;load foo.gel;foo(A,[...]);"
RESULTS=`echo "" | /usr/bin/genius`;
echo $RESULT
It doesn't work. I get an error just after loading foo.gel (even if I
use the complete path to the file). It simply doesn't find the file.
Is there a proper manner to load GEL functions in such a batch-like style?
or what about including my functions into the GEL repository of genius?
I tried just including my own functions in
/usr/share/genius/gel/misc/misc.gel, but it doesn't work either :-(
If you have any advise, I'll appreciate it very much!
-J
Received on Fri Jun 27 2008 - 08:40:56 CDT
This archive was generated by hypermail 2.2.0 : Sun Apr 17 2011 - 21:00:02 CDT