Re: http://www.debian.org/intl/l10n/ popularity sorting?
On Wed, Feb 01, 2006 at 01:34:08PM +0100, Claus Hindsgaul wrote:
> BTW, is there an easy way to collect all/most existing po files for one
> language? I would like to try filling all Danish po files into a giant
> kbabel compendium for reference.
You can try something like that:
wget http://people.debian.org/~barbier/l10n/material/data/unstable.gz
gunzip unstable.gz
grep-dctrl -s PoolDir,PO,PODEBCONF -F PO,PODEBCONF da.po unstable \
| awk -v r=http://people.debian.org/~barbier/l10n/material/po/unstable \
'/^PoolDir:/ {d=$2}
/da\.po!/ {split($0, a, "!"); printf "%s/%s/%s.gz\n", r, d, a[4]}' \
| xargs -n 1 wget
If you want to download them more than once, we could find a better solution.
Denis
Reply to: