Skip to content

Feature Request: escape $$ #13

@nicknovitski

Description

@nicknovitski

Thank you so much for this project, the -no-unset option was exactly what I was looking for, I've immediately replaced our usage of gettext with it.

Now that I'm a user, would it be possible for envsubst to replace all strings $$foo with $foo?

In my case, I have kubernetes templates for nginx configuration, which I template with some values, but which also contain nginx variables like $remote_user and $bytes_sent strings. My current choices are either to not use -no-unset, or (what I actually do) implement my own escaping with sed.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions