[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63948] envsubst: Support option -s for "strict"
From: |
Thomas Güttler |
Subject: |
[bug #63948] envsubst: Support option -s for "strict" |
Date: |
Tue, 21 Mar 2023 04:55:54 -0400 (EDT) |
Follow-up Comment #2, bug #63948 (project gettext):
[comment #0 original submission:]
> It would be nice, if envsubst would support the `-s` (strict) option. This
option makes the command fail, if a variable is not existing in the list of
environment variables.
>
> Related tools support this. For example:
>
> https://github.com/kreuzwerker/envplate
>
>
envplate does not support fallbacks like `${missing=default}`.
If someone is here looking for an envsubst tool which supports fallbacks and
fail-on-missing, then this tools looks good:
https://github.com/a8m/envsubst
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63948>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/