.\" Generated by scdoc 1.11.4 .\" Complete documentation for this program is not available as a GNU info page .ie \n(.g .ds Aq \(aq .el .ds Aq ' .nh .ad l .\" Begin generated content: .TH "RPMSORT" "1" "2026-01-08" "RPM 6.0.1" .PP .SH NAME rpmsort - Sort input by RPM Package Manager (RPM) versioning .PP .SH SYNOPSIS \fBrpmsort\fR [ \fIFILE\fR .\&.\&.\& ] .PP .SH DESCRIPTION \fBrpmsort\fR(1) sorts the content of the input files, and writes a sorted list to standard out - like \fBsort\fR(1), but aware of RPM versioning.\& .PP .SH ARGUMENTS \fIFILE\fR .RS 4 A text-file containing lines to sort.\& If \fIFILE\fR is omitted or \fB-\fR given, data is read from standard in and written to standard out.\& .PP .RE .SH OPTIONS \fBrpmsort\fR has no options.\& .PP .SH EXIT STATUS On success, 0 is returned, a nonzero failure code otherwise.\& .PP .SH EXAMPLES \fBecho -e '\&rpm-4.\&18.\&0-3.\&fc38.\&x86_64\enrpm-4.\&18.\&0-1.\&fc38.\&x86_64'\& | rpmsort\fR .RS 4 .nf .RS 4 rpm-4\&.18\&.0-1\&.fc38\&.x86_64 rpm-4\&.18\&.0-3\&.fc38\&.x86_64 .fi .RE .PP .RE .SH SEE ALSO \fBrpm-version\fR(7)