commit | 9f827afdb9c1f101ccf303dfece4d71096e1917f | [log] [tgz] |
---|---|---|
author | rsc <devnull@localhost> | Sun Mar 06 18:06:38 2005 +0000 |
committer | rsc <devnull@localhost> | Sun Mar 06 18:06:38 2005 +0000 |
tree | 2ca4cc80922f95f53e11d8d547d45c8559393ad6 | |
parent | c3e471f477c7a899de2fa37ff468ecbb123db8a7 [diff] [blame] |
add u and u.rc
diff --git a/bin/u.rc b/bin/u.rc new file mode 100755 index 0000000..e0827a0 --- /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 $*