changelog shortlog tags branches changeset files revisions annotate raw help

Mercurial > hg > plan9front / rc/bin/kill

changeset 7243: 34f64dcbbc25
parent: 92924c991e8c
author: cinap_lenrek@felloff.net
date: Fri, 17 May 2019 18:14:10 +0200
permissions: -rwxr-xr-x
description: 7l: don't hardcode 4k pagesize, use INITRND
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 }