Ive just started scripting a bit and am having troubles trying to read in variables from my script from another file.
File 1 (var.s)
File 2 (tst.s)
echo "par1 is $par1"
echo "par2 is $par2"
echo "par3 is $par3"
I thought all I would have to do was call on var.s in the script file for this to work, but it is just outputting:
I was planning on doing this for more complicated stuff but I just wanted to get a basic case to work first.