Skip to content

Instantly share code, notes, and snippets.

@jsarenik
Created April 25, 2014 09:35
Show Gist options
  • Save jsarenik/11283720 to your computer and use it in GitHub Desktop.
Save jsarenik/11283720 to your computer and use it in GitHub Desktop.
#!/bin/sh
perl -pe 's/\$(\w+)/$ENV{$1}/g' file.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment