RPMSORT(8)
π NAME π
rpmsort β bestie, it sorts your input by RPM Package Manager (RPM) versioning π
β¨ SYNOPSIS β¨
rpmsort FILES
π DESCRIPTION π
rpmsort(8) takes your input files, sorts them, and writes that sorted list straight to standard out β literally just like sort(1), except this one actually gets RPM versioning. iykyk. π¦
And here's the cute part: if you hand it - as an argument, or if you give it no arguments at all, the versions get read from standard in and written out to standard out. No cap. π«Ά
πΈ EXAMPLES πΈ
okay watch this:
$ 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
likeβ¦ it ate that. the -1 came before the -3 and honestly? correct. π₯
π AUTHORS π
- Peter Jones
<pjones@redhat.com> - Robbie Harwood
<rharwood@redhat.com>
okay that's the whole page bestie!! this was RPMSORT(8), dated 27 October 2022 β iconic behavior from the whole squad, mwah πβ¨π
π¦ where this page comes from
- debian trixie: rpm 4.20.1+dfsg-3 Β· GPL-2.0-or-later
- nixpkgs unstable: rpm 4.20.1
- opensuse-leap 16.0: rpm 4.20.1-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: rpm 4.20.1-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: rpm 4.20.1-160000.4.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: rpm 4.20.1-160000.4.1 Β· GPL-2.0-or-later
- ubuntu questing: rpm 4.20.1+dfsg-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms