How do I declare a constant in shell script?
readonly FOO=bar
I believe you can do something like:
readonly DATA=/usr/home/data/file.dat
You can also do:
declare -r var=123
readonly FOO=bar
I believe you can do something like:
readonly DATA=/usr/home/data/file.dat
You can also do:
declare -r var=123