strverscmp (3) Linux Manual Page
strverscmp – compare two version strings Synopsis #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <string.h> int strverscmp(const char *s1, const char *s2); Description Often one has files jan1, jan2, …, jan9, jan10, … and it feels wrong when ls(1) orders them jan1, jan10, …, jan2, …, jan9. In order to rectify this, GNU introduced the…
