Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alex-harvey-z3q/66a5ad6d9f9065db827d6db9965b7ea8 to your computer and use it in GitHub Desktop.
Save alex-harvey-z3q/66a5ad6d9f9065db827d6db9965b7ea8 to your computer and use it in GitHub Desktop.
Delete me
$ cat x
. include.sh
foo=bar
echo foo is $foo from in x
validate_vars foo
. y
$ cat y
echo foo is $foo from in y
validate_vars foo
$ bash x
foo is bar from in x
foo is bar from in y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment