Your message dated Sat, 27 Jun 2020 12:44:14 +0200
with message-id <[email protected]>
has caused the report #942020,
regarding tree: sorting options not working when used with --fromfile
to be marked as having been forwarded to the upstream software
author(s) [email protected]
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
942020: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942020
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Hello Steve,
this came in to the Debian BTS, cf.
<https://bugs.debian.org/942020> as well as the full list at
<https://bugs.debian.org/cgi-bin/pkgreport.cgi?src=tree>.
JFYI and for your consideration.
Cheers,
Flo
--- Begin Message ---
Package: tree
Version: 1.8.0-1+b1
Severity: normal
Dear Maintainer,
Sorting options (-U, --dirsfirst, ...) are not working when used with
--fromfile.
Even when the file is already sorted, tree unsorts it.
Let's say we have /tmp/sorted.tree :
.
./b.dir/
./a.file
This tree contains a file (a.file) and a directory (b.dir), and is
already "dirsfirst sorted".
???? * What was the outcome of this action?
Using this file with --fromfile, even with the --dirsfirst option,
unsorts it :
$ tree --dirsfirst --fromfile /tmp/sorted.tree
/tmp/sorted.tree
????????? .
?????? ????????? a.file
?????? ????????? b.dir
???? * What outcome did you expect instead?
The result should be :
????????? .
?????? ????????? b.dir
?????? ????????? a.file
-- System Information:
Debian Release: 9.2
?? APT prefers unstable
?? APT policy: (500, 'unstable'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-0.bpo.5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages tree depends on:
ii?? libc6?? 2.24-11+deb9u1
tree recommends no packages.
tree suggests no packages.
-- no debconf information
--- End Message ---
--- End Message ---