Hey everyone

I am trying to achieve the following in execline:

Have a directory "dir/", containing the files "a", "b" and "c", possibly more.

Each file is filled with key=value lines.

Is there an elegant way to source all the files in "dir/" into environment variables of key=value, without writing to a temporary file and sourcing that at the end?

If "a" and "b" both contain the same key, the value in "b" should overwrite that in "a", but that is probably immanent anyway.

Those environment variables need to then be available to all following programs.

Any suggestions how to do that in execline?


Paul

Attachment: OpenPGP_0x71C7C85A2EA30F62.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to