GNU gettext - Bugs: bug #63948, envsubst: Support option -s for...
You are not allowed to post comments on this tracker with your current authentication level.
bug #63948: envsubst: Support option -s for "strict"
Submitter: | Thomas Güttler <guettli> | ||
Submitted: | Mon 20 Mar 2023 01:27:27 PM UTC | ||
Category: | End-user / runtime | Severity: | 3 - Normal |
Item Group: | None | Status: | Not a Bug |
Privacy: | Public | Assigned to: | haible |
Open/Closed: | Closed |
Tue 21 Mar 2023 08:55:54 AM UTC, comment #2: |
Thomas Güttler <guettli> |
Mon 20 Mar 2023 03:37:41 PM UTC, comment #1: The wish is not useful for the purpose of envsubst.
with
|
Bruno Haible <haible> |
Mon 20 Mar 2023 01:27:27 PM UTC, 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.
|
Thomas Güttler <guettli> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2023-03-20 | haible | Category | Programmer tools | End-user / runtime | |
Status | None | Not a Bug | |||
Assigned to | None | haible | |||
Open/Closed | Open | Closed |
Powered by Savane 3.13-f8d8.
Corresponding source code
original submission:
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