Created
June 19, 2013 07:22
-
-
Save fstamour/5812272 to your computer and use it in GitHub Desktop.
Really hacky shell snippet, could be used to get specific data from subshell to parent shell.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| BLAH=$(( (echo out >&1; echo err >&2; echo other >&3;) 1>/dev/null ) 3>&1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment