~fultonbrowne/rc-scripts

ref: 68da554c01b584108eb3c7cffe86961ca09e1d2b rc-scripts/util/lstk -rwxr-xr-x 202 bytes
68da554c — glenda so I clearly don't know rc very well 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
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