~fultonbrowne/rc-scripts

d902702d8f6f774e4d8815cc162ae6662498293a — glenda a month ago 24eef3b
added lstk - thanks ori
1 files changed, 10 insertions(+), 0 deletions(-)

A util/lstk
A util/lstk => util/lstk +10 -0
@@ 0,0 1,10 @@
#!/bin/rc
# Thanks ori for the script
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