From 9f827afdb9c1f101ccf303dfece4d71096e1917f Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 6 Mar 2005 18:06:38 +0000 Subject: add u and u.rc --- bin/u.rc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 bin/u.rc (limited to 'bin') diff --git a/bin/u.rc b/bin/u.rc new file mode 100755 index 00000000..e0827a05 --- /dev/null +++ b/bin/u.rc @@ -0,0 +1,11 @@ +#!/usr/local/plan9/bin/rc + +if(~ $#PLAN9 1) opath=$path i=() { + path=() + for(i in $opath){ + if(! ~ $i $PLAN9/bin) + path=($path $i) + } + path=($path $PLAN9/bin) +} +! ~ $#* 0 && exec $* -- cgit v1.2.3