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

Re: [patch] Add no-trunc option (patch against 1.9.21)



Wichert Akkerman said:
> Previously Joe Moore wrote:
>> Is there any documentation for dpkg-query that gives a list of the
>> --showformat variables?
>
> Hm, there doesn't seem to be. At the moment all package fields are legal
> options.

How about an example in the manpage?  Maybe one demonstrating how to get the
equivalent info from --list without truncation?

Also, I'm not getting any output (at all) from dpkg-query --show.

jmoore@cvglx10:~$ dpkg-query --list ae
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  ae             962-30         Anthony's Editor -- a tiny full-screen
edito
jmoore@cvglx10:~$ dpkg-query --show ae

jmoore@cvglx10:~$ dpkg-query --show --showformat="-=>${Package}<=-\n" ae
-=><=-


--Joe




Reply to: