Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-allan committed Aug 20, 2021
1 parent a40e7e1 commit ec3e5c4
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ Hello matt!

## Differences from envsubst

- Doesn't replace environment variables that aren't wrapped in curly braces. Avoids issues with variables that aren't meant to be replaced in the same file.
- Doesn't replace environment variables when the case does not match.
- No `--variables` option. Use [`env -i`](https://linux.die.net/man/1/env) if you need that functionality.
- No dynamic memory allocations.
- Available as a standalone, cross platform binary that's easy to install without a package manager.
- Written in Zig instead of C.
- Much smaller: ~60KiB instead of the ~19MB you will have to download to get `envsubst`.
- Doesn't replace environment variables that aren't wrapped in curly braces. Avoids issues with variables that aren't meant to be replaced in the same file
- Doesn't replace environment variables when the case does not match
- No `--variables` option. Use [`env -i`](https://linux.die.net/man/1/env) if you need that functionality
- No dynamic memory allocations
- Available as a standalone, cross platform binary that's easy to install without a package manager
- Written in Zig instead of C
- Much smaller: ~100K instead of the ~19MB you will have to download to get `envsubst`
- Native binaries for ARM Macs and Alpine containers (links [musl](https://musl.libc.org/) instead of gcc)

# Why?

Expand Down

0 comments on commit ec3e5c4

Please # to comment.