blob: a9cdc35ba3be83adfbb21c0d05f530004564e7b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/opt/local/bin/lua
--
-- See https://theweeklychallenge.org/blog/perl-weekly-challenge-002
--
--
-- Run as: lua ch-1.lua < input-file
--
for line in io . lines () do
io . write (tonumber (line), "\n")
end
|