Rafael Skodlar <ra...@...> writes: > > now run the following line: > sh /tmp/test.sh 4 5 > program -f 1$ -p 2$ > program -f 4 -p 5 > ===== > program -f $1: [4] -p $2: [5] > > Last four lines are the result of the script. You need to change 1$ to > $1. 'exit 0' is not needed. >
Thank you for replying my question. Script works great, but it is still does not work when i'm trying to launch it from EMC, typing command in MDI: M100 P4 Q5. ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users