Quote:
Originally Posted by user_prady
Thank you very much Mr. Porter.. Will try now shortly...
Regards,
user_prady
|
How do do with this code,
Code:
I_plt=/tmp/I_out.plt$$
Q_plt=/tmp/Q_out.plt$$
plot(){
echo "#!/usr/local/bin/gnuplot -persist" > $1_plt
echo "plot \"$1_indat.txt\" " >> $1_plt
}
plot I
cat $I_plt
plot Q
cat $Q_plt
I tried that one it works fine inside double quotes but when I want to replace
"$1"in the output redirection it wont works.
user_prady
shall I have to put single qute or double quote for that
$1 or
> $"$1_plt" .