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
|
Details
When 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
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.