Created
June 4, 2017 08:31
-
-
Save charmoniumQ/fb489cdfb13836918040144cb63e266b to your computer and use it in GitHub Desktop.
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 python3 | |
import os | |
import sys | |
from string import Template | |
for in_line in sys.stdin.readlines(): | |
out_line = Template(in_line).safe_substitute(os.environ) | |
sys.stdout.write(out_line) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment