#!/bin/sh
# Finde heraus, welche Größe -doc Paket haben
grep -A 9 "Package:.*-doc" /var/lib/dpkg/available | \
     grep "^[PI][an].*" | \
     sed "/Package:/{;N;s/Package: \(.*\)\nInstalled-Size\(: .*\)/\1\2/;}" | \
     grep -v "[0-9][0-9][0-9][0-9]" | \
     grep -v "[4-9][0-9][0-9]" | \
cat > inst-size-doc
