bash version
This commit is contained in:
parent
da01fda0bf
commit
da04c5f947
19
1337
Executable file
19
1337
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#/bin/bash
|
||||||
|
|
||||||
|
function 1337() {
|
||||||
|
echo $@ | tr '[:upper:]' '[:lower:]' | \
|
||||||
|
sed 's/l/1/g' | \
|
||||||
|
sed 's/e/3/g' | \
|
||||||
|
sed 's/t/7/g' | \
|
||||||
|
sed 's/a/4/g' | \
|
||||||
|
sed 's/o/0/g' | \
|
||||||
|
sed 's/s/5/g' | \
|
||||||
|
sed 's/and\ /\&\ /g'
|
||||||
|
}
|
||||||
|
|
||||||
|
opt="$@"
|
||||||
|
[ -n "$opt" ] && 1337 "$opt" && exit
|
||||||
|
|
||||||
|
while read stdin; do
|
||||||
|
1337 "$stdin"
|
||||||
|
done
|
Loading…
Reference in New Issue
Block a user