ref: 0ed8a3bd7b1bbe2a3857f2abcaabdc4edd2d8b05 dir: /rc/bin/kill/
#!/bin/rc rfork e for(i){ ps | sed -n '/^'$user' .* '$i'$/s%[^ ]* *%~>/proc/% s% *.* (.*)%/note} # \1% s%~%@{echo kill%p' }