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

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
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
}

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.