add u and u.rc

This commit is contained in:
rsc 2005-03-06 18:06:38 +00:00
parent c3e471f477
commit 9f827afdb9
2 changed files with 56 additions and 3 deletions

11
bin/u.rc Executable file
View file

@ -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 $*