Skip to content

Instantly share code, notes, and snippets.

@timvisher
Created March 23, 2016 15:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timvisher/a7581f52f057a400d426 to your computer and use it in GitHub Desktop.
Save timvisher/a7581f52f057a400d426 to your computer and use it in GitHub Desktop.
๐Ÿ— bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)
Copyright (C) 2007 Free Software Foundation, Inc.
๐ŸŠ echo $foo
๐Ÿš source <(echo foo=bar)
๐Ÿ‚ echo $foo
๐Ÿ˜ ssh core
vagrant@vagrant-ubuntu-trusty-64:~$ bash --version
GNU bash, version 4.3.11(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
vagrant@vagrant-ubuntu-trusty-64:~$ echo $foo
vagrant@vagrant-ubuntu-trusty-64:~$ source <(echo foo=bar)
vagrant@vagrant-ubuntu-trusty-64:~$ echo $foo
bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment