ref: 093b984a9683f10c82c69c3fd6e1feb750e0ff8d
dir: /repou/
#!/bin/rc
# giturl\tname\tdir\tdesc
awk '
BEGIN{
FS="\t"
}$1 !~ /^(#|$)/{
print $2
basedir = $3
sub("/[^/]+$", "", basedir)
# yikes
if(system("test -d " $3) != 0){
system("mkdir -p " basedir)
system("git/clone " $1 " " $3)
}else{
system("rc -c \''cd " $3 "; git/pull\''")
}
}
' $home/p/lib/^(plan9 unix)