Skip to main content

envreplace: un-expand environment variables for more compact output

Project description


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.


export PREFIX="/super-long-prefix-path"
echo "$PREFIX/baz" | env-replace

reverses environment variable expansion so that the output is:


Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for envreplace, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size envreplace-1.0.0-py3-none-any.whl (4.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size envreplace-1.0.0.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page