On Dez 17 2022, ks1322 ks1322 wrote:

> When for loop output is piped to less and Ctrl+C is pressed, bash creates
> unexpected stopped job

That's because the process group receives SIGTTIN because less tries to
read from the terminal while it doesn't own it.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to