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
[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
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 &
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>
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..
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
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&
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