bug-bash
[Top][All Lists]
Advanced

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

Re: set -a leads to truncated output from ps


From: Oğuz
Subject: Re: set -a leads to truncated output from ps
Date: Thu, 13 Jun 2024 17:24:41 +0300

On Thursday, June 13, 2024, Alain BROSSARD via Bug reports for the GNU
Bourne Again SHell <bug-bash@gnu.org> wrote:
>
>        # however, the second one has truncated output to the terminal width
>

Looks like `set -a' exports COLUMNS for some reason, this must be a bug

$ set -a
$ env | grep COLUMNS
$ env | grep COLUMNS
COLUMNS=64

You should call ps with the option -w if you want wide output though. On
some implementations you can disable truncation completely by specifying it
twice like `ps axww'.


-- 
Oğuz


reply via email to

[Prev in Thread] Current Thread [Next in Thread]