Hi,
I'm a novice to Unix, so please help me understand the correct syntax.
i've these steps in my K shell:
var=filename
"$var"=`echo "thereport"`
But the system is giving an error:
filename=thereport: not found
Why would nt this work?
What should I do to make it work?
I eventually have to use this step in a function and pass "var" into the function.
I'm a novice to Unix, so please help me understand the correct syntax.
i've these steps in my K shell:
var=filename
"$var"=`echo "thereport"`
But the system is giving an error:
filename=thereport: not found
Why would nt this work?
What should I do to make it work?
I eventually have to use this step in a function and pass "var" into the function.