On Sat, Nov 16, 2024 at 01:10:27PM -0600, David Wright wrote:
> On Sat 16 Nov 2024 at 19:15:10 (+0100), to...@tuxteam.de wrote:
> > On Sat, Nov 16, 2024 at 11:52:37AM -0600, David Wright wrote:
> > 
> > [...]
> > 
> > > Be aware that apt-file searches for filenames in packages,
> > > rather than package names and their descriptions.
> > > 
> > > (And that's filenames, not pathnames.)
> > 
> > Hm. I don't know what you mean by this, but I propose, as an
> > experiment, that you compare the output of
> > 
> >   apt-file search ls
> > 
> > and
> > 
> >   apt-file search /bin/ls
> > 
> > ... my take is that it searches for matches whithin the full path.
> 
> Sorry, I meant to write directories.

Oh, now that you say that, I realize that your statement can be read
in (at least) two ways and I used the wrong one, sorry :)

Still: trying for "apt-file search /usr/bin" shows that it tries to
match the search to the path too -- it isn't "anchored" at its last
element (i.e. the "file name"). I learnt something new, thank you :)

Cheers
-- 
t

Attachment: signature.asc
Description: PGP signature

Reply via email to