[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #65882] envsubst: ${foo} but keep $foo
From: |
Bruno Haible |
Subject: |
[bug #65882] envsubst: ${foo} but keep $foo |
Date: |
Sat, 15 Jun 2024 06:57:28 -0400 (EDT) |
Update of bug #65882 (group gettext):
Severity: 3 - Normal => 1 - Wish
Status: None => Need Info
Assigned to: None => haible
_______________________________________________________
Follow-up Comment #1:
> Example: "$foo ${bar}"
> In this case $foo should not be changed, only "bar" should get substituted.
What would be the purpose of doing so?
Bourne shell substitutes both syntaxes, therefore envsubst has to handle both
syntaxes.
We attempt to not add complexity "just for fun"; it should have an actual
purpose.
> This would make it better for situations where you have a lot of dollar
signs.
I don't understand this.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65882>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/