Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version sorting that works on OS X (presumably) #512

Closed
wants to merge 3 commits into from

Conversation

peterhoeg
Copy link

Further to #492, this version doesn't use flags for sort that the OSX version doesn't support.

There is one corner case: jruby-9000 isn't show together with the other jruby versions, but otherwise version sorting works.

Based on: http://stackoverflow.com/a/4495368

@mislav
Copy link
Member

mislav commented Feb 21, 2014

Not liking that jruby is not grouped with jrubies, that MRIs are last, and that dev/rc/prerelease versions are sorted higher than stable releases. I think we'll need to write our own sort.

@koffeinfrei
Copy link

how about sort -V?

@koffeinfrei
Copy link

right, because the mac version apparently doesn't support it... sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants