Mixed YourMother's post and the OP's
In reply to Re^2: open (to read) and kill a pipe to a pipe by ikegami in thread open (to read) and kill a pipe to a pipe by Anonymous Monk