I cannot get my EAGLE 5.11.02 (Linux) to properly execute shell scripts
with parameters: The shell script 'test.sh' contains the lines
#!/bin/bash
echo parameter=[$1]
and, when manually executed via
. test.sh abc
correctly outputs the text
parameter=[abc]
So far, so good. From EAGLE, using the ULP syntax
system(". test.sh abc");
by some reason only outputs
parameter=[]
Is there any logical reason why EAGLE should behave that way? Do I make
wrong assumptions somewhere (I normally do NOT use Linux and therefore
do NOT know too much about it)? I'm currently trying this on
Ubuntu 10.04 LTS - Lucid Lynx.
Andreas Weidner