PACSORT(8)
π PACSORT(8) β the pacman-contrib manual, but make it cute
okay so bestie, you're looking at pacsort, section 8 of the pacman-contrib manual, and honestly? she's iconic. let me tell you everything π
β¨ NAME β¨
pacsort β a sort utility that implements alpm_pkg_vercmp. yes, that's the whole vibe: sorting, but the Arch way π
πΈ SYNOPSIS πΈ
pacsort [options] [files ...]
π¦ DESCRIPTION π¦
okay so here's the tea: pacsort concatenates the files you give it, sorts them, and writes the whole thing out to standard output. and the default order? oldest to newest, periodt. β
when you don't give her any files at all, she just reads from standard input, ngl that's so considerate of her π«Ά
and by default, the lines are treated as lists of plain version strings. plain. simple. lowkey elegant. β¨
π OPTIONS π
-f,--filesβ use this when your input lists are in the*-*.pkg.tar*format, and she'll sort the lines bypkgnameandpkgver. chef's kiss π₯-h,--helpβ displays the syntax and all the command-line options. literally the "help me help you" flag π-k,--key <index>β sorts the input starting on the specified column. pick your main character column π-z,--nullβ lines end with null bytes instead of newlines. yes bestie, null bytes, we love a delimiter moment π-r,--reverseβ sorts in reverse order. backwards but make it fashion π¦-t,--separator <sep>β sets the field separator. the default separator is space. hmu with your own if space isn't your thing β¨-V,--versionβ displays the version. gotta know which queen you're running π
π SEE ALSO π
pacman(8), vercmp(8) β go read those too, iykyk π§
π BUGS π
bugs? bestie. you must be kidding. there are no bugs in this software. like, none. zero. not a single one. π
but okay, if we happen to be wrong (and likeβ¦ hypotheticallyβ¦ we could be π), file an issue with as much detail as possible right here:
https://gitlab.archlinux.org/pacman/pacman-contrib/-/issues/new
the more detail the better β we're nosy and we want the full story π
π AUTHORS π
current maintainers, the actual icons:
- Johannes LΓΆthberg
<johannes@kyriasis.com> - Daniel M. Capella
<polyzen@archlinux.org>
and for all the additional contributors out there (you know who you are π«Ά), just run git shortlog -s on the pacman-contrib.git repository and you'll see everyone who helped make this happen π
and that's the whole page, bestie!! this was Pacman-contrib version 1.13.1, dated 2025-12-11 β slay, go sort something, mwah π
β¨
π¦ where this page comes from
- arch rolling: pacman-contrib 1.13.1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms