Home | Community | Message Board

Magic-Mushrooms-Shop.com
This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Myyco.com Shop: Golden Teacher Liquid Culture For Sale

Jump to first unread post Pages: 1
teh leet homework
    #6225518 -

:lol: @ my nerdy comp teacher... but this assignment is at least entertaining



Quote:
Assignment 6 - teh leet filter

Due date: Thursday, 11/2, 2:30pm

Write a shell script, ~/bin/leet, that filters normal English and produces the equivalent [Leet]. The script should be able to act on lines of standard input.

Sample:

$ fortune

Beauty is truth, truth beauty, that is all
Ye know on earth, and all ye need to know.
                -- John Keats

$ fortune | leet

834u7y 15 7ru7h 7ru7h 834u7y 7h47 15 4||
y3 kn0w 0n 34r7h 4nd 4|| y3 n33d 70 kn0w
                -- j0hn k34t5

Use the "standard" character substitutions (apply to both upper and lower case):

A → 4
B → 8
C → (
D → d
E → 3
F → pH
G → 9
H → h
I → 1
J → ;
K → k
L → |
M → m
N → n
O → 0
P → p
Q → q
R → r
S → 5
T → 7
U → u
V → v
W → w
X → x
Y → y
Z → 2

Also apply the following word substitutions:

are → r
at → @
beginner → noob
best → leetest
better → leeter
boxer → boxor
dude → dood
good → leet
hacker → haxor
joy → woot
kill → frag
own → pwn
rock → roxor
rule → roolz
software → warez
the → teh
you → u

... And these miscellaneous substitutions:

ee → ea
. →    (periods, commas and apostrophes just disappear)
, →
' →

Apply word and miscellaneous substitutions first, and then letter substitutions.




Extras: Filter Print Post Top
Re: teh leet homework [Re: Boom]
    #6225581 -

el oh el


--------------------
"War Doesn't Decide Who's Right... It Decides Who's Left."

Extras: Filter Print Post Top
Re: teh leet homework [Re: Boom]
    #6225605 -

what class is that for?


--------------------



Extras: Filter Print Post Top
Re: teh leet homework [Re: HELLA_TIGHT]
    #6225616 -

class page

Program Develpment in Unix

Extras: Filter Print Post Top
Jump to top Pages: 1

Myyco.com Shop: Golden Teacher Liquid Culture For Sale


Similar ThreadsPosterViewsRepliesLast post
* come downs are teh suxorz
( 1 2 all )
Tasty_Smurf_House 1,247 25 10/13/04 01:26 AM
by wds
* Please help me with my Calculus homework!
( 1 2 all )
dr0mni 1,278 25 01/27/06 12:28 AM
by DocPsilocybin
* Chemistry Homework Help, Pleeaaase? Cakes 906 9 07/09/07 06:23 PM
by Cepheus
* convince me to fucking do my homework...
( 1 2 all )
AgroCrag 4,265 22 09/14/08 05:43 PM
by AgroCrag
* Statistics homework help PLEASE! PyroBurns 755 6 02/17/09 10:57 PM
by tpihkal
* .
( 1 2 3 all )
z_x_x_z 4,278 44 11/10/05 09:19 AM
by Organic
* Homework
( 1 2 all )
Coffee 1,459 25 09/20/09 06:40 PM
by Neuron
* Do you have trouble starting your homework? Cubieman420 1,529 12 12/15/05 11:41 AM
by WhiskeyClone

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: Entire Staff
551 topic views. 1 members, 2,659 guests and 158 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2026 Mind Media. Some rights reserved.

Generated in 0.027 seconds spending 0.01 seconds on 16 queries.