Configuration Information [Automatically generated, do not change]:
Machine: aarch64
OS: darwin24.0.0
Compiler: clang
Compilation CFLAGS: -DSSH_SOURCE_BASHRC
-DDEFAULT_LOADABLE_BUILTINS_PATH='/opt/homebrew/Cellar/bash/5.2.37/lib/bash:/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/l
Configuration Information [Automatically generated, do not change]:
Machine: aarch64
OS: darwin24.0.0
Compiler: clang
Compilation CFLAGS: -DSSH_SOURCE_BASHRC
-DDEFAULT_LOADABLE_BUILTINS_PATH='/opt/homebrew/Cellar/bash/5.2.37/lib/bash:/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/l
On 11/2/24 1:41 PM, monochro...@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.
--
``The lyf so short, the
~ $ bash mb.test.3stderr
+ echo foo
exec 3<&2
BASH_XTRACEFD=3
set -x
{
echo foo >&2
} 2>&-
On Sat, Nov 2, 2024, 19:25 wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: aarch64
> OS: darwin24.0.0
> Compiler: clang
> Compilation CFLAGS: -DSSH_SOURCE_BASHRC
>
On 11/2/24 8:43 AM, hmms...@kpnplanet.nl wrote:
Bash Version: 5.2
Patch Level: 9
Release Status: release
Description:
If the interpreter after #! is wrong, a non-informative message prints
Repeat-By:
"unix2dos bashscript" starting with #!/bin/bash
./bashscript
bash
exec 3<&2
BASH_XTRACEFD=3
set -x
{
echo foo >&2
} 2>&-
replace &- with file to out log the echo
On Sat, Nov 2, 2024, 20:37 wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: aarch64
> OS: darwin24.0.0
> Compiler: clang
> Compilation CFLAGS: -DSSH_SOURCE_BASH
i think ..
BASH_XTRACEFD=3
.. alone may also do ..
u try ..
On Sat, Nov 2, 2024, 20:55 #!microsuxx wrote:
> exec 3<&2
> BASH_XTRACEFD=3
> set -x
> {
> echo foo >&2
> } 2>&-
>
> replace &- with file to out log the echo
>
> On Sat, Nov 2, 2024, 20:37 wrote:
>
>> Configuration Information [Autom
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=