[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug in bash
From: |
Andreas Schwab |
Subject: |
Re: bug in bash |
Date: |
Sun, 12 May 2024 16:06:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Mai 12 2024, Greg Wooledge wrote:
> Ah... I assumed bk was an existing file.
>
> hobbit:~$ cat <(wc -l) <.bashrc
> wc: 'standard input': Input/output error
> 0
> hobbit:~$
Even then there can be a race when the foreground command finishes fast
enough that bash switches the terminal process group back before the
background process starts reading from the terminal (won't happen in
this example since the cat command blocks on reading the process
substitution file).
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
- bug in bash, Quốc Trị Đỗ, 2024/05/12
- Re: bug in bash, Andreas Kähäri, 2024/05/12
- Re: bug in bash, Kerin Millar, 2024/05/12
- Re: bug in bash, Greg Wooledge, 2024/05/12
- Re: bug in bash, Andreas Schwab, 2024/05/12
- Re: bug in bash, Greg Wooledge, 2024/05/12
- Re: bug in bash,
Andreas Schwab <=
- Re: bug in bash, Oğuz, 2024/05/12
- Re: bug in bash, Chet Ramey, 2024/05/13
- Re: bug in bash, Oğuz, 2024/05/13
- Re: bug in bash, Chet Ramey, 2024/05/14
- Re: bug in bash, Andreas Schwab, 2024/05/14
- Re: bug in bash, Chet Ramey, 2024/05/14
- Re: bug in bash, Chet Ramey, 2024/05/14