RPMSORT(8)

πŸ“¦
version 4.20.1 Β· 2 versions
, in debian trixie, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing

πŸŽ€ 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 πŸ’–βœ¨πŸŽ€