Plan 9 from User Space's /usr/local/plan9/bin/u.rc

#!/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 $*

Space Glenda

Copyright © 2005 Lucent Technologies, Russ Cox, MIT.
See license for details.