envreplace: un-expand environment variables for more compact output
Project description
env-replace
Pipe commands that produce lots of output through env-replace
to replace expanded environment variables
(especially prefix paths in build output) with the environment variables themselves.
Usage:
export PREFIX="/super-long-prefix-path"
echo "$PREFIX/baz" | env-replace
reverses environment variable expansion so that the output is:
$PREFIX/baz
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
envreplace-1.0.0.tar.gz
(3.1 kB
view details)
Built Distribution
File details
Details for the file envreplace-1.0.0.tar.gz
.
File metadata
- Download URL: envreplace-1.0.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.19.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93234e00e6bb23f67aec90a4385665d0ee19ad6256752eb9a13aba17fb7c6bb0 |
|
MD5 | f14d2debe3c732041172e895bed26a2f |
|
BLAKE2b-256 | c197b6ebf75445aa167752c6dc575279593516fcdbe92f07ec28f05aae22e89f |
File details
Details for the file envreplace-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: envreplace-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.19.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 640e33c13d2200624f6209d0315c821a68e49dd985c1e5171b1468a84b698aaa |
|
MD5 | 44076591758b6620a23700ceca7baecd |
|
BLAKE2b-256 | 8d42bb16dd60ff388733306df68140048db57cc0823b9534e6d8170a687e4925 |