Package: dlocate
Version: 0.91
Severity: normal

Hi,
I found a strange behaviour in -lsbin:

$ ls 
sncf.zip
$ dlocate -lsbin python-doc
sncf.zip

as there is no binary file in python-doc, dlocate -lsbin is just transformed
in "ls -1"
why not use something like : 

for f in `dlocate -L $PKG`; do
    # file is executable, regular, and not a symlink
    if [ -x $f -a -f $f -a ! -h $f ]; then
        ls -1 $f
    fi
done

instead of xargs ?

arno.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22custom
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dlocate depends on:
ii  dctrl-tools [grep-dctrl]      2.12       Command-line tools to process Debi
ii  dpkg                          1.14.11    package maintenance system for Deb
ii  findutils                     4.2.31-1   utilities for finding files--find,
ii  perl                          5.8.8-12   Larry Wall's Practical Extraction 

dlocate recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to