To generate this page:

$ awk -F \| '{ gsub(/-[^-]+*$/,"", $1); gsub(/\/usr\/ports\//,"",  $2); nb[$1]+=1; origin[$1]=origin[$1]" "$2; maintainer[$1]=maintainer[$1]" "$6} END{ for (a in nb) { if (nb[a] > 1 ) {n=split(maintainer[a], nm, " "); split(origin[a], no, " "); print "||<|"nb[a]"> "a" ||<|"nb[a]"> "nb[a]" || "nm[1]" || "no[1]" ||"; for (i=2; i <= n; i++) { print "|| "nm[i]" || "no[i]" ||"} }}}' INDEX-10

or count:

$ awk -F \| '{ gsub(/-[^-]+*$/,"", $1); gsub(/\/usr\/ports\//,"",  $2); nb[$1]+=1; origin[$1]=origin[$1]" "$2; maintainer[$1]=maintainer[$1]" "$6} END{ for (a in nb) { if (nb[a] > 1 ) {n=split(maintainer[a], nm, " "); split(origin[a], no, " "); print nb[a]-1; for (i=2; i <= n; i++) }}}' INDEX-10 | xargs | sed -e 's/ /+/g' | bc

Packages with name collisions:

Package name

Number of collisions

Maintainer

Ports

ports/PkgNameCollisions (last edited 2014-01-23 19:03:34 by MathieuArnold)