[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] dpkg-query: --listfiles without package lists all files



Hi!

On Sun, 2022-08-21 at 20:44:32 +0200, Jochen Sprickerhof wrote:
> diff --git a/man/dpkg-query.pod b/man/dpkg-query.pod
> index ade71db25..53ab4e3b7 100644
> --- a/man/dpkg-query.pod
> +++ b/man/dpkg-query.pod
> @@ -137,7 +137,7 @@ When multiple I<package-name> entries are listed, the requested status
>  entries are separated by an empty line, with the same order as specified
>  on the argument list.
>  
> -=item B<-L>, B<--listfiles> I<package-name>...
> +=item B<-L>, B<--listfiles> [I<package-name>...]
>  
>  List files installed to your system from I<package-name>. When multiple
>  I<package-name>s are listed, the requested lists of files are separated

Hmm, this does not seem to fit entirely the --listfiles action, and
diverges from its interface, but in any case I think the following
would be an existing and equivalent replacement:

  $ dpkg-query -f '${db-fsys:Files}\n' -W

Thanks,
Guillem


Reply to: