Now that we have an abstraction for columns, it's relatively easy to
selectively display only some of them, and Yoann has a use case for it.
Patch 1/3 fixes a rendering issue that shows up only when display of
arbitrary columns is disabled. Patch 2/3 implements the relevant option,
and patch 3/3 makes the output more readable when some columns are
disabled.
Stefano Brivio (3):
ss: Discard empty descriptor at the end of buffer, if any, before
rendering
ss: Introduce option to display selected columns only
ss: Beautify output when arbitrary columns are hidden
man/man8/ss.8 | 5 +++
misc/ss.c | 85 +++++++++++++++++++++++++++++++++++++++++++--------
2 files changed, 77 insertions(+), 13 deletions(-)
--
2.19.1