Re: [PATCH] utils/ps.c: Don't limit output width to 80 on non-tty

2021-05-18 Thread Samuel Thibault
Sergey Bugaev, le mar. 18 mai 2021 15:21:50 +0300, a ecrit: > If no output width limit has been set explicitly, and we're not printing > to a tty, do not limit output width. > > In particular, this fixes grepping ps output. applied, thanks! > --- > utils/ps.c | 5 + > 1 file changed, 5 inse

[PATCH] utils/ps.c: Don't limit output width to 80 on non-tty

2021-05-18 Thread Sergey Bugaev
If no output width limit has been set explicitly, and we're not printing to a tty, do not limit output width. In particular, this fixes grepping ps output. --- utils/ps.c | 5 + 1 file changed, 5 insertions(+) diff --git a/utils/ps.c b/utils/ps.c index 2cf6e4bd..8e39c2c5 100644 --- a/utils/p