Comparing versions
Here's a couple of functions for comparing versions.
--version-sort
(shorthand-V
) sorts based on version numbers.--check
(shorthand-C
) makesort
check for sorted input instead of sorting.
Example usage:
Source: man sort
Last updated