?

Log in

No account? Create an account
From PerlMonks - Queue — LiveJournal
February 26th, 2003
11:13 pm

[Link]

Previous Entry Share Next Entry
From PerlMonks
Okay, I thought this was pretty funny. Probably could have been done slightly better, but, still, the idea is really good.

For those that don't know, the s/// thing is basically saying replace the first bit with the second bit.

#!/usr/bin/perl
while (<>){
s/Imperial Senate/Security Council/;
s/Emperor/White House/;
s/this battle station/the pentagon/;
s/regional governors/the generals/;
s/Old Republic/United Nations/;
s/local systems/regional competitors/;
s/TARKIN/WOLFOWITZ;
s/TAGGE/POWELL;
print;
}

to be used with this text:

TARKIN: The Imperial Senate will no longer be of any concern to us. I've just received word that the Emperor has dissolved the council permanently. The last remnants of the Old Republic have been swept away.
TAGGE: That's impossible! How will the Emperor maintain control without the bureaucracy?
TARKIN: The regional governors now have direct control over territories. Fear will keep the local systems in line. Fear of this battle station.

(4 comments | Leave a comment)

Comments
 
[User Picture]
From:rosefox
Date:February 27th, 2003 03:14 am (UTC)
(Link)
[User Picture]
From:queue
Date:February 27th, 2003 05:23 am (UTC)
(Link)
That's just scary.
[User Picture]
From:hrafn
Date:February 27th, 2003 08:04 am (UTC)

Yeah

(Link)
Eerie, isn't it. Terrorists or freedom fighters? It's all a matter of perspective . . .
[User Picture]
From:hrafn
Date:February 27th, 2003 08:03 am (UTC)
(Link)
*twitchtwitchtwitch* That's just too, too, disturbing.
My Website Powered by LiveJournal.com