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 hashes)
Built Distribution
Close
Hashes for envreplace-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 640e33c13d2200624f6209d0315c821a68e49dd985c1e5171b1468a84b698aaa |
|
MD5 | 44076591758b6620a23700ceca7baecd |
|
BLAKE2b-256 | 8d42bb16dd60ff388733306df68140048db57cc0823b9534e6d8170a687e4925 |