bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More convenient tracing


From: Greg Wooledge
Subject: Re: More convenient tracing
Date: Wed, 25 Jan 2023 15:15:26 -0500

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

[Prev in Thread] Current Thread [Next in Thread]