diff options
Diffstat (limited to 'challenge-001/abigail/lua/ch-1.lua')
| -rw-r--r-- | challenge-001/abigail/lua/ch-1.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/challenge-001/abigail/lua/ch-1.lua b/challenge-001/abigail/lua/ch-1.lua new file mode 100644 index 0000000000..2876669f0d --- /dev/null +++ b/challenge-001/abigail/lua/ch-1.lua @@ -0,0 +1,12 @@ +-- +-- See ../README.md +-- + +-- +-- Run as: lua ch-1.lua < input-file +-- + +for line in io . lines () do + line, count = string . gsub (line, "e", "E"); + io . write (line, "\n", count, "\n") +end |
