.TH ZAP 1V VMB
'\"	last edit:	85/03/08	D A Gwyn
'\"	SCCS ID:	@(#)zap.1	1.1
.SH NAME
zap \- kill all processes matching pattern
.SH SYNOPSIS
.B zap
[ \-signal ] pattern
.SH DESCRIPTION
.I Zap\^
sends the specified
.I signal\^
to all processes
that are shown in a
.IR ps\^ (1)
listing to match the given
.IR pattern\^ .
If no
.I signal\^
is specified,
.SM SIGTERM
is sent.
.SH EXAMPLE
.RS
$ \|\fIzap \|\-2 \|make\fP
.RE
.SH "SEE ALSO"
kill(1), ps(1).
.SH AUTHORS
Rob Pike, AT&T Bell Laboratories
.br
Douglas A. Gwyn, BRL/VLD-VMB
