I've seen that rvm (ruby version manager) is installed using the following command:
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )
So as I understand we get the script content and pass it to the bash (I believe
< < and
<< is the same thing?)
I am interested in the
< < part, found following description on the net:
<<token Means use the current input stream as STDIN for the program until token is seen.
This is somehow not clear for me, can someone make an example or explain it in more simple way?