tech-userlevel archive

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

Re: sh: killing a pipe head from the tail



On Thu 09 Dec 2021 at 19:33:52 +0700, Robert Elz wrote:
> The most likely route forward would be for shells to implement some new
> builtin command, similar to trap, but with some of the current weirdness,
> including this, fixed.   But to do that, how the new method interacts
> with the old would need to be sorted out.

Or some other "prefix" command, which un-ignores signals and then
exec()s its arguments. (like nohup, but in reverse...)

Obviously, with these rules for shells, it cannot be implemented as a
shell script...

> kre
-Olaf.
-- 
___ "Buying carbon credits is a bit like a serial killer paying someone else to
\X/  have kids to make his activity cost neutral." -The BOFH    falu.nl@rhialto

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index