Sign in
plan9port
/
plan9
/
c0ae8e760cd5eb3f8b1dc020df4aa91b3aac64dc
/
.
/
bin
/
kill
blob: 754d8be8a334dae3c0fcd6077d3e635d47096fef [
file
] [
log
] [
blame
]
#!/bin/sh
sig
=
""
case
"$1"
in
-*)
sig
=
" $1"
shift
;;
esac
for
i
do
psu
|
awk
'$NF == "'"$i"'" || $2 == "'"$i"'" {printf("/bin/kill%s %d # %s\n", "'"$sig"'", $2, $0);}'
done