Alexander,

look at the first line after invocation. I am at fd9397585e98e72b718d5ce811af0c4812af290f.

>fricas -eval "a+b" -nosman
/home/hemmecke/software/bin/fricas: line 130: [: a+b: binary operator expected
... snip ...

   (1)  b + a
Type: Polynomial(Integer)


You should probably put quotes arout the argument of -z. At least it works for me then.

if [ "$1" = "-eval" ] ; then
        shift
        if [ -z "$*" ] ; then
                echo "Parameter -eval must be provided with a value"
                ciao
        else
                otheropts="-eval $1"
                shift
        fi
fi

In my case /bin/sh -> bash.

Ralf

--
You received this message because you are subscribed to the Google Groups "FriCAS - 
computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fricas-devel?hl=en.

Reply via email to