Plan 9 from Bell Labs’s /n/sources/contrib/rminnich/package/MAKEIT

Copyright © 2009 Alcatel-Lucent.
Distributed under the Lucent Public License version 1.02.
Download the Plan 9 distribution.


#!/bin/rc
#go to /n/sources/contrib/<user>/replica/
#
#for i in */db
#cd root
#mkpaqfs -name $i  `cat $i`
#
#Then we have all paqfs. Those get moved
#to a web server and a list is created
#
#Then pkginstall is simply hget blah > $home/packages
#
#Then mount and bind it.
pdir=`{pwd}
for (contributor in /n/sources/contrib/*/replica) {
	echo $contributor
	cd $contributor
	pwd
	for (package in *) {
		cd $package
		for (db in db) {
			ls -l db
			echo $pdir
			{echo .;awk  '{print $1}' db} | cat >>/tmp/test
		}
		cd ..
		pwd
	}
	sleep 1000
}

(This is a user-contributed directory and
should not be interpreted as statement by Alcatel-Lucent.)

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2009 Alcatel-Lucent. All Rights Reserved.
Comments to webmaster@plan9.bell-labs.com.