Envsubst: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:


==Mac==
==Mac==
brew install gettext
then modify .bashrc:
  export PATH=/usr/local/opt/gettext/bin:${PATH}


==RedHat/Centos==
==RedHat/Centos==

Revision as of 17:19, 5 May 2018

Internal

Overview

envsubst performs environment variable expansion in shell-format strings in arbitrary files. No other shell command line expansions will be. performed.

Installation

Mac

brew install gettext

then modify .bashrc:

 export PATH=/usr/local/opt/gettext/bin:${PATH}

RedHat/Centos