User:Jimregan

From Mediawiki1
Revision as of 14:47, 22 April 2011 by Jimregan (talk | contribs) (stick the recipe here so I don't have to rely on shell history)
Jump to navigationJump to search
wget http://downloads.dbpedia.org/3.6/ca/infobox_properties_ca.nq.bz2
bzgrep 'http://dbpedia.org/property/wikiPageUsesTemplate' infobox_properties_ca.nq.bz2 |awk '{print $3}'|sort -n| uniq -c|sort -nr > ca-templates
cat ca-templates |awk '$1>49{print " " $0}'|sed -e 's/<http:\/\/dbpedia.org\/resource\/Template:/[[Mapping_ca:/'|sed -e 's/>/]]/' > ca-mappings

User:Jimregan/pl.wikipedia User:Jimregan/ca.wikipedia