[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash -xv issue with stderr
From: |
#!microsuxx |
Subject: |
Re: bash -xv issue with stderr |
Date: |
Sun, 3 Nov 2024 13:47:24 +0100 |
u can just try the BASH_XTRACEFD=3 line w/o else ... and where u need set
-xv output u capture the fd 3
or u can set -xv to 2 but apps to stderr use 3
On Sun, Nov 3, 2024, 13:45 Christoph Zimmermann <monochromec@gmail.com>
wrote:
> Thanks for all the quick reactions on that issue (including microsuxx's
> suggestion which
> unfortunately does require a CB change).
>
> If this is intended behaviour, it should be clearly documented on the
> corresponding man
> page (which doesn't seem to be case ATM).
>
> On 02.11.24 19:57, Chet Ramey wrote:
> > On 11/2/24 1:41 PM, monochromec@linuxinlaws.eu wrote:
> >
> >> Bash Version: 5.2
> >> Patch Level: 37
> >> Release Status: release
> >>
> >> Description:
> >> Redirecting stderr to file causes output of bash -xv to be
> writte to file as well
> >
> > That's where the shell writes -v and -x output.
> >
>
> --
> This email account is monitored seven days a week.
>
>
- bash -xv issue with stderr, monochromec, 2024/11/02
- Re: bash -xv issue with stderr, #!microsuxx, 2024/11/02
- Re: bash -xv issue with stderr, Chet Ramey, 2024/11/02
- Re: bash -xv issue with stderr, Christoph Zimmermann, 2024/11/03
- Re: bash -xv issue with stderr,
#!microsuxx <=
- Re: bash -xv issue with stderr, Greg Wooledge, 2024/11/03
- Re: bash -xv issue with stderr, Chet Ramey, 2024/11/03
- Re: bash -xv issue with stderr, Christoph Zimmermann, 2024/11/04
- Re: bash -xv issue with stderr, #!microsuxx, 2024/11/04
- Re: bash -xv issue with stderr, Zachary Santer, 2024/11/04
- Re: bash -xv issue with stderr, Chet Ramey, 2024/11/04
- Re: bash -xv issue with stderr, Christoph Zimmermann, 2024/11/04
- Re: bash -xv issue with stderr, Chet Ramey, 2024/11/04
- Re: bash -xv issue with stderr, Christoph Zimmermann, 2024/11/05