Hi,
I forgot to say thanks to all of you who responded. I think the manual page
needs improvement. This is just confusing.
Martin
Eric Blake wrote:
> On 12/27/2016 10:21 AM, Martin MOKREJŠ wrote:
>> Hi,
>> I wanted to enable error code reporting for piped processes. This
>
Hi,
I wanted to enable error code reporting for piped processes. This should be doable by "set
-o pipeline on". The problem is it kills my $* array and defines $1="on".
$ bash -x /tmp/a.sh arg1 arg2 arg3
+ for f in $*
+ echo arg1
arg1
+ for f in $*
+ echo arg2
arg2
+ for f in $*
+ echo arg3