~fultonbrowne/rc-scripts

ref: 1548cc3d3364e742e401026593c24123c7b17457 rc-scripts/util/lstk -rwxr-xr-x 202 bytes
1548cc3d — glenda added yet another handy script 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