Re: Pakiety Required/Impo rtant/Standard do tłumaczenia

Bartosz Fenski aka fEnIo <[email protected]>
Newsgroups gmane.linux.debian.internationalization.polish
Message-ID <20080224154337.GB1936@localdomain>
On Sun, Feb 24, 2008 at 03:08:21AM +0100, Łukasz Paździora wrote:
> Nawiązując do pytania, które padło jakiś czas temu: jak wyciągnąć
> listę pakietów o odpowiednich kategoriach, poniżej podaję gotowe
> rozwiązanie:
> 
> apt-cache dumpavail |grep -A 1 Package: | grep -B 1 standard |grep
> Package | awk '{print $2}' |sort > lista.std
> wget -q  http://ddtp.debian.net/debian/dists/sid/main/i18n/Translation-pl
> cat Translation-pl| grep Package | awk '{print $2}' | sort > przetlumaczone
> rm -f Translation-pl
> diff przetlumaczone lista.std | grep \> | awk '{print $2}'

Wersja szybsza:

grep-available -s Package -FPriority standard \
-o -FPriority required \
-o -FPriority important /var/lib/dpkg/available \
sort > all

wget -q -O /dev/stdout \
http://ddtp.debian.net/debian/dists/sid/main/i18n/Translation-pl \
| grep '^Package' | sort > translated

No i potem diff ;)

pozdr,
fEnIo

-- 
  ,''`.  Bartosz Fenski | mailto:[email protected] | pgp:0x13fefc40 | irc:fEnIo
 : :' :       32-050 Skawina - Glowackiego 3/15 - malopolskie v. - Poland
 `. `'           phone:+48602383548 | proud Debian maintainer and user
   `-            http://fenski.pl | xmpp:[email protected] | rlu:172001
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHwZCphQui3hP+/EARAhU6AJ9fnCkBaDdgmmz38UzpZBwRFHzbaQCgl/8w
KfyvSk8nj0AE5PZmBo16AFo=
=FB7s
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.