Answer the question
In order to leave comments, you need to log in
Declaring a variable in a separate script and connecting the script through source is not identical to a simple variable declaration?
There is a bash script:
#!/bin/bash
source "var.conf";
echo bar"$VAR$VAR"bar;
VAR=foo;
echo bar"$VAR$VAR"bar;
VAR=foo
barfoo
barfoofoobar
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question