arnold@nimbus.UUCP (Arnold Robbins) (03/13/85)
Here is a quick shell function that will come in handy for those of you
who use the BRL Bourne shell with BSD job control.
suspend () {
case "$-" in
*J*) set +J; kill -18 $$; set -J
;;
*) kill -18 $$
;;
esac
}
Thanks to Doug Gwyn who suggested turning off job control with set +J.
--
Arnold Robbins
CSNET: arnold@gatech ARPA: arnold%gatech.csnet@csnet-relay.arpa
UUCP: { akgua, allegra, hplabs, ihnp4, seismo, ut-sally, }!gatech!arnold
Help advance the state of Computer Science: Nuke a PR1ME today!