星期四, 三月 01, 2007

Linux Kernel Fuck Count

http://www.vidarholen.net/contents/wordcount/



The number of various words in c, h and S source files in the linux kernel, updated monthly or whenever I hear of a new release. It's inspired by the linux kernel fuck count, which unfortunatly is very outdated.

A little about the counting method used: A word is counted if it appears in any context, even if part of another word (such as love in rollover, which was why this word wasn't included ;). It's not grep -c, multiple words on one line may be counted. And don't worry about the mirror either, the graph is generated on a box local to ftp.programvareverkstedet.lkams.kernel.org, an official kernel.org mirror.

http://durak.org/sean/pubs/kfc/



Received: from newcs.ucsd.edu (@132.239.51.18)
by server1.interactivate.com with SMTP; 16 Oct 1998 22:41:17 -0000
Received: from oyk (oyk.ucsd.edu [132.239.15.46]) by newcs.ucsd.edu (8.8.6/8.8.3/External-1.4) with SMTP id PAA32705 for ; Fri, 16 Oct 1998 15:41:11 -0700 (PDT)
Message-Id: <199810162241.paa32705@newcs.ucsd.edu>
Date: Fri, 16 Oct 1998 15:47:04 -0700
To: sean@interactivate.com
From: Glenn Little
Subject: Fwd: Ah, those Linux comments ...

Have you seen this? An urban legend, or one in the making? One of those
mails that you've seen a million times by now?

Ricko sent it to me, I don't know where he got it...


> Date: Mon, 12 Oct 1998 16:40:26 +0100 (BST)
> From: Tigran Aivazian
> To: linux-kernel@vger.rutgers.edu
> Subject: Cosmetic Changes: ensuring decency of the Linux Kernel Source.
>
> Hello guys,
>
> I did a grep of the kernel for the "f-word" and to my surprize, found
> plenty...
>
> As English is not my first language I cannot insist with any degree of
> certainty that this is not acceptable but, just in case, I attached the
> list of files that someone more literate than me might want to
> "spell-check".
>
> My deepest and sincere apologies if this offends someone - my intention
> is only improvement of Linux in any way, however minor it may seem :)
>
> regards,
> Tigran
>
> ----------------------------------------------------------------------
> ./fs/binfmt_aout.c: /* Fuck me plenty... */
> ./lib/vsprintf.c: * Wirzenius wrote this portably, Torvalds fucked it
up :-)
> ./drivers/net/sunhme.c:/* Only Sun can take such nice parts and fuck up
the programming interface
> ./drivers/net/sunhme.c: /* This card is _fucking_ hot... */
> ./drivers/net/sunhme.c: /* This card is _fucking_ hot... */
> ./drivers/block/cmd640.c: * These chips are basically fucked by
design, and getting this driver
> ./drivers/scsi/esp.c: * how bad the target and/or ESP fucks things up.
> ./drivers/scsi/esp.c: * phase things. We don't want to fuck
directly with
> ./drivers/scsi/esp.c: /* Be careful, we could really get
fucked during synchronous
> ./drivers/scsi/qlogicpti.h:/* Am I fucking pedantic or what? */
> ./drivers/scsi/NCR53C9x.c: * how bad the target and/or ESP fucks things
up.
> ./drivers/scsi/NCR53C9x.c: * phase things. We don't want to fuck
directly with
> /drivers/scsi/NCR53C9x.c: /* Be careful, we could really
get fucked during synchronous
> ./drivers/cdrom/sbpcd.c: CURRENT=req->next; /* task can
fuck it up GTL */
> ./arch/i386/kernel/mtrr.c:/* Some BIOS's are fucked and don't set all
MTRRs the same! */
> ./arch/sparc/kernel/head.S: /* XXX Fucking Cypress... */
> ./arch/sparc/kernel/process.c: /* fuck me plenty */
> ./arch/sparc/kernel/sunos_ioctl.c: /* Binary compatibility is good
American knowhow fuckin' up. */
> ./arch/sparc/kernel/ptrace.c:/* Fuck me gently with a chainsaw... */
> ./arch/mips/kernel/irixelf.c:#if 0 /* XXX No fucking way dude... */
> ./arch/mips/kernel/irixioctl.c: * irixioctl.c: A fucking mess...
> ./arch/mips/kernel/r2300_switch.S:/* XXX The following is fucking
losing... find a better way dave. */
> ./arch/mips/sgi/kernel/setup.c: * fucking with the memory controller
because it needs to know the
> ./arch/mips/sgi/prom/tags.c:/* XXX This tag thing is a fucking rats
nest, I'm very inclined to completely
> ./arch/mips/sgi/prom/tags.c:#define TAGVAL(v) (void*)&(v) /* XXX
FUCKING LOSING!!! XXX */
> /arch/sparc64/kernel/process.c: /* fuck me plenty */
> ./arch/sparc64/kernel/sys_sparc32.c: panic("Tell
DaveM he fucked up...");
> ./arch/sparc64/kernel/ptrace.c:/* Fuck me gently with a chainsaw... */
> ./arch/sparc64/kernel/binfmt_aout32.c: /* Fuck me plenty... */
> ./arch/sparc64/mm/init.c: /* Fucking losing PROM has more
mappings in the TLB, but
>
> --

没有评论: