/////
vim:set ts=4 sw=4 syntax=asciidoc noet spell spelllang=en_us:
/////
pacsort(8)
=========

Name
----
pacsort - sort utility implementing alpm_pkg_vercmp


Synopsis
--------
'pacsort' [options] [files...]


Description
-----------
'pacsort' concatenates the given files, sorts them, and writes them to standard
output.  Default order is oldest to newest.

Standard input is read when no files are given.

By default the lines are treated as lists of plain version strings.


Options
-------
*-f, \--files*::
	If the input lists are in the format '\*-*.pkg.tar*', sort lines by pkgname and pkgver.

*-h, \--help*::
	Display syntax and command line options.

*-k, \--key <index>*::
	Sort the input starting on the specified column.

*-r, \--reverse*::
	Sort in reverse order.

*-t, \--separator <sep>*::
	Field separator.  Default separator is space.

*-v, \--version*:
	Display the version.

*-z, \--null*::
	Lines end with null bytes rather than newlines.


See Also
--------
linkman:pacman[8], linkman:vercmp[8]

include::footer.txt[]
