Subject: Re: Flash for *BSD Petition
To: Hubert Feyrer <hubert@feyrer.de>
From: Mike M. Volokhov <mishka@apk.od.ua>
List: netbsd-advocacy
Date: 08/18/2004 13:43:58
This is a multi-part message in MIME format.

--Multipart=_Wed__18_Aug_2004_13_43_58_+0300_p=AZkVz_GVp2hUHh
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Tue, 17 Aug 2004 17:44:36 +0200 (CEST)
Hubert Feyrer <hubert@feyrer.de> wrote:

> 
> Sign it to get Flash for NetBSD:
> http://arameus.net/petition/index.php

Heh, I've analyzed over 600 records and got the following distribuition
across referenced OSes (look at script in attachment):

	Total_Records:   646
	FreeBSD:         364
	OpenBSD:         228
	NetBSD:          129
	DragonflyBSD:    36
	Other/Unknown:   22

Well, NetBSD may left out of the boat... =(

--
Mishka.


--Multipart=_Wed__18_Aug_2004_13_43_58_+0300_p=AZkVz_GVp2hUHh
Content-Type: application/x-sh;
 name="watchmacro.sh"
Content-Disposition: attachment;
 filename="watchmacro.sh"
Content-Transfer-Encoding: quoted-printable

#!/bin/sh

BSDS=3D"Free Net Open Dragonfly"
URL=3D"http://arameus.net/petition/"
TMPF=3D"/tmp/macro.html.$$"

ftp -o $TMPF $URL

{
	echo -n "Total_Records:"
	grep "Bsd Distro" $TMPF | wc -l

	for DISTRO in $BSDS ; do
		echo -n "${DISTRO}BSD:"
		grep "Bsd Distro" $TMPF | grep -i "$DISTRO" | wc -l
		# construct flags for grep(1) (see below)
		GEFLAGS=3D"$GEFLAGS -e $DISTRO"
	done

	echo -n "Other/Unknown:"
	grep "Bsd Distro" $TMPF | grep -vi $GEFLAGS | wc -l
} | awk '{print $1, "\t", $2}' | sort -nr +1

rm -f $TMPF

--Multipart=_Wed__18_Aug_2004_13_43_58_+0300_p=AZkVz_GVp2hUHh--