Skip to main content

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


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)

Uploaded Source

Built Distribution

envreplace-1.0.0-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page