Greg Wooledge <g...@wooledge.org> writes:
> 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?

I do have BASH_ENV set, to ~/.bashrc.  I need that so that my scripts
can use my .bashrc customizations.  Though I do know that I haven't
gotten the Bash startup scripts set correctly for the effects I want;
fixing that would cut most but by no means all of the "Bash
initializations" listed above.

Dale

Reply via email to