On Thursday, October 13, 2016 at 11:52:06 AM UTC-7, Kerin Millar wrote:
> Given the use of bash, you could render SHELLOPTS exportable:-
>
> $ ( export SHELLOPTS; bash -x t.sh )
>
> Alternatively, you could source t2.sh so that its commands are executed in the same shell.
>
> --
> kfm
Thanks, exporting SHELLOPTS does the job.
James