Debian Codegraph @

upstream/debian-unstable/man1/rpmsort.1

raw
1 .\" Generated by scdoc 1.11.4
2 .\" Complete documentation for this program is not available as a GNU info page
3 .ie \n(.g .ds Aq \(aq
4 .el .ds Aq '
5 .nh
6 .ad l
7 .\" Begin generated content:
8 .TH "RPMSORT" "1" "2026-04-10" "RPM 6.0.1"
9 .PP
10 .SH NAME
11 rpmsort - Sort input by RPM Package Manager (RPM) versioning
12 .PP
13 .SH SYNOPSIS
14 \fBrpmsort\fR [ \fIFILE\fR .\&.\&.\& ]
15 .PP
16 .SH DESCRIPTION
17 \fBrpmsort\fR(1) sorts the content of the input files, and writes a sorted list
18 to standard out - like \fBsort\fR(1), but aware of RPM versioning.\&
19 .PP
20 .SH ARGUMENTS
21 \fIFILE\fR
22 .RS 4
23 A text-file containing lines to sort.\& If \fIFILE\fR is omitted or \fB-\fR
24 given, data is read from standard in and written to standard out.\&
25 .PP
26 .RE
27 .SH OPTIONS
28 \fBrpmsort\fR has no options.\&
29 .PP
30 .SH EXIT STATUS
31 On success, 0 is returned, a nonzero failure code otherwise.\&
32 .PP
33 .SH EXAMPLES
34 \fBecho -e '\&rpm-4.\&18.\&0-3.\&fc38.\&x86_64\enrpm-4.\&18.\&0-1.\&fc38.\&x86_64'\& | rpmsort\fR
35 .RS 4
36 .nf
37 .RS 4
38 rpm-4\&.18\&.0-1\&.fc38\&.x86_64
39 rpm-4\&.18\&.0-3\&.fc38\&.x86_64
40 .fi
41 .RE
42 .PP
43 .RE
44 .SH SEE ALSO
45 \fBrpm-version\fR(7)