I have
SA_PASSWORD=Password1! in a file, tests/.makefile_test_env. I would like to get the value "Password1!" into a variable on my bash shell. I tried this
$ MY_VAR=$(grep SA_PASSWORD tests/.makefile_test_env | xargs) Unfortunately, this returns
$ echo $MY_VAR SA_PASSWORD=Password1! How do I filter out the "SA_PASSWORD=" part?