TIL that #bash has variable references that you can use to get data from a function without a subshell. In other news, my semantic version sorter runs a full order of magnitude faster, but all of my tests fail from the refactoring.

1