|
NAME | SYNOPSIS | DESCRIPTION | ARGUMENTS | OPTIONS | EXIT STATUS | EXAMPLES | SEE ALSO | COLOPHON |
|
|
|
RPMSORT(1) General Commands Manual RPMSORT(1)
rpmsort - 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
A text-file containing lines to sort. If FILE is omitted or -
given, data is read from standard in and written to standard
out.
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
rpm-version(7)
This page is part of the rpm (RPM Package Manager) project.
Information about the project can be found at
⟨https://github.com/rpm-software-management/rpm⟩. It is not known
how to report bugs for this man page; if you know, please send a
mail to [email protected]. This page was obtained from the
project's upstream Git repository
⟨https://github.com/rpm-software-management/rpm.git⟩ on
2026-01-16. (At that time, the date of the most recent commit
that was found in the repository was 2026-01-15.) If you discover
any rendering problems in this HTML version of the page, or you
believe there is a better or more up-to-date source for the page,
or you have corrections or improvements to the information in this
COLOPHON (which is not part of the original manual page), send a
mail to [email protected]
RPM 6.0.90 2026-01-16 RPMSORT(1)
Pages that refer to this page: rpmsort(1), rpm-version(7)