Re: Whee, Greased HedgeHog on Steroids, take 2

Andreas Koppenhoefer (koppenas@koppenas.dialup.informatik.uni-stuttgart.de)
02 May 1996 10:38:45 +0200


-----BEGIN PGP SIGNED MESSAGE-----

In article <31865F8F.229683A3@cnt.com> "Andrew C. Esh" <andrewes@cnt.com>
writes:
[...]
I decided to devise a one-to-one conversion table for version digits.
This will save me the trouble of guessing which version this "Greased
HedgeHog" nomenclature is referring to.

Informal names will be made up of an adjective, a small animal,
A verb which is being performed by the small animal, and a substance
or object being operated on by the verb. The specific words are
determined my the digit of the version number.

Kernel 1.1.18 was a Greased GroundHog selling Mountain Dew.
Kernel 1.3.95 is a Greased HedgeHog on Steroids.
Kernel 2.0.(0)0 will be a TurboCharged Chicken doing LSD.

If you'd like, I could write a PERL script which will scan the Makefile
of your current kernel source code and tell you the proper non-numeric
name for that kernel.

I think perl is an overkill here and maybe not (yet) available at boot
time. I've hacked a boune shell script to do this. It should even work
at boot time with /usr not yet mounted.

Maybe Linus want to change some of these names...?

- - ---- Cut Here and unpack ----
#!/bin/sh
# shar: Shell Archiver (v1.22)
#
# Run the following text with /bin/sh to create:
# linux-version
#
sed 's/^X//' << 'SHAR_EOF' > linux-version &&
X#! /bin/sh
X# linux version names by Andrew C. Esh <andrewes@cnt.com>
X# shell script by Andreas Koppenhoefer <koppenas@informatik.uni-stuttgart.de>
X
Xusage() {
X echo usage: $0 [ release ]
X exit 1
X}
X
X[ $# -gt 1 ] && usage;
X[ $# -eq 1 ] && {
X # make sure it's a proper linux release string
X case $1 in
X *[0-9].*[0-9].*[0-9][0-9] | *[0-9].*[0-9].[0-9] ) : ;;
X *) echo $1: not a linux release; usage ;;
X esac
X}
X
XRELEASE=${1:-`uname -r`}
X
Xcase $RELEASE in
X*1.*.*) VERSION='Greased' ;;
X*2.*.*) VERSION='Turbocharged' ;;
X*3.*.*) VERSION='Supercharged' ;;
X*4.*.*) VERSION='Stealthy' ;;
X*5.*.*) VERSION='Electrified' ;;
X*6.*.*) VERSION='Tired' ;;
X*7.*.*) VERSION='Crazy' ;;
X*8.*.*) VERSION='Dyslexic' ;;
X*9.*.*) VERSION='Unbeatable' ;;
X*0.*.*) VERSION='Unbelievable' ;; # handles releases >= 10 - maybe in 2010?
Xesac
X
Xcase $RELEASE in
X*.*0.*) PATCHLEVEL='Chicken' ;;
X*.*1.*) PATCHLEVEL='GroundHog' ;;
X*.*2.*) PATCHLEVEL='Ostrich' ;;
X*.*3.*) PATCHLEVEL='HedgeHog' ;;
X*.*4.*) PATCHLEVEL='Penguin' ;;
X*.*5.*) PATCHLEVEL='Kitten' ;;
X*.*6.*) PATCHLEVEL='Owl' ;;
X*.*7.*) PATCHLEVEL='Shrew' ;;
X*.*8.*) PATCHLEVEL='Rabbit' ;;
X*.*9.*) PATCHLEVEL='Hawk' ;;
Xesac
X
Xcase $RELEASE in
X*0?|*.?) SUBLEVEL1='doing' ;; # handles numbers without leading 0 !
X*1?) SUBLEVEL1='selling' ;;
X*2?) SUBLEVEL1='feeling the effects of' ;;
X*3?) SUBLEVEL1='spewing ' ;;
X*4?) SUBLEVEL1='needing' ;;
X*5?) SUBLEVEL1='buying' ;;
X*6?) SUBLEVEL1='handing out' ;;
X*7?) SUBLEVEL1='whining for' ;;
X*8?) SUBLEVEL1='looking for' ;;
X*9?) SUBLEVEL1='on' ;;
Xesac
X
Xcase $RELEASE in
X*0) SUBLEVEL2='LSD' ;;
X*1) SUBLEVEL2='Quaaludes' ;;
X*2) SUBLEVEL2='Prozac' ;;
X*3) SUBLEVEL2='Pot' ;;
X*4) SUBLEVEL2='Whiskey' ;;
X*5) SUBLEVEL2='Steroids' ;;
X*6) SUBLEVEL2='Warm Milk' ;;
X*7) SUBLEVEL2='Hot Java' ;;
X*8) SUBLEVEL2='Mountain Dew' ;;
X*9) SUBLEVEL2='Jolt Cola' ;;
Xesac
X
Xecho $VERSION $PATCHLEVEL $SUBLEVEL1 $SUBLEVEL2
SHAR_EOF
chmod 0755 linux-version || echo "restore of linux-version fails"
set `wc -c linux-version`;Sum=$1
if test "$Sum" != "1861"
then echo original size 1861, current size $Sum;fi
exit 0

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i
Comment: Processed by Mailcrypt 3.3, an Emacs/PGP interface

iQBVAwUBMYh0N0VdjNvyndGpAQFnDwH9GLG+41PJ7UWFxAhQxtQAk3D/nVKDX46N
XRxp2OaUUXetnrks2g0rw4e+Cz0g9dg2OIqmFIBhj0vzZ/2eHgzz5g==
=gw2a
-----END PGP SIGNATURE-----

-- 
Andreas Koppenhoefer, Student der Universitaet Stuttgart, BR Deutschland 
<koppenas@informatik.uni-stuttgart.de>, <akoppenhoefer@schweinfurt.netsurf.de>
Franz-Schubert-Str. 2, 97616 Bad Neustadt, Germany, +49 9771 7943 (9-21h MEZ)