I am having problem in reading data from a file into a variable.
value=$(config.txt)
echo "${value}
It works fine on my terminal. But not when i write it into a bash file and compile it. The echo "$value" lists right on terminal.But running as bash file, it is empty