stop 110 B

12345
  1. #!/bin/rc
  2. U=`{cat /dev/user}
  3. ps | sed -n '/^'$U' .* '$1'$/s%[^ ]* *%~>/proc/%
  4. s% *.*%/ctl%
  5. s%~%echo stop%p'