Closed siddharth-krishna closed 2 years ago
I did some research and there are two options, it seems:
1) use the -0
option instead of -d
2) completely change approach and use
set -o allexport
source $FILE
set +o allexport
to handle the ./env file
the second option seems a bit too naive to me so I'm going with the -0
. I'll test it ASAP to make sure it works
Merged, thanks!
MacOS's
xargs
doesn't have a-d
option to specify the delimiter. I'm using the solution proposed in: https://stackoverflow.com/questions/71409366/how-do-i-work-around-macos-x-not-having-xargs-d