Re: Feature Request: env -f to read from file

2024-03-29 Thread Pádraig Brady
On 29/03/2024 05:05, Kaz Kylheku wrote: On 2024-03-28 15:29, Balakrishnan Balasubramanian wrote: On 2024-03-28 3:38 p.m., Pádraig Brady wrote: Yes the feature has merit, and was previously discussed at: https://lists.gnu.org/archive/html/coreutils/2021-10/msg1.html There are some subtleties

Re: Feature Request: env -f to read from file

2024-03-28 Thread Kaz Kylheku
On 2024-03-28 15:29, Balakrishnan Balasubramanian wrote: > On 2024-03-28 3:38 p.m., Pádraig Brady wrote: >> Yes the feature has merit, and was previously discussed at: >> https://lists.gnu.org/archive/html/coreutils/2021-10/msg1.html >> There are some subtleties to consider though. > > Indeed

Re: Feature Request: env -f to read from file

2024-03-28 Thread Balakrishnan Balasubramanian
On 2024-03-28 3:38 p.m., Pádraig Brady wrote: Yes the feature has merit, and was previously discussed at: https://lists.gnu.org/archive/html/coreutils/2021-10/msg1.html There are some subtleties to consider though. Indeed there are subtleties to consider. Thank you pointing previous disc

Re: Feature Request: env -f to read from file

2024-03-28 Thread Pádraig Brady
On 28/03/2024 15:52, Balakrishnan Balasubramanian wrote: When env command is used to pass extra environment variables to a program, it will be useful to read them from a file instead of command line. Instead of     env MYAPP_QA_KEY=X MYAPP_QA_URL=https://qa.myapp.example.com clicommand W

Feature Request: env -f to read from file

2024-03-28 Thread Balakrishnan Balasubramanian
When env command is used to pass extra environment variables to a program, it will be useful to read them from a file instead of command line. Instead of     env MYAPP_QA_KEY=X MYAPP_QA_URL=https://qa.myapp.example.com clicommand We can use     env -f qa.env clicommand This way comman