Your message dated Mon, 9 Mar 2020 01:14:39 +1100
with message-id <[email protected]>
and subject line Re: Bug#953304: -L --filename-only
has caused the Debian Bug report #953304,
regarding -L --filename-only
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(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.)


-- 
953304: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953304
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dlocate
Version: 1.07+nmu1

       -L     List all files in package.

combined with

       --filename-only
              Only output file names when searching for files

should only list filenames.

In fact
              Only output file names when searching for files
                                     ^^^^^^^^^^^^^^^^^^^^^^^^sounds weird.

--- End Message ---
--- Begin Message ---
On Sat, Mar 07, 2020 at 07:16:29PM +0800, 積丹尼 Dan Jacobson wrote:
> Package: dlocate
> Version: 1.07+nmu1
>
>        -L     List all files in package.

does what it says, lists everything in a package.

> combined with
>
>        --filename-only
>               Only output file names when searching for files
>
> should only list filenames.

'--filename-only' is useless with '-L' because -L already displays
only the filenames.


> In fact
>               Only output file names when searching for files
>                                      ^^^^^^^^^^^^^^^^^^^^^^^^sounds weird.

This does not "sound weird", it describes **exactly** what it does.
Your misunderstaning is weird.

'--filename-only' only does something when **SEARCHING** for files (not
Listing all files in a pkg).

e.g.

By default, the package name AND file name are listed when searching:

$ dlocate -S dlocate
dlocate: /etc/bash_completion.d/dlocate-completion
dlocate: /etc/cron.daily/dlocate
dlocate: /etc/default/dlocate
dlocate: /usr/bin/dlocate
dlocate: /usr/sbin/update-dlocatedb
dlocate: /usr/share/dlocate
dlocate: /usr/share/dlocate/updatedb
dlocate: /usr/share/doc/dlocate
dlocate: /usr/share/doc/dlocate/README.Debian
dlocate: /usr/share/doc/dlocate/changelog.gz
dlocate: /usr/share/doc/dlocate/copyright
dlocate: /usr/share/man/man1/dlocate.1.gz
dlocate: /usr/share/man/man8/update-dlocatedb.8.gz
dlocate: /var/lib/dlocate

With --filename-only, ONLY filenames are listed:

$ dlocate --filename-only -S dlocate
/etc/bash_completion.d/dlocate-completion
/etc/cron.daily/dlocate
/etc/default/dlocate
/usr/bin/dlocate
/usr/sbin/update-dlocatedb
/usr/share/dlocate
/usr/share/dlocate/updatedb
/usr/share/doc/dlocate
/usr/share/doc/dlocate/README.Debian
/usr/share/doc/dlocate/changelog.gz
/usr/share/doc/dlocate/copyright
/usr/share/man/man1/dlocate.1.gz
/usr/share/man/man8/update-dlocatedb.8.gz
/var/lib/dlocate


A broad definition of "file name" is used - probably should say "pathname",
but filename works and is good enough.

craig

--- End Message ---

Reply via email to