diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-08-27 21:51:41 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-08-27 21:51:41 +0200 |
commit | 41a4cd88ebc57a05b03b18a13aeedfcc7b546a19 (patch) | |
tree | 64eb0a316ba381c22d0c0dadbd00f9272c71d0fd /rc/bin/kill | |
parent | 011de5158a67e0d754b0b6b0a61f4ba335715461 (diff) | |
download | plan9front-41a4cd88ebc57a05b03b18a13aeedfcc7b546a19.tar.xz |
kill,slay,Kill: run note/ctl write in subshell
Diffstat (limited to 'rc/bin/kill')
-rwxr-xr-x | rc/bin/kill | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rc/bin/kill b/rc/bin/kill index e8ea70ac6..5df69b7dc 100755 --- a/rc/bin/kill +++ b/rc/bin/kill @@ -3,6 +3,6 @@ rfork e U=`{cat /dev/user} for(i){ ps | sed -n '/^'$U' .* '$i'$/s%[^ ]* *%~>/proc/% - s% *.* (.*)%/note # \1% - s%~%echo kill%p' + s% *.* (.*)%/note} # \1% + s%~%@{echo kill%p' } |