kill 142 B

12345678
  1. #!/bin/rc
  2. rfork e
  3. U=`{cat /dev/user}
  4. for(i){
  5. ps | sed -n '/^'$U' .* '$i'$/s%[^ ]* *%~>/proc/%
  6. s% *.* (.*)%/note # \1%
  7. s%~%echo kill%p'
  8. }