Re: length of a package extended description
On 10/01/15 08:59, Vincent Lefevre wrote:
> On 2015-01-10 07:05:48 +1100, Riley Baird wrote:
>>> Otherwise shouldn't utilities (such as "dpkg -s") provide a
>>> configurable way to limit the output of the "Description:" field?
>>
>> You can pipe the output to "head" or "tail" to sort of achieve what you
>> want to.
>
> Obviously not. It may be possible with something like sed or perl,
> but this may not be future-proof, and breakage due to changes in
> the dpkg output may remain unnoticed. And doing that automatically
> would need to write a dpkg wrapper, which could break dpkg in other
> contexts.
True. I honestly think that this is such an insignificant problem that
updating the sed or perl script every so often wouldn't be that much of
a problem.
If it interests you, you could always right a patch for dpkg; it doesn't
seem that it would be that hard to do so, and I don't see any reason why
the patch would be refused.
Reply to: