ref: 0396ca797c409832c854933f3673eb64aa1998e3
parent: 8f70fbf6f843054cdec3a9c4fe044aceabc6ff8c
author: qwx <qwx@sciops.net>
date: Thu Mar 3 02:09:59 EST 2022
rename workspace → K
--- /dev/null
+++ b/bin/K
@@ -1,0 +1,12 @@
+#!/bin/rc
+if(! test -d $home/lib/work){
+ echo no work files
+ exit 'no work nor worry'
+}
+. /tmp/sizes
+for(i in $home/lib/work/*){
+ window -hide -r $briorect $i
+ sleep 2
+ last=`{cd /dev/wsys; ls | sort -n | tail -1}
+ echo -n `{basename $i} >/dev/wsys/$last/label
+}
--- a/bin/workspace
+++ /dev/null
@@ -1,12 +1,0 @@
-#!/bin/rc
-if(! test -d $home/lib/work){
- echo no work files
- exit 'no work nor worry'
-}
-. /tmp/sizes
-for(i in $home/lib/work/*){
- window -hide -r $briorect $i
- sleep 2
- last=`{cd /dev/wsys; ls | sort -n | tail -1}
- echo -n `{basename $i} >/dev/wsys/$last/label
-}