• Home
  • Posts
  • About
  • |
LIGHT DARK

No ERB/Ruby? Just use built in envsubst for templates

Feb 3, 2016

template.txt contains:

Hello ${NAME}

Then you could run:

export NAME=Dan
envsubst < template.txt

And the result would be “Hello Dan”

← Previous
GitFlow hmmmm
Next →
Gnome Flashback - Title Bar not changing Theme
 
© 2025 Dan Bodart.