Let us say I have a txt file vars.txt like this.
VAR1=32 VAR2=47 VAR3=78 Now if I simply do source vars.txt, these variables won't be exported as environment variables because I didn't prefix them with export.
So, my question is, is there a way to export all those variables without having to prefix them with export in the file?