#!/bin/sh
dpkg-scanpackages . $1 |gzip -9> Packages.gz
dpkg-scansources . $1 |gzip -9 > Sources.gz


syntax highlighted by Code2HTML, v. 0.9.1