tu.rc - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
tu.rc (184B)
---
1 #!/usr/local/plan9/bin/rc
2
3 if(~ $#PLAN9 1) opath=$path i=() {
4 path=()
5 for(i in $opath){
6 if(! ~ $i $PLAN9/bin)
7 path=($path $i)
8 }
9 path=($path $PLAN9/bin)
10 }
11 ! ~ $#* 0 && exec $*