Skip to content

Commit 2ccfb15

Browse files
authored
Merge pull request #608 from shanemacbride/oodle_in_lua
Oodle in Lua - fixes #607
2 parents ebcf49c + dca81ac commit 2ccfb15

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

oodle/oodle.lua

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
local oodle = ""
3+
4+
for c in arg[1]:gmatch"." do
5+
if (c == "a") or (c == "e") or (c == "i") or (c == "o") or (c == "u") then
6+
oodle = oodle .. "oodle"
7+
else
8+
oodle = oodle .. c
9+
end
10+
end
11+
12+
print(oodle)
13+

0 commit comments

Comments
 (0)