git: 9front

ref: 2632c5b50371afca8924c17c4dedbe937be4b7cd
dir: /rc/bin/kill/

View raw version
#!/bin/rc
for(i){
	ps | sed -n '/ '^$i^'$/s%^[^ ]* *([^ ]*).*%chmod 666 /proc/\1/ctl;echo kill > /proc/\1/ctl%p'
}