6 ms·
Wow, it's all written in bash. This has to be the biggest bash program (?) I've ever seen.
by azdle 11y ago
Wow, it's all written in bash. This has to be the biggest bash program (?) I've ever seen.
- anonova 11y agoI think rvm [1] still holds that record for me. [1]: https://github.com/rvm/rvm https://github.com/rvm/rvm
- rylee 11y agoWait... rvm is pure bash? Oh dear god. That's honestly terrifying. I've never bothered looking at it.
- deleted 11y ago[deleted]
- bdcravens 11y agoThere was a crowd-sourcing campaign to re-write 2.0 in Ruby: https://www.bountysource.com/teams/rvm/fundraiser https://www.bountysource.com/teams/rvm/fundraiser However, I haven't heard anything of it in a while.
- accatyyc 11y agoThat sound pretty crazy. The reason to use RVM is to be able to run Ruby programs with different Ruby versions... How would you run it in the first time if you have the wrong versions? I guess bash is a good choice since it can be run pretty much everywhere.
- datashaman 11y agoHmmm, a Ruby version manager which is written with Ruby. Smells like rabbit hole. :)
- Hello71 11y ago$ 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
- darkstar999 11y agolocal Infinity=9999999
- rcthompson 11y agoDidn't Sourcemage GNU/Linux write their entire package manager in bash?