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