On Tue, Jul 30, 2024 at 14:06:21 -0400, Dale R. Worley wrote:
> In your case, you probably want
>
> > $ seq 3 | head -n $(
Justus writes:
> I found a bug in my beloved bash and hope that you can fix it!
> $ seq 3 | head -n $(calc -dp "1+1")
This actually isn't a bug; a command substitution inherits the fd's
except for 1 (stdout) (which is captured by bash to create the command
substitution).
Command su
Hello bash team!
I found a bug in my beloved bash and hope that you can fix it!
Everything else is described in the attached bashbug.txt
Cheers, Justus
From: justus (justuskohl at gmail.com)
To: bug-bash@gnu.org
Subject: Backticked, nested command will steal piped stdin
Configuration Information