Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

envsub file

envsubst < config.txt  

# Expected output:
# server: https://gitlab.com/skofgar
# username: foo_user
# password: mymonkey
Source by skofgar.ch #
 
PREVIOUS NEXT
Tagged: #envsub #file
ADD COMMENT
Topic
Name
4+7 =