Created
September 14, 2024 17:25
-
-
Save hylophile/422bc19436daf5be5ec64d9943446924 to your computer and use it in GitHub Desktop.
envsubst in one line of bash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env | |
| while IFS= read -r line; do eval echo "$line"; done < infile > outfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment