#!/bin/sh # This file is maintained using GNU Arch on # http://mdcc.cx/arch/{archives}/2008-ad1810-stuff # Copyright: © 2009 Joost van Baal # # This file is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free # Software Foundation, either version 3 of the License, or (at your option) # any later version. # # This file is distributed in the hope that it will be useful, but WITHOUT ANY # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS # FOR A PARTICULAR PURPOSE. See the GNU GPL for more details. # # You should have received a copy of the GNU GPL along with this file, see # e.g. the file named COPYING. If not, see . # update-whohashtml - generate an HTML file containing whohas data in tabular form # Usage: update-whohashtml < listofpackages.txt > whohas.html # Another example: # $ update-whohashtml -d \ # archlinux,debian,fink,freebsd,gentoo,macports,netbsd,openbsd,ubuntu,fedora < \ # listofpackages.txt > whohas.html while read p do packages="$packages $p" done for p in $packages do whohas "$@" $p sleep 2 done | sort -k2,2 -k1 | whohas2html \ "Whohas HTML Table" \ "

Whohas HTML Table

Overview of packages $packages in popular Free Software distributions.

" # http://www.gnu.org/software/coreutils/manual/coreutils.html#Operating-on-sorted-files