shithub: riscv

ref: c0a7fbea1f61b1d77a09d612b85c74fd6c673b7c
dir: /rc/bin/lstk/

View raw version
#!/bin/rc

if(~ $#* 1)
	p=$1
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 $p