I am working on a case where I need to fetch the environment variable and pass it to a function in bash script.
#!/usr/bin/env bash algorithm_settings=(env1