manpagez: man pages & more
info coreutils
Home | html | info | man

File: coreutils.info,  Node: Related source code,  Prev: Other version/natural sort implementations,  Up: Advanced version sort topics

30.4.3 Related source code
--------------------------

   • Debian’s code which splits a version string into
     ‘epoch/upstream_version/debian_revision’ parts:
     parsehelp.c:parseversion()
     (https://git.dpkg.org/cgit/dpkg/dpkg.git/tree/lib/dpkg/parsehelp.c#n191).

   • Debian’s code which performs the ‘upstream_version’ comparison:
     version.c
     (https://git.dpkg.org/cgit/dpkg/dpkg.git/tree/lib/dpkg/version.c#n140).

   • Gnulib code (used by GNU Coreutils) which performs the version
     comparison: filevercmp.c
     (https://git.savannah.gnu.org/cgit/gnulib.git/tree/lib/filevercmp.c).

© manpagez.com 2000-2025
Individual documents may contain additional copyright information.