Voting

Category

real language

Bookmarking

Del.icio.us Digg Diigo DZone Earthlink Google Kick.ie
Windows Live LookLater Ma.gnolia Reddit Rojo StumbleUpon Technorati

Language Ex

Date:04/20/05
Author:Anonymous
URL:n/a
Comments:0
Info:n/a
Score: (3.00 in 18 votes)
a
XX bottles of beer on the wall.

XX bottles of beer on the wall,
XX bottles of beer,
Take one down, pass it around,
/^\$/d e|@e
9 8 7 6 5 4 3 2 1 0
$ ya b|$put b|$s/. //
@c|@c|@c|@c|@c|@c|@c|@c|@c
.
$d d|$d c|@d
$-9,$s/^\(.\).*/X\1/
/^X9/,ya y
$-9,s=^X\(.\)$=s/X/\1/=
$-9,s=^=$put y|$-9,$=
/^\//d c|@d|@c
/^90/ma f|/^89/,/^80/mo 'f
6,$s=^..$=$put y|%s/^XX/&/=
1,5d y
g/^\$/d e|@e
1,2d
%s/^0//
$s/.*/Go to the store, buy some more./
%s/^1 bottles/1 bottle/
%p

Download Source | Write Comment

Alternative Versions

Comments

Download Source | Write Comment

Add Comment

Please provide a value for the fields Name, Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.

Please don't post large portions of code here! Use the form to submit new examples or updates instead!

Name:

eMail:

URL:

Security Code:
  
Comment: