Le lundi 29 octobre 2018, 23:03:07 CET Stefano Brivio a écrit :
> On Mon, 29 Oct 2018 21:06:35 +0100
>
> "Yoann P." wrote:
> > > By the way, why do you use column(1), when ss already prints output in
> > > columns? Any other issue you are working around?
> >
> > column can hide columns with "-H
On Mon, 29 Oct 2018 21:07:47 +0100
"Yoann P." wrote:
> > - printed = printf("%s", current_field->ldelim);
> > + printed = printf("%s", f->ldelim);
> > else
> > printed = 0;
>
> I can't reproduce the issue with
On Mon, 29 Oct 2018 21:06:35 +0100
"Yoann P." wrote:
> > By the way, why do you use column(1), when ss already prints output in
> > columns? Any other issue you are working around?
>
> column can hide columns with "-H -" and is a bit faster than awk to output a
> single column according to tim
> On Mon, 29 Oct 2018 19:20:36 +0100
>
> Stefano Brivio wrote:
> > The actual issue seems to be that in some cases the left delimiter for
> > the State column is not printed
>
> Much worse, we always print the left delimiter of the last buffered
> column, which is usually empty. My bad.
>
>
> Hi Yohann,
>
> On Fri, 26 Oct 2018 22:53:32 +0200
>
> "Yoann P." wrote:
> > When using ss -Hutn4 or -utn3, Netid and State columns are sometime
> > merged, it can be confusing when trying to pipe into awk or column.
>
> Thanks for fixing this. A few comments though:
> > @@ -144,9 +144,9 @@ st
On Mon, 29 Oct 2018 19:20:36 +0100
Stefano Brivio wrote:
> The actual issue seems to be that in some cases the left delimiter for
> the State column is not printed
Much worse, we always print the left delimiter of the last buffered
column, which is usually empty. My bad.
The issue is not so vis
Hi Yohann,
On Fri, 26 Oct 2018 22:53:32 +0200
"Yoann P." wrote:
> When using ss -Hutn4 or -utn3, Netid and State columns are sometime merged,
> it
> can be confusing when trying to pipe into awk or column.
Thanks for fixing this. A few comments though:
> @@ -144,9 +144,9 @@ static struct col
On Fri, 26 Oct 2018 22:53:32 +0200
"Yoann P." wrote:
> When using ss -Hutn4 or -utn3, Netid and State columns are sometime merged,
> it
> can be confusing when trying to pipe into awk or column.
> Details (before and after output) are available on this github issue: https://
> github.com/shemmi
When using ss -Hutn4 or -utn3, Netid and State columns are sometime merged, it
can be confusing when trying to pipe into awk or column.
Details (before and after output) are available on this github issue: https://
github.com/shemminger/iproute2/issues/20
Signed-off-by: YoyPa
---
misc/ss.c | 6