RE: set -a leads to truncated output from ps

2024-06-15 Thread Alain BROSSARD via Bug reports for the GNU Bourne Again SHell
Hi Robert, I did think about the case to parse the output, but this means that you already know that the problem is triggered by calling an external program. Regards, Alain [cid:ISP-REYL_HubSWS_Col_email_v2_88f4ea19-df87-4cc1-aef3-c28f2127924c.png]<http://www.reyl.com> Alain BR

RE: set -a leads to truncated output from ps

2024-06-14 Thread Alain BROSSARD via Bug reports for the GNU Bourne Again SHell
[cid:ISP-REYL_HubSWS_Col_email_v2_88f4ea19-df87-4cc1-aef3-c28f2127924c.png]<http://www.reyl.com> Alain BROSSARD System & Network Administrator Technology D +41 22 816 8607 M +41 79 612 2336 T +41 22 816 8600 F +41 22 816 8009 abross...@reyl.com<mailto:abross...@reyl.com> REYL

RE: set -a leads to truncated output from ps

2024-06-14 Thread Alain BROSSARD
the documentation once I had pinned down that "set -a" is the command which caused those script to fail. Though the real culprit, in the end, might be checkwinsize default behavior if one wanted to blame a single member of this trio. Regards, Alain Brossard Alain BROSSARD System &

RE: it, soRE: set -a leads to truncated output from ps

2024-06-13 Thread Alain BROSSARD via Bug reports for the GNU Bourne Again SHell
way to prevent the ‘|’ from modifying COLUMNS is to put the command within $( ) from my empirical testing which is worth what it is worth. Not straight forward… Regards, Alain Brossard [cid:ISP-REYL_HubSWS_Col_email_v2_88f4ea19-df87-4cc1-aef3-c28f2127924c.png]<http://www.reyl.com>

RE: set -a leads to truncated output from ps

2024-06-13 Thread Alain BROSSARD via Bug reports for the GNU Bourne Again SHell
truncated, definitely NOT expected Regards, Alain [cid:ISP-REYL_HubSWS_Col_email_v2_88f4ea19-df87-4cc1-aef3-c28f2127924c.png]<http://www.reyl.com> Alain BROSSARD System & Network Administrator Technology D +41 22 816 8607 M +41 79 612 2336 T +41 22 816 8600 F +41 22 816 8009 abross..

it, soRE: set -a leads to truncated output from ps

2024-06-13 Thread Alain BROSSARD via Bug reports for the GNU Bourne Again SHell
ted a change before. I must have made a mistake on that one. What do you think ? Regards, Alain [cid:ISP-REYL_HubSWS_Col_email_v2_88f4ea19-df87-4cc1-aef3-c28f2127924c.png]<http://www.reyl.com> Alain BROSSARD System & Network Administrator Technology D +41 22 816 8607 M +41 79 612 2

RE: set -a leads to truncated output from ps

2024-06-13 Thread Alain BROSSARD via Bug reports for the GNU Bourne Again SHell
ttp://www.reyl.com> Alain BROSSARD System & Network Administrator Technology D +41 22 816 8607 M +41 79 612 2336 T +41 22 816 8600 F +41 22 816 8009 abross...@reyl.com<mailto:abross...@reyl.com> REYL & Cie SA Rue du Rhône 4 1204 Genève www.reyl.com&

set -a leads to truncated output from ps

2024-06-13 Thread Alain BROSSARD via Bug reports for the GNU Bourne Again SHell
around, we reset -a to its prior state and continue host:/$ [ $opta_is_set == 1 ] && set -a host:/$ unset -v opta_is_set Repeat-By: set -a ps as | grep 'find a long line' # next ps output gets truncated and all subsequent executions until we exit the shell ps as | grep 'fin