#!/bin/rc fn sigalrm { echo alarm received; exit } fn sighup { echo sighup received; exit } fn sigint { echo sigint received; exit } cat<<-eof-
-eof- cat cat<<-eof- see this script