Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#44121 - [pacman] Output of pacsort is unreadable
Attached to Project:
Pacman
Opened by lesebas (lesebas) - Monday, 09 March 2015, 21:06 GMT
Last edited by Allan McRae (Allan) - Thursday, 05 May 2016, 03:59 GMT
Opened by lesebas (lesebas) - Monday, 09 March 2015, 21:06 GMT
Last edited by Allan McRae (Allan) - Thursday, 05 May 2016, 03:59 GMT
|
DetailsWhen I try to use pacsort to sort different package the output is only unreadable char.
Steps to reproduce: pacsort -f pkgver1 pkgver2 see output on my system with following command : pacsort --files /var/cache/pacman/pkg/a52dec-0.7.4-7-x86_64.pkg.tar.xz /var/cache/pacman/pkg/a52dec-0.7.4-8-x86_64.pkg.tar.xz > output_pacsort |
This task depends upon
Closed by Allan McRae (Allan)
Thursday, 05 May 2016, 03:59 GMT
Reason for closing: Implemented
Additional comments about closing: Improved help output in git commit 6c96ad36
Thursday, 05 May 2016, 03:59 GMT
Reason for closing: Implemented
Additional comments about closing: Improved help output in git commit 6c96ad36
output_pacsort
printf '%s\n' /var/cache/pacman/pkg/a52dec-0.7.4-7-x86_64.pkg.tar.xz /var/cache/pacman/pkg/a52dec-0.7.4-8-x86_64.pkg.tar.xz | pacsort --files
$ pacsort -h
pacsort (pacman) v4.2.1
A sort utility implementing alpm_pkg_vercmp.
Usage: pacsort [options] [files...]
-f, --files assume inputs are file paths of packages
-h, --help display this help message
-k, --key <index> sort input starting on specified column
-r, --reverse sort in reverse order (default: oldest to newest)
-t, --separator <sep> specify field separator (default: space)
-z, --null lines end with null bytes, not newlines
What I understand is that I have to add the file list with space after options.