| Crates.io | renvsubst |
| lib.rs | renvsubst |
| version | 0.1.2 |
| created_at | 2017-08-11 14:05:17.741322+00 |
| updated_at | 2017-08-12 05:27:21.747521+00 |
| description | Substitution like envsubst, but can escape. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 27200 |
| size | 4,247 |
Text substitution tool like envsubst, but it can escape vars.
$ cargo install renvsubst
Substitutes the values of environment variables.
$ export FOO=foooo
$ echo 'I like $FOO' | renvsubst
I like foooo
It can escape variable name.
$ echo 'I like $FOO, ${FOO}, \$FOO, \${FOO}' | renvsubst
I like foooo, foooo, $FOO, ${FOO}