Skip to content

Instantly share code, notes, and snippets.

@nirname nirname/stdin.sh
Created Aug 8, 2016

Embed
What would you like to do?
Read stdin in shell
myvar=`cat`
echo "$myvar"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.