diff options
author | rsc <devnull@localhost> | 2005-03-06 18:06:38 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-03-06 18:06:38 +0000 |
commit | 9f827afdb9c1f101ccf303dfece4d71096e1917f (patch) | |
tree | 2ca4cc80922f95f53e11d8d547d45c8559393ad6 /bin | |
parent | c3e471f477c7a899de2fa37ff468ecbb123db8a7 (diff) | |
download | plan9port-9f827afdb9c1f101ccf303dfece4d71096e1917f.tar.gz plan9port-9f827afdb9c1f101ccf303dfece4d71096e1917f.tar.bz2 plan9port-9f827afdb9c1f101ccf303dfece4d71096e1917f.zip |
add u and u.rc
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/u.rc | 11 |
1 files changed, 11 insertions, 0 deletions
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 $* |