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
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  haible
Open/Closed:  Open

Sun 27 Jun 2021 12:15:55 AM UTC, comment #1: 
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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
    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.13-f8d8.
    Corresponding source code