Wow, it's all written in bash. This has to be the biggest bash program (?) I've ever seen.
Oh dear god. That's honestly terrifying. I've never bothered looking at it.
https://www.bountysource.com/teams/rvm/fundraiser
However, I haven't heard anything of it in a while.
I guess bash is a good choice since it can be run pretty much everywhere.
$ cd rvm; find -type f -exec grep -l '#!.*bash' {} + | xargs wc -l | sort -n
[ ... ]
448 ./scripts/functions/selector_interpreters
492 ./scripts/functions/gemset
501 ./scripts/functions/requirements/osx_brew
504 ./scripts/functions/selector
589 ./scripts/functions/support
681 ./scripts/gemsets
684 ./scripts/mount
886 ./binscripts/rvm-installer
1100 ./scripts/cli
1619 ./scripts/functions/installer
$ wc -l /usr/portage/eclass/*.eclass | sort -n
[ ... ]
1299 /usr/portage/eclass/python-utils-r1.eclass
1337 /usr/portage/eclass/kernel-2.eclass
1528 /usr/portage/eclass/mysql.eclass
1794 /usr/portage/eclass/eutils.eclass
2265 /usr/portage/eclass/toolchain.eclass
2771 /usr/portage/eclass/java-utils-2.eclass
3181 /usr/portage/eclass/python.eclass