by doing it in Perl instead of in Bash. Forking a zillion times is slow. svn path=/nixos/trunk/; revision=23766