shithub: rc

ref: 227f873058da9b5c099b6fde577d8980bad7364a
dir: /bin/lstk/

View raw version
#!/bin/rc
rfork n
if(~ $#* 1){
	p=$1
	shift
}
if not if(~ $#* 0)
	p=`{ps | grep Broken | awk '{print $2}' | sort -n | tail -n 1}
if not
	p usage: $0 '[broken]' >[2=1]
echo lstk'()' | acid -lthread $p
echo acid -lthread $p $*(2-)