Package: findutils
Version: 4.4.2-1
Severity: wishlist
File: /usr/bin/find

Hi,

I frequently find myself using a "find | sort" construct. With large
number of directories and files this has some drawbacks though:

- needs to complete the find before sort outputs anything
- needs to buffer the complete find output
- needs to compare the full path O(n * log n) times

I wish that find had a built-in sort that would sort each individual
directory and then recurse into subdirs in order. That way one would
have an efficient incremental sorted output and no need for tempfiles
for sort.

MfG
        Goswin

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (666, 'unstable'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-debian-xen-1 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages findutils depends on:
ii  libc6                         2.11.2-5   Embedded GNU C Library: Shared lib

findutils recommends no packages.

Versions of packages findutils suggests:
ii  locate                        4.4.2-1    maintain and query an index of a d
ii  mlocate                       0.22.2-1   quickly find files on the filesyst

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to