On Wed, Jan 25, 2023 at 03:00:27PM -0500, Dale R. Worley wrote:
> 
> Tracing with -x prints a lot of (usually) useless lines.
> 
>     $ bash -x ./tt
>     [300+ lines of Bash initializations]
>     + echo 'Now in tt.'
>     Now in tt.

Why does it do this?  Have you got BASH_ENV set to something in your
environment?

It's not supposed to do that, under normal conditions.

unicorn:~$ bash -x ./foo
+ echo 'I am foo'
I am foo

Reply via email to