Join with aliencode
[ntk/apt.git] / doc / apt-sortpkgs.1.sgml
1 <!-- -*- mode: sgml; mode: fold -*- -->
2 <!doctype refentry PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [
3
4 <!ENTITY % aptent SYSTEM "apt.ent">
5 %aptent;
6
7 ]>
8
9 <refentry>
10 &apt-docinfo;
11
12 <refmeta>
13 <refentrytitle>apt-sortpkgs</>
14 <manvolnum>1</>
15 </refmeta>
16
17 <!-- Man page title -->
18 <refnamediv>
19 <refname>apt-sortpkgs</>
20 <refpurpose>Utility to sort package index files</>
21 </refnamediv>
22
23 <!-- Arguments -->
24 <refsynopsisdiv>
25 <cmdsynopsis>
26 <command>apt-config</>
27 <arg><option>-hvs</></arg>
28 <arg><option>-o=<replaceable/config string/</></arg>
29 <arg><option>-c=<replaceable/file/</></arg>
30 <arg choice="plain" rep="repeat"><replaceable>file</replaceable></arg>
31 </cmdsynopsis>
32 </refsynopsisdiv>
33
34 <RefSect1><Title>Description</>
35 <para>
36 <command/apt-sortpkgs/ will take an index file (Source index or Package
37 index) and sort the records so that they are ordered by the package name.
38 It will also sort the internal fields of each record according to the
39 internal sorting rules.
40
41 <para>
42 All output is sent to stdout, the input must be a seekable file.
43 </RefSect1>
44
45 <RefSect1><Title>Options</>
46 &apt-cmdblurb;
47
48 <VariableList>
49 <VarListEntry><term><option/-s/</><term><option/--source/</>
50 <ListItem><Para>
51 Use Source index field ordering.
52 Configuration Item: <literal/APT::SortPkgs::Source/.
53 </VarListEntry>
54
55 &apt-commonoptions;
56
57 </VariableList>
58 </RefSect1>
59
60 <RefSect1><Title>See Also</>
61 <para>
62 &apt-conf;
63 </RefSect1>
64
65 <RefSect1><Title>Diagnostics</>
66 <para>
67 <command/apt-sortpkgs/ returns zero on normal operation, decimal 100 on error.
68 </RefSect1>
69
70 &manbugs;
71 &manauthor;
72
73 </refentry>