2 ms·
There’s even a GNU C Library function: strverscmp(): https://www.gnu.org/software/libc/manual/html_node/String_002fArray-Comparison.html#index-strverscmp https
by teddyh 4y ago
There’s even a GNU C Library function: strverscmp():
https://www.gnu.org/software/libc/manual/html_node/String_002fArray-Comparison.html#index-strverscmp https://www.gnu.org/software/libc/manual/html_node/String_00...
- blibble 4y agogit directly uses that function :) (... well, it's copied and pasted into the tree but close enough)