bugGNU gettext - Bugs: bug #60807, envsubst: support an --in-place...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #60807: envsubst: support an --in-place mode

Submitter:  Andrew Stribblehill <stribb>
Submitted:  Mon 21 Jun 2021 01:09:14 PM UTC
   
 
Category:  End-user / runtime Severity:  1 - Wish
Priority:  5 - Normal Item Group:  None
Status:  Need Info Privacy:  Public
Assigned to:  haible Open/Closed:  Open

Discussion

Sun 27 Jun 2021 12:15:55 AM UTC, comment #1: 

I'm asking for design advice on https://lists.gnu ... 1-06/threads.html .

Bruno Haible <haible>
Group administrator
Mon 21 Jun 2021 01:09:14 PM UTC, original submission:  

Quite a few people in the production arena are using envsubst to
interpolate their files as part of their continuous integration / continuous deployment (CI/CD) pipelines.

At present, the workflow is typically:

  T=$(mktemp)
  envsubst < template_file > $T
  mv $T template_file

or, for those of us lucky enough to have Sponge installed:

  envsubst < template_file | sponge template_file

If envsubst supported in-place editing, this would be simply:

  envsubst -i template_file

Andrew Stribblehill <stribb>

 

Attached Files

This item currently has no attached files.

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by stribb (Submitted the item)
  •  

    Votes

    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.

     

    History

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-27 haible CategoryNone End-user / runtime
        Severity3 - Normal 1 - Wish
        StatusNone Need Info
        Assigned toNone haible

    Back to the top

    Powered by Savane 3.16-598c.
    Corresponding source code