Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (22 sloc) 0.479 kB
awk '
{
if (split($0,x,"#")) {
f = split(x[1],y)
if (f >= 2) {
if (split(y[2],z,"/") >= 2) {
a = "@" z[1] "/" z[2]
print "+" length(a) "," length(y[1]) ":" a "->" y[1]
for (i = 1;i <= f;i += 1) {
if (i != 2) {
a = y[i] "/" z[2]
print "+" length(a) "," length(z[1]) ":" a "->" z[1]
}
}
}
}
}
}
END {
print ""
}
' | $HOME/cdbmake "$@"
Jump to Line
Something went wrong with that request. Please try again.