ref: f67bb05ee10be20fba693f649a700861edb9da09
dir: /init/
#!/bin/rc -e rfork ne dir=$1 if(~ $#dir 0) dir=. if(test -e $dir/.pro){ echo $0: $dir/.pro already exists >[1=2] exit 'exists' } name=`{basename `{cleanname -d `{pwd} $dir}} mkdir -p $dir/.pro/task touch $dir/.pro/ns >$dir/.pro/config { echo '[project '$name']' echo ' srvname='$name echo ' stubs=' }