6 lines
95 B
Plaintext
Raw Normal View History

(sleep 1; kill -HUP $$) &
trap 'echo "Got HUP:$?"; exit' HUP
while true; do
read ignored
done