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

Re: length of a package extended description



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.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: