rpmsort
Sort input by RPM Package Manager (RPM) versioning
- Provided by: rpm (Version: 6.0.1-1build1)
- Report a bug
Sort input by RPM Package Manager (RPM) versioning
rpmsort [ FILE ... ]
rpmsort(1) sorts the content of the input files, and writes a sorted list to standard out - like sort(1), but aware of RPM versioning.
FILE
rpmsort has no options.
On success, 0 is returned, a nonzero failure code otherwise.
echo -e 'rpm-4.18.0-3.fc38.x86_64\nrpm-4.18.0-1.fc38.x86_64' | rpmsort
rpm-4.18.0-1.fc38.x86_64 rpm-4.18.0-3.fc38.x86_64