shithub: rc

ref: c4629424499a36f7bf5c94ba3772bc4b631ce60e
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