I have a problem with the execution of a script in a script.
I want recover a variable in a script and test this in a other .
For exemple :
A script : sc1.sh
A script : sc2.sh
if [ var -eq 3 ]
But this is bad.
I try with export var , but it's not good too.
Can you say me how can I do this?