shithub: rc

ref: 4768009eb3dcc311510ac107b3d6b3cb7d863de1
dir: /bin/k/

View raw version
#!/bin/rc
if(! ~ $#* 1 || ! test -f /bin/work/$1){
	echo usage: $0 workspace >[1=2]
	exit usage
}
. /tmp/sizes.$sysname
x=/bin/work/$1
window -hide -r $briorect $x
sleep 2
last=`{cd /dev/wsys; ls | sort -n | tail -1}
echo -n `{basename $x} >/dev/wsys/$last/label