Created
February 20, 2017 13:33
-
-
Save tst2005/d309a0a5b7570ca0455fb1e71bcd276d to your computer and use it in GitHub Desktop.
20170220
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local data = ??? | |
for line in data:read("*l") do -- OR data:match("([^\n])\n") do | |
for word in line:match("(%S+)") do | |
i=i+1 | |
end | |
i=i+10 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment