Hi, i need some help to a simple task.
i'm newbie
i've a script like this :
echo "read insert"
read coords_thre
echo '
LX=load("$coords_thre");
' > Octave_temp.m
octave Octave_temp.m
when the echo ask me to a "read insert"
i type in my shell :
/Users/home/folder/filename
my targhet is to have as result, a file named : Octave_temp.m
in it i must have a simple line like :
LX=load('/Users/home/folder/filename');
my script is wrong, it give me a line like this :
LX=load("$coords_thre");
instead of the right results:
LX=load('/Users/home/folder/filename');
thanks for any suggestion !