bug-bash
[Top][All Lists]
Advanced

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

redirection / process substitution fails to read a file descriptor


From: Mike Peters
Subject: redirection / process substitution fails to read a file descriptor
Date: Sat, 16 Nov 2024 16:35:05 -0600
User-agent: Mozilla Thunderbird


Configuration Information [Automatically generated, do not change]:
Machine: aarch64
OS: darwin23.4.0
Compiler: clang
Compilation CFLAGS: -DSSH_SOURCE_BASHRC 
-DDEFAULT_LOADABLE_BUILTINS_PATH='/opt/homebrew/Cellar/bash/5.2.37/lib/bash:/usr/loc$
uname output: Darwin Mikes-Mac-Mini.local 23.3.0 Darwin Kernel Version 23.3.0: 
Wed Dec 20 21:30:27 PST 2023; root:xnu-10002.$
Machine Type: aarch64-apple-darwin23.4.0

Bash Version: 5.2
Patch Level: 37
Release Status: release

Description:
        Process substitution does not generate properly when pulling from another file 
descriptor, although it works when pulling from a file directly. In the below sample shell 
session, it is expected that `<(<test.txt)` would be functionally equivalent to 
`<(<&3)`.

Repeat-By:
        > echo foobar > test.txt
        > echo `< <(<test.txt)`
        foobar
        > exec 3<test.txt
        > cat <&3
        foobar
        > exec 3<test.txt
        > echo `< <(<&3)`

        >



Mike Peters





reply via email to

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