I got roped in to help a colleague at work and I'm a total bash newbie. I'm trying to invoke a script from inside another script
Here are the scripts:
The problem is that test.env doesn't run from inside delete_correspondence.shCode:
echo "Batch Process finished at `date`"
I've also tried with the full path to test.env but to no avail.Code:
sh -x delete_correspondence.sh
+ sh $'test.env\r'
: No such file or directory
This is not a homework question, test.env will set up the environment variables but my colleague doesn't have that information yet, not sure why.
Oddly enough, for me anyway, this works. In other words, it displays Works! in a loop